审单选择现舱bug

feature-JimuReport-1106-yjl
lijingjia 3 weeks ago
parent ce05771709
commit 78bd0e9525

@ -9,7 +9,7 @@
</BasicForm> </BasicForm>
<div class="table-wrapper" > <div class="table-wrapper" >
<slot name="left" class="left" ></slot> <slot name="left" class="left" ></slot>
<Table class="basic-table" v-show="getEmptyDataIsShowTable" ref="tableElRef" v-bind="getBindValues" :row-class-name="getRowClassName" <Table class="basic-table" :virtual="true" v-show="getEmptyDataIsShowTable" ref="tableElRef" v-bind="getBindValues" :row-class-name="getRowClassName"
@change="handleTableChange" @resize-column="resizeColumn"> @change="handleTableChange" @resize-column="resizeColumn">
<template v-for="item in Object.keys($slots)" #[item]="data" :key="item"> <template v-for="item in Object.keys($slots)" #[item]="data" :key="item">
<slot :name="item" v-bind="data || {}"></slot> <slot :name="item" v-bind="data || {}"></slot>
@ -31,6 +31,7 @@
</Table> </Table>
<slot name="right" class="right" ></slot> <slot name="right" class="right" ></slot>
</div> </div>
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">

@ -5,7 +5,41 @@
--> -->
<template> <template>
<div class="ds-pay-apply"> <div class="ds-pay-apply">
<BasicTable class="ds-table" @register="registerTable" @row-dbClick="edit">
<template #toolbar>
<TableActionBar :selectRow="getSelectRows" :reload="reload" @exportFile="exportFile"></TableActionBar>
</template>
<template v-slot:bodyCell="{ column, record }">
<!-- <template v-if="column.dataIndex == 'applicationNO'">
<span style="cursor: pointer"><span><span @click="copyNo($event, record.applicationNO)" class="iconfont icon-fuzhi11"></span>{{ record.applicationNO }}</span></span>
</template>
<template v-if="column.dataIndex == 'statusText'">
<span v-if="record.status == 0" class="ds-blue-tag">
{{ record.statusText }}</span>
<span v-else-if="record.status == 1" class="ds-green-tag">{{
record.statusText
}}</span>
<span v-else-if="/^2|3|4|5|6$/.test(record.status)" class="ds-orange-tag">{{
record.statusText
}}</span>
<span v-else-if="/^7|8$/.test(record.status)" class="ds-red-tag">{{
record.statusText
}}</span>
<span v-else class="ds-purple-tag">{{ record.statusText }}</span>
</template> -->
<template v-if="column.key === 'action'">
<TableAction :actions="[
{
icon: 'clarity:note-edit-line',
tooltip: '编辑',
onClick: () => {
edit(record)
}
}
]" />
</template>
</template>
</BasicTable>
<div class="calc"> <div class="calc">
<span style="font-size: 12px;">合计</span> <span style="font-size: 12px;">合计</span>
<span class="box"> <span class="box">

Loading…
Cancel
Save