计量客户接口

This commit is contained in:
‘huanghaiixia’
2026-03-17 16:38:09 +08:00
parent 6cfb1c77c5
commit d7bdcc480c
3 changed files with 15 additions and 5 deletions

View File

@ -102,7 +102,7 @@ export const columns: BasicColumn[] = [
title: '进厂皮重时间', title: '进厂皮重时间',
componentType: 'input', componentType: 'input',
align: 'left', align: 'left',
width: 200,
sorter: true, sorter: true,
}, },
@ -111,7 +111,7 @@ export const columns: BasicColumn[] = [
title: '出厂毛重时间', title: '出厂毛重时间',
componentType: 'input', componentType: 'input',
align: 'left', align: 'left',
width: 200,
sorter: true, sorter: true,
}, },

View File

@ -146,7 +146,7 @@
width: 120, width: 120,
}, },
{ {
dataIndex: 'suName', dataIndex: 'suSname',
title: '供应商', title: '供应商',
componentType: 'input', componentType: 'input',
align: 'left', align: 'left',

View File

@ -14,7 +14,7 @@
</a-button> </a-button>
</template> </template>
</template> </template>
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record,index }">
<template v-if="column.dataIndex === 'qtyMeaTonSales'"> <template v-if="column.dataIndex === 'qtyMeaTonSales'">
<input-number v-model:value="record.qtyMeaTonSales" :disabled="record.statusCode!=='JLZ'" <input-number v-model:value="record.qtyMeaTonSales" :disabled="record.statusCode!=='JLZ'"
@change="numChange(record)" :min="0" :digits="3" style="width: 100%" /> @change="numChange(record)" :min="0" :digits="3" style="width: 100%" />
@ -82,6 +82,8 @@
import { DeleteOutlined } from '@ant-design/icons-vue'; import { DeleteOutlined } from '@ant-design/icons-vue';
import { getCompDept } from '/@/api/approve/Appro'; import { getCompDept } from '/@/api/approve/Appro';
import { useUserStore } from '/@/store/modules/user'; import { useUserStore } from '/@/store/modules/user';
import Upload from '/@/components/Form/src/components/Upload.vue';
import dayjs from 'dayjs';
const userStore = useUserStore(); const userStore = useUserStore();
const userInfo = userStore.getUserInfo; const userInfo = userStore.getUserInfo;
const curCuCode = ref('') const curCuCode = ref('')
@ -277,6 +279,10 @@
} else { } else {
selectedRowsData.value= [{...val}] 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) await addLngLngMeasure(selectedRowsData.value)
handleSuccess(); handleSuccess();
notification.success({ notification.success({
@ -434,7 +440,11 @@
.hide{ .hide{
display: none !important; display: none !important;
} }
.delIcon {
margin-left: 10px;
cursor: pointer;
margin-bottom: 5px;
}
:deep( .ant-col-8:nth-child(1)) { :deep( .ant-col-8:nth-child(1)) {
width: 320px !important; width: 320px !important;
max-width: 320px !important; max-width: 320px !important;