计量客户接口
This commit is contained in:
@ -102,7 +102,7 @@ export const columns: BasicColumn[] = [
|
||||
title: '进厂皮重时间',
|
||||
componentType: 'input',
|
||||
align: 'left',
|
||||
|
||||
width: 200,
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
@ -111,7 +111,7 @@ export const columns: BasicColumn[] = [
|
||||
title: '出厂毛重时间',
|
||||
componentType: 'input',
|
||||
align: 'left',
|
||||
|
||||
width: 200,
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
|
||||
@ -146,7 +146,7 @@
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
dataIndex: 'suName',
|
||||
dataIndex: 'suSname',
|
||||
title: '供应商',
|
||||
componentType: 'input',
|
||||
align: 'left',
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
</a-button>
|
||||
</template>
|
||||
</template>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template #bodyCell="{ column, record,index }">
|
||||
<template v-if="column.dataIndex === 'qtyMeaTonSales'">
|
||||
<input-number v-model:value="record.qtyMeaTonSales" :disabled="record.statusCode!=='JLZ'"
|
||||
@change="numChange(record)" :min="0" :digits="3" style="width: 100%" />
|
||||
@ -82,6 +82,8 @@
|
||||
import { DeleteOutlined } from '@ant-design/icons-vue';
|
||||
import { getCompDept } from '/@/api/approve/Appro';
|
||||
import { useUserStore } from '/@/store/modules/user';
|
||||
import Upload from '/@/components/Form/src/components/Upload.vue';
|
||||
import dayjs from 'dayjs';
|
||||
const userStore = useUserStore();
|
||||
const userInfo = userStore.getUserInfo;
|
||||
const curCuCode = ref('')
|
||||
@ -277,6 +279,10 @@
|
||||
} else {
|
||||
selectedRowsData.value= [{...val}]
|
||||
}
|
||||
selectedRowsData.value.forEach(v=> {
|
||||
v.timeOut = v.timeOut ? dayjs(v.timeOut).format('YYYY-MM-DD HH:mm:ss') : null
|
||||
v.timeIn = v.timeIn ? dayjs(v.timeIn).format('YYYY-MM-DD HH:mm:ss') : null
|
||||
})
|
||||
await addLngLngMeasure(selectedRowsData.value)
|
||||
handleSuccess();
|
||||
notification.success({
|
||||
@ -434,7 +440,11 @@
|
||||
.hide{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.delIcon {
|
||||
margin-left: 10px;
|
||||
cursor: pointer;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
:deep( .ant-col-8:nth-child(1)) {
|
||||
width: 320px !important;
|
||||
max-width: 320px !important;
|
||||
|
||||
Reference in New Issue
Block a user