From bbe0011222a552beaee65af2f0ce1efd32a57e16 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Fri, 16 Aug 2024 19:58:02 +0800
Subject: [PATCH 01/32] =?UTF-8?q?=E6=96=B0=E7=89=88=E9=87=87=E8=B4=AD?=
=?UTF-8?q?=E9=80=80=E8=B4=A7=E7=94=B3=E8=AF=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereturn/purchasereturnRequestMainNew/index.vue | 4 +++-
.../purchasereturnRequestMainNew.data.ts | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
index 1805e5bf4..d065fb8d6 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
@@ -810,12 +810,14 @@ const onChangeForm = async (field, cur, formRef)=>{
if(subList&&subList.length>0){
tableData.value = subList.map(item=>({
'batch':item['batch'],
- 'status':item['inventoryStatus'],
+ 'inventoryStatus':item['inventoryStatus'],
'inventoryBalance':item['qty'],
'qty':0,
'reason_type':'',
'reason':''
}))
+ }else{
+ tableData.value = []
}
}
}
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts
index f904e74ff..e1eb42507 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts
@@ -254,6 +254,7 @@ export const PurchasereturnRequestMainNew = useCrudSchemas(
},
form: {
component: 'Select',
+ value:locationList[0]['value'],
componentProps: {
options: locationList
}
From 45b1bc1b5f8c9a5e9e115afd0a811b3e6467a8c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com>
Date: Fri, 16 Aug 2024 20:15:42 +0800
Subject: [PATCH 02/32] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E9=AA=8C?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7=E7=9A=84=E8=B4=A8=E6=A3=80=E6=8A=A5=E5=91=8A?=
=?UTF-8?q?=20HL-5363?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/qms/inspectionRequest/index.vue | 29 +++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/src/views/qms/inspectionRequest/index.vue b/src/views/qms/inspectionRequest/index.vue
index a50c38cee..4e6ea8443 100644
--- a/src/views/qms/inspectionRequest/index.vue
+++ b/src/views/qms/inspectionRequest/index.vue
@@ -88,6 +88,17 @@
@ListTableSubmit="ListTableSubmit"
/>
+
+
+
+
+
From 24116266bfa0544b8db1066c80671a6450fd0d97 Mon Sep 17 00:00:00 2001
From: zhaoxuebing <1291173720@qq.com>
Date: Sat, 17 Aug 2024 14:29:48 +0800
Subject: [PATCH 18/32] =?UTF-8?q?=E7=BC=BA=E9=99=B7:HL-5075=E5=AF=BC?=
=?UTF-8?q?=E5=85=A5=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereturn/purchasereturnRequestMainNew/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
index 749c144f9..dd8f6193d 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
@@ -133,7 +133,7 @@
Date: Sat, 17 Aug 2024 14:43:19 +0800
Subject: [PATCH 19/32] =?UTF-8?q?=E6=96=B0=E7=89=88=E9=87=87=E8=B4=AD?=
=?UTF-8?q?=E9=80=80=E8=B4=A7-=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereturn/purchasereturnRequestMainNew/index.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
index b89d456ce..d2261df0b 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
@@ -803,8 +803,8 @@ const onChangeForm = async (field, cur, formRef)=>{
})
}else if(field == 'locationCode' || field == 'itemCode'){
// 退货库位 获取明细列表
- let itemCode = field == 'locationCode'?formRef.value.formModel.itemCode:formRef.formModel.itemCode
- let fromLocationCode = field == 'locationCode'?formRef.value.formModel.locationCode:formRef.formModel.locationCode
+ let itemCode = formRef.formModel?formRef.formModel.itemCode:formRef.value.formModel.itemCode
+ let fromLocationCode = formRef.formModel?formRef.formModel.locationCode:formRef.value.formModel.locationCode
if(!itemCode||!fromLocationCode){
return
}
From 98dd6b322e70c1f89127d388fe2a86e5ff8875f1 Mon Sep 17 00:00:00 2001
From: songguoqiang <765017469@qq.com>
Date: Sat, 17 Aug 2024 14:59:57 +0800
Subject: [PATCH 20/32] =?UTF-8?q?=E7=BC=BA=E9=99=B7HL-4830:=E4=BE=9B?=
=?UTF-8?q?=E5=BA=94=E5=95=86=E7=94=A8=E6=88=B7=E5=85=B3=E8=81=94=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E5=AF=BC=E5=87=BA=E6=B7=BB=E5=8A=A0loding?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../wms/basicDataManage/systemSetting/supplierUser/index.vue | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/views/wms/basicDataManage/systemSetting/supplierUser/index.vue b/src/views/wms/basicDataManage/systemSetting/supplierUser/index.vue
index 7c720e543..c54af273d 100644
--- a/src/views/wms/basicDataManage/systemSetting/supplierUser/index.vue
+++ b/src/views/wms/basicDataManage/systemSetting/supplierUser/index.vue
@@ -221,12 +221,14 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ tableObject.loading = true
const excelTitle = ref(route.meta.title)
const data = await SupplierUserApi.exportSupplierUser(tableObject.params)
download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
+ tableObject.loading = false
}
}
From c38c229c685ca470c975082d5b85c86cd0d19831 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Sat, 17 Aug 2024 15:27:27 +0800
Subject: [PATCH 21/32] =?UTF-8?q?=E9=9A=90=E8=97=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereturn/purchasereturnRequestMainNew/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
index d2261df0b..c79f3e737 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
@@ -129,7 +129,7 @@
@searchTableSuccess="searchTableSuccessLabel"
/>
-
+
Date: Sat, 17 Aug 2024 17:21:59 +0800
Subject: [PATCH 22/32] =?UTF-8?q?=E9=9A=90=E8=97=8F=E7=AD=9B=E9=80=89?=
=?UTF-8?q?=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereturn/purchasereturnRequestMainNew/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
index c79f3e737..6c7ad4a30 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
@@ -83,7 +83,7 @@
-
+
From 0d66d6d89c111bafd625ac9a71ebfa4609d1e05e Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Sun, 18 Aug 2024 10:02:59 +0800
Subject: [PATCH 23/32] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E6=96=87=E4=BB=B6?=
=?UTF-8?q?=E5=90=8D=E5=AD=97=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereceiptManage/inspect/inspectJobMain/index.vue | 3 ++-
.../inspect/inspectRecordMain/index.vue | 3 ++-
.../inspect/inspectRequestMain/index.vue | 3 ++-
.../purchasereceipt/purchasereceiptRecordMain/index.vue | 5 +++--
.../purchasereceiptRecordRefuseMain/index.vue | 5 +++--
.../purchasereceipt/purchasereceiptRequestMain/index.vue | 3 ++-
.../purchasereturn/purchasereturnJobMain/index.vue | 3 ++-
.../purchasereturn/purchasereturnRecordMain/index.vue | 5 +++--
.../purchasereturn/purchasereturnRequestMain/index.vue | 3 ++-
.../purchasereturn/purchasereturnRequestMainNew/index.vue | 3 ++-
10 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectJobMain/index.vue b/src/views/wms/purchasereceiptManage/inspect/inspectJobMain/index.vue
index 73a95c56b..651ccf6bc 100644
--- a/src/views/wms/purchasereceiptManage/inspect/inspectJobMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/inspect/inspectJobMain/index.vue
@@ -233,8 +233,9 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
const data = await InspectJobMainApi.exportInspectJobMain(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/index.vue b/src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/index.vue
index a987cad02..30d9c98c6 100644
--- a/src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/index.vue
@@ -179,8 +179,9 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
const data = await InspectRecordMainApi.exportInspectRecordMain(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/index.vue b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/index.vue
index 4cbc8f5df..d634e8b7e 100644
--- a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/index.vue
@@ -322,8 +322,9 @@
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
const data = await InspectRequestMainApi.exportInspectRequestMain(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue
index 8eb9603f4..d2431c211 100644
--- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue
@@ -303,12 +303,13 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
if(routeName.value.includes('SCP')){
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordMainSCP(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else{
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordMain(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {
diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordRefuseMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordRefuseMain/index.vue
index 2dcb35833..f4d5f3823 100644
--- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordRefuseMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordRefuseMain/index.vue
@@ -291,12 +291,13 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
if(routeName.value.includes('SCP')){
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordMainSCP(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else{
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordRefuseMain(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {
diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue
index d1544d64c..dc4670e67 100644
--- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue
@@ -762,8 +762,9 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
const data = await PurchasereceiptRequestMainApi.exportPurchasereceiptRequestMain(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue
index e5365a2ca..740fa9daa 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/index.vue
@@ -238,8 +238,9 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
const data = await PurchasereturnJobMainApi.exportPurchasereturnJobMain(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue
index 7e218fafa..c43899e89 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue
@@ -169,12 +169,13 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
if(routeName.value.includes('SCP')){
const data = await PurchasereturnRecordMainApi.exportPurchasereturnRecordMainSCP(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else{
const data = await PurchasereturnRecordMainApi.exportPurchasereturnRecordMain(tableObject.params)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue
index 700d90eda..8512c8b4c 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue
@@ -756,10 +756,11 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
const data = await PurchasereturnRequestMainApi.exportPurchasereturnRequestMain(
tableObject.params
)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
index 6c7ad4a30..a5eaed857 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
@@ -672,10 +672,11 @@ const handleExport = async () => {
await message.exportConfirm()
// 发起导出
exportLoading.value = true
+ const excelTitle = ref(route.meta.title)
const data = await PurchasereturnRequestMainApi.exportPurchasereturnRequestMain(
tableObject.params
)
- download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
+ download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
From 7f54266cf9b7eb31b9225b58d1eaf1a4c3b02e50 Mon Sep 17 00:00:00 2001
From: zhaoxuebing <1291173720@qq.com>
Date: Sun, 18 Aug 2024 10:05:57 +0800
Subject: [PATCH 24/32] =?UTF-8?q?=E7=BC=BA=E9=99=B7:HL-5433=E9=87=87?=
=?UTF-8?q?=E8=B4=AD=E9=80=80=E8=B4=A7=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wms/purchasereturnRequestMain/index.ts | 5 +++++
.../purchasereturn/purchasereturnRequestMainNew/index.vue | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/api/wms/purchasereturnRequestMain/index.ts b/src/api/wms/purchasereturnRequestMain/index.ts
index 880ce56a3..68cc0f4bd 100644
--- a/src/api/wms/purchasereturnRequestMain/index.ts
+++ b/src/api/wms/purchasereturnRequestMain/index.ts
@@ -136,6 +136,11 @@ export const handlePurchasereturnRequestMain = async (id) => {
return await request.put({ url: `/wms/purchasereturn-request-main/handle?id=` + id })
}
+// 处理采购退货申请主(新)
+export const handlePurchasereturnRequestMainNew = async (id) => {
+ return await request.put({ url: `/wms/purchasereturn-request-main/handleNew?id=` + id })
+}
+
// 生成标签
export const genLabel = async (data) => {
return await request.post({ url: `/wms/purchasereturn-request-main/genLabel`, data })
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
index 6c7ad4a30..fb9de2408 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue
@@ -640,7 +640,7 @@ const handleHandle = async (id: number) => {
try {
await message.confirm(t('common.confirmHandle'))
tableObject.loading = true
- await PurchasereturnRequestMainApi.handlePurchasereturnRequestMain(id)
+ await PurchasereturnRequestMainApi.handlePurchasereturnRequestMainNew(id)
message.success(t('common.handleSuccess'))
buttonBaseClick('refresh',null)
} catch {
From 6cc6f7239cc0023628387c32b124de6587b8a0c8 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Sun, 18 Aug 2024 10:12:32 +0800
Subject: [PATCH 25/32] =?UTF-8?q?HL-5438=E7=89=A9=E6=96=99=E5=8C=85?=
=?UTF-8?q?=E8=A3=85=E4=BF=A1=E6=81=AF-=E8=BF=99=E4=B8=AA=E6=94=B9?=
=?UTF-8?q?=E6=88=900.954=EF=BC=8C=E8=87=AA=E5=8A=A8=E5=8F=98=E6=88=901?=
=?UTF-8?q?=E4=BA=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../itemManage/itempackage/itempackage.data.ts | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts b/src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts
index d023d27c8..bd8739244 100644
--- a/src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts
+++ b/src/views/wms/basicDataManage/itemManage/itempackage/itempackage.data.ts
@@ -133,7 +133,7 @@ export const Itempackaging = useCrudSchemas(reactive([
form: {
component: 'InputNumber',
componentProps: {
- min: 1,
+ min: 0,
precision: 6
}
}
@@ -295,12 +295,22 @@ export const Itempackaging = useCrudSchemas(reactive([
}
}
]))
-
+const validateQty = (rule: any, value: any, callback: any,a,b) => {
+ console.log('validateQty',rule, value,a,b)
+ if (!value) {
+ callback(new Error('包装数量必须大于0'));
+ } else {
+ callback();
+ }
+}
// 表单校验
export const ItempackagingRules = reactive({
itemCode: [{ required: true, message: '物料代码不能为空', trigger: 'change' }],
uom: [{ required: true, message: '计量单位不能为空', trigger: 'change' }],
packUnit: [{ required: true, message: '包装单位不能为空', trigger: 'change' }],
- packQty: [{ required: true, message: '包装数量不能为空', trigger: 'change' }],
+ packQty: [
+ { required: true, message: '包装数量不能为空', trigger: 'change' },
+ { validator: validateQty, trigger: 'change' }
+ ],
available: [{ required: true, message: '是否可用不能为空', trigger: 'change' }]
})
From 07b435bf9c46880c198f629ec7bb75a88f26ebbc Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Sun, 18 Aug 2024 10:22:03 +0800
Subject: [PATCH 26/32] =?UTF-8?q?HL-5332=20SCP=E8=A6=81=E8=B4=A7=E8=AE=A1?=
=?UTF-8?q?=E5=88=92=E5=A4=B4=E9=83=A8=E7=AD=9B=E9=80=89=E9=83=A8=E5=88=86?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=95=B0=E6=8D=AE=E6=98=BE=E7=A4=BA=E4=B8=8D?=
=?UTF-8?q?=E5=85=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Search/src/Search.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/Search/src/Search.vue b/src/components/Search/src/Search.vue
index a95460d5f..c233dd92c 100644
--- a/src/components/Search/src/Search.vue
+++ b/src/components/Search/src/Search.vue
@@ -342,12 +342,12 @@ defineExpose({setFormValues,search}) // 提供 open 方法,用于打开弹窗