From 59aeb4aefcf94281ca81a5183479f12c909595fc Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Fri, 31 May 2024 14:17:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=89=A9=E6=96=99=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E7=89=A9=E6=96=99=E4=BB=A3=E7=A0=81=E6=9F=A5=E8=AF=A2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=9A=E5=8A=A1=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../issue/issueRequestMain/issueRequestMain.data.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts index 8dfbaf3ca..190e928ae 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts @@ -678,7 +678,12 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ value:'productionLineCode', message: '请填写生产线代码!', isMainValue: true - }] + },{ + key: 'businessTypeCode', + value: 'Issue', + isMainValue: false + } + ] }, form: { // labelMessage: '信息提示说明!!!', From 8fd07f34f1838c792b766985e578337bdf301d44 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Fri, 31 May 2024 14:53:59 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8F=91=E8=B4=A7=E6=8C=89=E9=92=AEloading?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliverRequestMain/index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 58ebb27b9..9035837b5 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -725,7 +725,6 @@ const handleTur = async (id: number) => { /** 处理按钮操作 */ const genRecords = async (id: number) => { let getLoading = null - try { await SupplierdeliverRequestMainApi.selfCheckReport(id).then(async res => { if(!res){ message.warning(t('ts.请先上传自检报告!')) @@ -741,18 +740,21 @@ const genRecords = async (id: number) => { // 发起处理 SupplierdeliverRequestMainApi.genRecordsSupplierdeliverRequestMain(id).then(res => { message.success(t('ts.处理成功!')) + console.log('resresresresres',res) // 刷新列表 getList() + console.log('刷新列表') + getLoading?.close() + // 单据打印 handleDocumentPrint(res) }) } }).catch(err => { console.log("自检报告校验异常",err) + getLoading?.close() + }) - } catch {}finally{ - getLoading?.close() - } } /** 导出按钮操作 */