From fa86ade896f96918c6178fa71f10db30dcbe9ff4 Mon Sep 17 00:00:00 2001 From: zhang_li Date: Mon, 14 Jul 2025 17:09:10 +0800 Subject: [PATCH] =?UTF-8?q?YT-2797=E9=A1=BA=E5=BC=95=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=A2=9E=E5=8A=A0=E3=80=90=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=E5=AF=B9=E8=B4=A6=E6=97=A5=E6=9C=9F=E3=80=91=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E5=85=A5=E7=BA=B3=E5=85=A5=E5=8F=97=E9=A2=86?= =?UTF-8?q?=E4=B9=A6=E6=97=B6=EF=BC=8C=E5=A2=9E=E5=8A=A0=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=B7=AE=E5=BC=82=E6=95=B0=E6=8D=AE=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/maintenanceBillDate/index.ts | 14 ++- src/components/BasicForm/src/BasicForm.vue | 9 ++ .../ImportForm/src/ImportFormStep.vue | 7 ++ .../deliverRecordMain.data.ts | 30 ------ .../deliverRecordMain/index.vue | 102 ++++++++++++++++-- 5 files changed, 119 insertions(+), 43 deletions(-) diff --git a/src/api/wms/maintenanceBillDate/index.ts b/src/api/wms/maintenanceBillDate/index.ts index 75da63114..4bdbfb8e9 100644 --- a/src/api/wms/maintenanceBillDate/index.ts +++ b/src/api/wms/maintenanceBillDate/index.ts @@ -11,7 +11,8 @@ export interface MaintenanceBillDateMainVO { endSerialNo: number, incorporationNumber: string, backNumber: string, - notIncludedList: object + notIncludedList: object, + fileDataList: object } // 计算发货数量 @@ -28,11 +29,14 @@ export const updateReconciliationDate = async (data: MaintenanceBillDateMainVO) return await request.post({ url: `/wms/leadership-incorporation-doc-request/updateReconciliationDate`, data }) } -// 更新对账日期 -export const updateReconciliationDate = async (data: MaintenanceBillDateMainVO) => { - return await request.post({ url: `/wms/leadership-incorporation-doc-request/updateReconciliationDate`, data }) +// 导入纳入受领书,差异数据页面中调整差异数量 +export const getAdjustmentReconDateList = async (data: MaintenanceBillDateMainVO) => { + return await request.post({ url: `wms/leadership-incorporation-doc-request/getAdjustmentReconDateList`, data }) } - +// 导入纳入受领书,差异数据页面中保存 +export const inducedProductBatchUpdate = async (data: MaintenanceBillDateMainVO) => { + return await request.post({ url: `/wms/leadership-incorporation-doc-request/induced-product-batch-update`, data }) +} diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 43ba2310a..5ed8beac6 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -7,6 +7,8 @@ :vLoading="formLoading" @updateFullscreen="updateFullscreen" > + +
{ + return props.isShowFormLoading +}) routeName.value = route.name const formHeight = ref({}) diff --git a/src/components/ImportForm/src/ImportFormStep.vue b/src/components/ImportForm/src/ImportFormStep.vue index 0ef453b7f..85b325071 100644 --- a/src/components/ImportForm/src/ImportFormStep.vue +++ b/src/components/ImportForm/src/ImportFormStep.vue @@ -248,6 +248,13 @@ const importUrl = ref('') const active = ref(props.active) const error = ref(false) +watch( + () => props.active, + (val) => { + active.value = val + } +) + // 传递给父类 const emits = defineEmits([ 'success', diff --git a/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/deliverRecordMain.data.ts b/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/deliverRecordMain.data.ts index 012f358c2..465251497 100644 --- a/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/deliverRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/deliverRecordMain.data.ts @@ -1625,33 +1625,3 @@ export const AdjustDiffDataMain = useCrudSchemas(reactive([ }, ])) -/** - * @returns {Array} 调整差异数据列表 - */ -export const AdjustDiffDataTable = useCrudSchemas(reactive([ - { - label: '品番', - field: 'itemCode', - sort: 'custom', - }, { - label: '描述', - field: 'disc1', - sort: 'custom', - }, { - label: '背番', - field: 'backNumber', - sort: 'custom', - }, { - label: '纳入数量', - field: 'itemCode', - sort: 'custom', - }, { - label: '发货数量', - field: 'itemCode', - sort: 'custom', - }, { - label: '差异数量', - field: 'itemCode', - sort: 'custom', - } -])) \ No newline at end of file diff --git a/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue b/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue index 58e66e643..67810e69c 100644 --- a/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue +++ b/src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue @@ -83,6 +83,7 @@ :errorTableColumns="ImportLeadershipDocErrorData" @success="importSuccess" accept=".txt" + :active="active1" :isShowDownloadBtn="false" :confirmFormSuccess="confirmFormSuccess" @searchTableSuccess="searchTableSuccess" @@ -143,6 +144,7 @@ :isShowReduceButtonSelection="true" :updateTypeEdiltSubList="true" :detailButttondata="detailButttondata" + :isShowFormLoading="isShowFormLoading" @handleAddTable="handleAddTableBillDate" @handleDeleteTable="handleDeleteTableBillDate" @tableSelectionDelete="tableSelectionDeleteBillDate" @@ -154,7 +156,9 @@