-
- {{ ent.nickname}}
+
+ {{ ent.nickname }}
-
+
-
From b8498ac217c0e5b9d10ca5b3963929ecd57d07f2 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Mon, 15 Jul 2024 16:46:06 +0800
Subject: [PATCH 31/51] =?UTF-8?q?=E8=A1=A5=E6=96=99=E7=94=B3=E8=AF=B7=20?=
=?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=8F=AA=E8=83=BD=E9=80=89=E6=8B=A9=E4=B8=80?=
=?UTF-8?q?=E6=9D=A1=E6=95=B0=E6=8D=AE=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../issueManage/repleinsh/repleinshRequestMain/index.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
index eb70d07f0..2066f250c 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
+++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
@@ -379,10 +379,10 @@ const submitForm = async (formType, submitData) => {
data.id = data.masterId
}
data.subList = tableData.value // 拼接子表数据参数
- if( data.subList.length>1){
- message.warning('明细只能选择一条数据')
- return;
- }
+ // if( data.subList.length>1){ // 喜婷说可以添加多条
+ // message.warning('明细只能选择一条数据')
+ // return;
+ // }
if(tableData.value.find(item => (item.qty <= 0))) {
message.warning('数量必须大于0')
formRef.value.formLoading = false
From 70860badf408f602b2d92ef0e94906d0e8647532 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Mon, 15 Jul 2024 16:49:41 +0800
Subject: [PATCH 32/51] =?UTF-8?q?=E8=A1=A5=E6=96=99=E7=94=B3=E8=AF=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../wms/issueManage/repleinsh/repleinshRequestMain/index.vue | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
index 2066f250c..6dda9a217 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
+++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
@@ -379,6 +379,9 @@ const submitForm = async (formType, submitData) => {
data.id = data.masterId
}
data.subList = tableData.value // 拼接子表数据参数
+ data.subList.forEach(item=>{
+ item.toLocationCode = data.toLocationCode
+ })
// if( data.subList.length>1){ // 喜婷说可以添加多条
// message.warning('明细只能选择一条数据')
// return;
From aa94548aaf242186e41f30f72651da7e45ac8c23 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Mon, 15 Jul 2024 16:55:02 +0800
Subject: [PATCH 33/51] =?UTF-8?q?=E5=88=A4=E6=96=AD=E7=89=A9=E6=96=99?=
=?UTF-8?q?=E5=94=AF=E4=B8=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../wms/issueManage/repleinsh/repleinshRequestMain/index.vue | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
index 6dda9a217..8dbf7b04a 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
+++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
@@ -113,7 +113,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
// row['itemCode'] = val[0]['code']
// row['uom'] = val[0]['uom']
val.forEach(item=>{
- if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])) return
+ if(tableData.value.find(item1=>item1['itemCode'] == item['code'])){
+ message.warning(`物料${item['code']}已经存在`)
+ return
+ }
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
newRow['itemCode'] = item['code']
newRow['uom'] = item['uom']
From 7c5eec43fa9041b35a1183e4fac26b80310b6ac9 Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Mon, 15 Jul 2024 17:02:43 +0800
Subject: [PATCH 34/51] =?UTF-8?q?AGV=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wms/business/inputBlur.ts | 2 +
.../callmaterials/callmaterials.data.ts | 64 +++++++++++--
.../manufacturePackage.data.ts | 40 ++++++++-
.../purchasePackage/purchasePackage.data.ts | 90 +++++++++++++++++--
4 files changed, 177 insertions(+), 19 deletions(-)
diff --git a/src/api/wms/business/inputBlur.ts b/src/api/wms/business/inputBlur.ts
index 21271d1a4..4f4fcbbe1 100644
--- a/src/api/wms/business/inputBlur.ts
+++ b/src/api/wms/business/inputBlur.ts
@@ -272,6 +272,7 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS
message.warning(
searchCondition[i].message ? searchCondition[i].message : '前置条件未选择!'
)
+ formRef.setValues(setV)
return
}
filters.push({
@@ -307,6 +308,7 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS
message.warning(
searchCondition[i].message ? searchCondition[i].message : '前置条件未选择!'
)
+ formRef.setValues(setV)
return
}
}
diff --git a/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts b/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts
index 1524849c4..c663d5db3 100644
--- a/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts
+++ b/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts
@@ -64,7 +64,15 @@ export const Callmaterials = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -95,7 +103,15 @@ export const Callmaterials = useCrudSchemas(reactive([
value: 'itemCode',
message: '请填写物料代码!',
isMainValue: true
- }]
+ }],
+ verificationParams: [{
+ key: 'packUnit',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -190,6 +206,7 @@ export const Callmaterials = useCrudSchemas(reactive([
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
+ enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择仓库代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
@@ -200,7 +217,15 @@ export const Callmaterials = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -214,12 +239,21 @@ export const Callmaterials = useCrudSchemas(reactive([
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
+ enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择车间代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '车间信息', // 查询弹窗标题
searchAllSchemas: Workshop.allSchemas, // 查询弹窗所需类
- searchPage: WorkshopApi.getWorkshopPage // 查询弹窗所需分页方法
+ searchPage: WorkshopApi.getWorkshopPage, // 查询弹窗所需分页方法
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -233,12 +267,21 @@ export const Callmaterials = useCrudSchemas(reactive([
form: {
// labelMessage: '',
componentProps: {
+ enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择生产线', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '生产线信息', // 查询弹窗标题
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
- searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法
+ searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法,
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -252,6 +295,7 @@ export const Callmaterials = useCrudSchemas(reactive([
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
+ enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择工位', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
@@ -272,7 +316,15 @@ export const Callmaterials = useCrudSchemas(reactive([
key:'available',
value:'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
},
tableForm:{
diff --git a/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts b/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts
index d8897e8e1..2c40f2698 100644
--- a/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts
+++ b/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts
@@ -199,7 +199,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -476,7 +484,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -501,7 +517,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -526,7 +550,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
diff --git a/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts b/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts
index acbfe228d..ecae0e0a1 100644
--- a/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts
+++ b/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts
@@ -174,7 +174,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -419,7 +427,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -444,7 +460,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -469,7 +493,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -494,7 +526,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -534,7 +574,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'number',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -566,7 +614,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'lineNumber',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -598,7 +654,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'number',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -630,7 +694,15 @@ export const PackageInventory = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'asnNumber',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
From 6245c25fb31627359913396e5eb146037ddf78fe Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Mon, 15 Jul 2024 17:06:14 +0800
Subject: [PATCH 35/51] =?UTF-8?q?agv=E5=A4=B1=E5=8E=BB=E7=84=A6=E7=82=B9?=
=?UTF-8?q?=E6=A0=A1=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../agvLocationrelation.data.ts | 22 +++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts b/src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts
index 7c26a4bdc..6dfc2a8b4 100644
--- a/src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts
+++ b/src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts
@@ -49,6 +49,7 @@ export const AgvLocationrelation = useCrudSchemas(reactive([
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
+ enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择库区代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
@@ -59,7 +60,15 @@ export const AgvLocationrelation = useCrudSchemas(reactive([
key: 'available',
value: 'TRUE',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -73,6 +82,7 @@ export const AgvLocationrelation = useCrudSchemas(reactive([
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
+ enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择库位代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
@@ -89,7 +99,15 @@ export const AgvLocationrelation = useCrudSchemas(reactive([
value: "wmsArea",
message: '请选择库区代码!',
isMainValue: true
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
From ff39c694527cf7d9a2c43f5e20396f474afb2283 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Mon, 15 Jul 2024 17:15:40 +0800
Subject: [PATCH 36/51] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=8A=B6=E6=80=816?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../packageoverMain/packageoverRequestMain/index.vue | 2 +-
.../wms/inventoryjobManage/scrap/scrapRequestMain/index.vue | 2 +-
.../sparepartsrequisitionRequestMain/index.vue | 2 +-
.../transferissue/transferissueRequestMain/index.vue | 2 +-
.../transferreceipt/transferreceiptRequestMain/index.vue | 2 +-
.../unplannedreceipt/unplannedreceiptRequestMain/index.vue | 2 +-
src/views/wms/issueManage/issue/issueRequestMain/index.vue | 2 +-
.../productionreturn/productionreturnRequestMain/index.vue | 2 +-
.../productionreturn/productionreturnRequestMainNo/index.vue | 2 +-
.../wms/issueManage/repleinsh/repleinshRequestMain/index.vue | 2 +-
.../inventorychange/inventorychangeRequestMain/index.vue | 2 +-
.../processproduction/processproductionRequest/index.vue | 2 +-
.../productdismantle/productdismantleRequestMain/index.vue | 2 +-
.../productputaway/productputawayRequestMain/index.vue | 2 +-
.../productputawayAssembleRequestMain/index.vue | 2 +-
.../productreceipt/productreceiptRequestMain/index.vue | 2 +-
.../productreceiptAssembleRequestMain/index.vue | 2 +-
.../productreceiptscrapRequestMain/index.vue | 2 +-
.../productredress/productredressRequestMain/index.vue | 2 +-
.../productrepair/productrepairRequestMain/index.vue | 2 +-
.../productscrap/productscrapRequestMain/index.vue | 2 +-
21 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue
index dab4cf2b7..7f99c50dc 100644
--- a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue
+++ b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue
@@ -236,7 +236,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:packageover-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:packageover-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:packageover-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:packageover-request-main:refused'}), // 驳回
diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
index 9a5679c56..56e040304 100644
--- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
+++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
@@ -244,7 +244,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:scrap-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:scrap-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:scrap-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:scrap-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:scrap-request-main:refused'}), // 驳回
diff --git a/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue b/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue
index 79a4547e5..d4ad79678 100644
--- a/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue
+++ b/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue
@@ -233,7 +233,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:unplannedissue-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:unplannedissue-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:unplannedissue-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:unplannedissue-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:unplannedissue-request-main:refused'}), // 驳回
diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue
index 11ecd8cc3..29a8c0330 100644
--- a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue
+++ b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue
@@ -230,7 +230,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:transferissue-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:transferissue-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:transferissue-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:transferissue-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:transferissue-request-main:refused'}), // 驳回
diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue
index 0c52a5d4f..909159740 100644
--- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue
+++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue
@@ -206,7 +206,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:transferreceipt-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:transferreceipt-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']),hasPermi:'wms:transferreceipt-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:transferreceipt-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:transferreceipt-request-main:refused'}), // 驳回
diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
index 799614b09..eb3cde1ea 100644
--- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
+++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
@@ -373,7 +373,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:unplannedreceipt-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:unplannedreceipt-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:unplannedreceipt-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:unplannedreceipt-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:unplannedreceipt-request-main:refused'}), // 驳回
diff --git a/src/views/wms/issueManage/issue/issueRequestMain/index.vue b/src/views/wms/issueManage/issue/issueRequestMain/index.vue
index df1f3f87a..f8406acad 100644
--- a/src/views/wms/issueManage/issue/issueRequestMain/index.vue
+++ b/src/views/wms/issueManage/issue/issueRequestMain/index.vue
@@ -283,7 +283,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:issue-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:issue-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:issue-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:issue-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:issue-request-main:refused'}), // 驳回
diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue
index af65818e2..8375eb726 100644
--- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue
+++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue
@@ -327,7 +327,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productionreturn-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productionreturn-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productionreturn-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productionreturn-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productionreturn-request-main:refused'}), // 驳回
diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue b/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue
index 3a703320f..1738c8fb9 100644
--- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue
+++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue
@@ -305,7 +305,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productionreturn-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productionreturn-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productionreturn-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productionreturn-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productionreturn-request-main:refused'}), // 驳回
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
index 8dbf7b04a..47f275fad 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
+++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
@@ -215,7 +215,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:repleinsh-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:repleinsh-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:repleinsh-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:repleinsh-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:repleinsh-request-main:refused'}), // 驳回
diff --git a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
index 63fc24a71..0aa1d217f 100644
--- a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
+++ b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
@@ -274,7 +274,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:inventorychange-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:inventorychange-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']),hasPermi:'wms:inventorychange-request-main:reAdd'}), //重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:inventorychange-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:inventorychange-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue b/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue
index 16efcd877..c6d753817 100644
--- a/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue
+++ b/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue
@@ -207,7 +207,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:processproduction-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:processproduction-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']),hasPermi:'wms:processproduction-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:processproduction-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:processproduction-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
index 9cd07b365..3f4786a8b 100644
--- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
+++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
@@ -380,7 +380,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productdismantle-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productdismantle-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productdismantle-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productdismantle-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productdismantle-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
index 997469e15..c82d51f25 100644
--- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
+++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
@@ -214,7 +214,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productputaway-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productputaway-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productputaway-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productputaway-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productputaway-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue
index c8bec783a..84d9e6d53 100644
--- a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue
+++ b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue
@@ -216,7 +216,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productputaway-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productputaway-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productputaway-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productputaway-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productputaway-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue
index ac11bd065..1e9dde54f 100644
--- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue
+++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue
@@ -320,7 +320,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productreceipt-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productreceipt-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productreceipt-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue
index be07c0b41..491dc8daf 100644
--- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue
+++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue
@@ -319,7 +319,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productreceipt-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productreceipt-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productreceipt-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue
index 811f90d25..a95bf54c1 100644
--- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue
+++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue
@@ -311,7 +311,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productreceipt-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productreceipt-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productreceipt-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue
index 659d48369..086524541 100644
--- a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue
+++ b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue
@@ -229,7 +229,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productredress-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productredress-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productredress-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productredress-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productredress-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue
index 8c2482afd..89c622b32 100644
--- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue
+++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue
@@ -380,7 +380,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productrepair-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productrepair-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productrepair-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productrepair-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productrepair-request-main:refused'}), // 驳回
diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
index 8f48623fe..2bef4ef89 100644
--- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
+++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
@@ -468,7 +468,7 @@ const butttondata = (row,$index) => {
return []
}
return [
- defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:productscrap-request-main:close'}), // 关闭
+ defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:productscrap-request-main:close'}), // 关闭
defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:productscrap-request-main:reAdd'}), // 重新添加
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:productscrap-request-main:submit'}), // 提交审批
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:productscrap-request-main:refused'}), // 驳回
From 87ed5e8c24a320d4529ae0760e553bab31410ffc Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Mon, 15 Jul 2024 17:35:54 +0800
Subject: [PATCH 37/51] =?UTF-8?q?=E5=A4=B1=E5=8E=BB=E7=84=A6=E7=82=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wms/business/inputBlur.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/wms/business/inputBlur.ts b/src/api/wms/business/inputBlur.ts
index 4f4fcbbe1..50ffd9583 100644
--- a/src/api/wms/business/inputBlur.ts
+++ b/src/api/wms/business/inputBlur.ts
@@ -550,7 +550,7 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS
return
}
// emit('searchTableSuccess', formField, searchField, list.value, formRef.value, 'form')
- callback(searchField, list.value)
+ callback(list.value)
})
}
}
From 1da0d531656651c428c8367df3d57a94ff608e99 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Mon, 15 Jul 2024 17:38:24 +0800
Subject: [PATCH 38/51] type:'Select',
---
.../productredressRequestMain/productredressRequestMain.data.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts
index 18736b93f..339927a39 100644
--- a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts
+++ b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts
@@ -511,6 +511,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive
width: 150
},
tableForm: {
+ type:'Select',
disabled: true
},
form: {
From 8d1350c0e085d5bc4847d0961b31905313dfad44 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Mon, 15 Jul 2024 17:41:11 +0800
Subject: [PATCH 39/51] select
---
.../productdismantleRequestMain.data.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts
index 0da6c60a3..bb1e0b840 100644
--- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts
+++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts
@@ -782,7 +782,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive
Date: Mon, 15 Jul 2024 17:42:26 +0800
Subject: [PATCH 40/51] bug
---
.../supplierdeliver/purchasePlanMain/index.vue | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
index bb9d87c5d..bb2c0a188 100644
--- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
@@ -78,7 +78,6 @@
fieldTableColumn="poLine"
/>
- 采购订单信息
From ecadb01f27af9fea8f38e1e866baeae76af48db0 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Mon, 15 Jul 2024 18:22:37 +0800
Subject: [PATCH 41/51] =?UTF-8?q?=EF=BC=88=E6=97=A0=E6=84=8F=E4=B9=89?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=88=A0=E9=99=A4=EF=BC=89=E5=B0=8F=E5=8D=9A?=
=?UTF-8?q?=E6=8F=90=E5=87=BA--=E5=96=9C=E5=A9=B7=E7=A1=AE=E8=AE=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../sparereceiptJobMain.data.ts | 124 ++++-----
.../sparereceiptRecordMain.data.ts | 212 +++++++-------
.../sparereceiptRequestMain.data.ts | 262 +++++++++---------
3 files changed, 299 insertions(+), 299 deletions(-)
diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts
index 2b5581a23..e3f884bb2 100644
--- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts
@@ -692,29 +692,29 @@ export const PurchasereceiptJobMainRules = reactive({
* @returns {Array} 采购收货任务子表
*/
export const PurchasereceiptJobDetail = useCrudSchemas(reactive([
- {
- label: '包装号',
- field: 'packingNumber',
- sort: 'custom',
- table: {
- width: 150
- },
- isSearch:true,
- hiddenInMain:true,
- sortTableDefault:1002,
- sortSearchDefault:1002
- },
- {
- label: '包装规格',
- field: 'packUnit',
- dictClass: 'string',
- isTable: true,
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:1002
- },
+ // {
+ // label: '包装号',
+ // field: 'packingNumber',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // isSearch:true,
+ // hiddenInMain:true,
+ // sortTableDefault:1002,
+ // sortSearchDefault:1002
+ // },
+ // {
+ // label: '包装规格',
+ // field: 'packUnit',
+ // dictClass: 'string',
+ // isTable: true,
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:1002
+ // },
{
label: '包装数量',
field: 'qty',
@@ -841,15 +841,15 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([
hiddenInMain:true,
sortTableDefault:1006,
},
- {
- label: '来源库位',
- field: 'fromLocationCode',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:1007,
- },
+ // {
+ // label: '来源库位',
+ // field: 'fromLocationCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:1007,
+ // },
{
label: '目标库位',
field: 'toLocationCode',
@@ -933,26 +933,26 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([
sortTableDefault:1009,
hiddenInMain:true,
},
- {
- label: '从货主',
- field: 'fromOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- sortTableDefault:1008,
- },
- {
- label: '到货主',
- field: 'toOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- sortTableDefault:1008,
- },
+ // {
+ // label: '从货主',
+ // field: 'fromOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // sortTableDefault:1008,
+ // },
+ // {
+ // label: '到货主',
+ // field: 'toOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // sortTableDefault:1008,
+ // },
{
label: '物料代码',
field: 'itemCode',
@@ -992,16 +992,16 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([
hiddenInMain:true,
sortTableDefault:7,
},
- {
- label: '项目代码',
- field: 'projectCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- sortTableDefault:1010,
- },
+ // {
+ // label: '项目代码',
+ // field: 'projectCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // sortTableDefault:1010,
+ // },
{
label: '计量单位',
field: 'uom',
diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts
index 5aea05b6e..6ea0c3605 100644
--- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts
@@ -603,16 +603,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive
sortTableDefault:14,
hiddenInMain:true
},
- {
- label: '到批次',
- field: 'toBatch',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:14,
- hiddenInMain:true
- },
+ // {
+ // label: '到批次',
+ // field: 'toBatch',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:14,
+ // hiddenInMain:true
+ // },
{
label: '替代批次',
field: 'altBatch',
@@ -623,26 +623,26 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive
isTable:false,
hiddenInMain:true
},
- {
- label: '从包装号',
- field: 'fromPackingNumber',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:15,
- hiddenInMain:true
- },
- {
- label: '到包装号',
- field: 'toPackingNumber',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:15,
- hiddenInMain:true
- },
+ // {
+ // label: '从包装号',
+ // field: 'fromPackingNumber',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:15,
+ // hiddenInMain:true
+ // },
+ // {
+ // label: '到包装号',
+ // field: 'toPackingNumber',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:15,
+ // hiddenInMain:true
+ // },
{
label: '从器具号',
field: 'fromContainerNumber',
@@ -709,33 +709,33 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive
},
sortTableDefault:13,
},
- {
- label: '包装规格',
- field: 'packUnit',
- dictClass: 'string',
- isTable: true,
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:16,
- },
- {
- label: '包装数量',
- field: 'packQty',
- sort: 'custom',
- table: {
- width: 150
- },
- form: {
- component: 'InputNumber',
- },
- tableForm: {
- disabled: true,
- },
- isForm:false,
- sortTableDefault:16,
- },
+ // {
+ // label: '包装规格',
+ // field: 'packUnit',
+ // dictClass: 'string',
+ // isTable: true,
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:16,
+ // },
+ // {
+ // label: '包装数量',
+ // field: 'packQty',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // form: {
+ // component: 'InputNumber',
+ // },
+ // tableForm: {
+ // disabled: true,
+ // },
+ // isForm:false,
+ // sortTableDefault:16,
+ // },
{
label: '供应商计量数量',
field: 'supplierQty',
@@ -776,16 +776,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive
sortTableDefault:18,
hiddenInMain:true
},
- {
- label: '从库位代码',
- field: 'fromLocationCode',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:18,
+ // {
+ // label: '从库位代码',
+ // field: 'fromLocationCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:18,
- },
+ // },
{
label: '到库位代码',
field: 'toLocationCode',
@@ -795,16 +795,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive
},
sortTableDefault:18,
},
- {
- label: '从库位组',
- field: 'fromLocationGroupCode',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:19,
- hiddenInMain:true
- },
+ // {
+ // label: '从库位组',
+ // field: 'fromLocationGroupCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:19,
+ // hiddenInMain:true
+ // },
{
label: '到库位组',
field: 'toLocationGroupCode',
@@ -815,16 +815,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive
sortTableDefault:19,
hiddenInMain:true
},
- {
- label: '从库区',
- field: 'fromAreaCodes',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:22,
- hiddenInMain:true,
- },
+ // {
+ // label: '从库区',
+ // field: 'fromAreaCodes',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:22,
+ // hiddenInMain:true,
+ // },
{
label: '到库区',
field: 'toAreaCodes',
@@ -835,16 +835,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive
sortTableDefault:22,
hiddenInMain:true
},
- {
- label: '从货主',
- field: 'fromOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:23,
- hiddenInMain:true
- },
+ // {
+ // label: '从货主',
+ // field: 'fromOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:23,
+ // hiddenInMain:true
+ // },
{
label: '到货主',
field: 'toOwnerCode',
@@ -1004,16 +1004,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive
// },
// },
- {
- label: '项目代码',
- field: 'projectCode',
- sort: 'custom',
- table: {
- width: 150
- },
- sortTableDefault:1998,
- hiddenInMain:true
- },
+ // {
+ // label: '项目代码',
+ // field: 'projectCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // sortTableDefault:1998,
+ // hiddenInMain:true
+ // },
// {
// label: '代码',
// field: 'code',
diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts
index 1df29662c..767c6f791 100644
--- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts
@@ -870,92 +870,92 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive
Date: Mon, 15 Jul 2024 18:34:00 +0800
Subject: [PATCH 42/51] =?UTF-8?q?=E6=97=A0=E6=84=8F=E4=B9=89=E5=AD=97?=
=?UTF-8?q?=E6=AE=B5=E5=88=A0=E9=99=A4---=E5=B0=8F=E5=8D=9A=E6=8F=90?=
=?UTF-8?q?=E5=87=BA=EF=BC=8C=E5=96=9C=E5=A9=B7=E7=A1=AE=E8=AE=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../putawayJobMain/putawayJobMain.data.ts | 54 ++++++-------
.../putawayRecordMain.data.ts | 78 +++++++++----------
.../putawayRequestMain.data.ts | 66 ++++++++--------
3 files changed, 99 insertions(+), 99 deletions(-)
diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts
index 07d5dd8df..d70ef2d4c 100644
--- a/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts
@@ -793,15 +793,15 @@ export const PutawayJobDetail = useCrudSchemas(reactive([
},
hiddenInMain: true,
},
- {
- label: '项目代码',
- field: 'projectCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain: true,
- },
+ // {
+ // label: '项目代码',
+ // field: 'projectCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain: true,
+ // },
{
label: '数量',
field: 'qty',
@@ -844,24 +844,24 @@ export const PutawayJobDetail = useCrudSchemas(reactive([
},
hiddenInMain: true,
},
- {
- label: '从货主代码',
- field: 'fromOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain: true,
- },
- {
- label: '到货主代码',
- field: 'toOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain: true,
- },
+ // {
+ // label: '从货主代码',
+ // field: 'fromOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain: true,
+ // },
+ // {
+ // label: '到货主代码',
+ // field: 'toOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain: true,
+ // },
{
label: '创建时间',
field: 'createTime',
diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts
index 7f5c9997e..64063dbc4 100644
--- a/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts
@@ -671,15 +671,15 @@ export const PutawayRecordDetail = useCrudSchemas(reactive([
},
hiddenInMain:true,
},
- {
- label: '项目代码',
- field: 'projectCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- },
+ // {
+ // label: '项目代码',
+ // field: 'projectCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // },
{
label: '数量',
field: 'qty',
@@ -701,18 +701,18 @@ export const PutawayRecordDetail = useCrudSchemas(reactive([
// width: 150
// },
// },
- {
- label: '接口类型',
- field: 'interfaceType',
- dictType: DICT_TYPE.INTERFACE_TYPE,
- dictClass: 'string',
- isTable: true,
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- },
+ // {
+ // label: '接口类型',
+ // field: 'interfaceType',
+ // dictType: DICT_TYPE.INTERFACE_TYPE,
+ // dictClass: 'string',
+ // isTable: true,
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // },
// {
// label: '任务明细ID',
// field: 'jobDetailId',
@@ -721,24 +721,24 @@ export const PutawayRecordDetail = useCrudSchemas(reactive([
// width: 150
// },
// },
- {
- label: '从器具号',
- field: 'fromContainerNumber',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- },
- {
- label: '到器具号',
- field: 'toContainerNumber',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- },
+ // {
+ // label: '从器具号',
+ // field: 'fromContainerNumber',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // },
+ // {
+ // label: '到器具号',
+ // field: 'toContainerNumber',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // },
{
label: '操作',
hiddenInMain:true,
diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts
index bdfe01bf9..07db11bad 100644
--- a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts
@@ -810,17 +810,17 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([
isTableForm: false,
isForm: false
},
- {
- label: '项目代码',
- field: 'projectCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- isTableForm: false,
- isForm: false
- },
+ // {
+ // label: '项目代码',
+ // field: 'projectCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // isTableForm: false,
+ // isForm: false
+ // },
{
label: '数量',
field: 'qty',
@@ -843,28 +843,28 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([
}
},
- {
- label: '从货主代码',
- field: 'fromOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- isTableForm: false,
- isForm: false,
- hiddenInMain:true,
- },
- {
- label: '到货主代码',
- field: 'toOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- isTableForm: false,
- isForm: false
- },
+ // {
+ // label: '从货主代码',
+ // field: 'fromOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // isTableForm: false,
+ // isForm: false,
+ // hiddenInMain:true,
+ // },
+ // {
+ // label: '到货主代码',
+ // field: 'toOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // isTableForm: false,
+ // isForm: false
+ // },
{
label: '操作',
hiddenInMain:true,
From 4f577780862a0a9abd19c2d416248749f7599d6d Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Mon, 15 Jul 2024 19:53:32 +0800
Subject: [PATCH 43/51] =?UTF-8?q?=E9=87=87=E8=B4=AD=E6=94=B6=E8=B4=A7?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/BasicForm/src/BasicForm.vue | 39 ++++++++++++++-----
.../purchasereceiptRequestMain.data.ts | 11 +++++-
2 files changed, 40 insertions(+), 10 deletions(-)
diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue
index c36b73763..74928cee4 100644
--- a/src/components/BasicForm/src/BasicForm.vue
+++ b/src/components/BasicForm/src/BasicForm.vue
@@ -134,8 +134,7 @@
:showSearchTableQueryFields="showSearchTableQueryFields"
@searchTableSuccess="searchTableSuccess"
>
-
-
+
@@ -843,18 +842,25 @@ const onChange = (field, cur) => {
const onBlur = async (field, e) => {
isExecute.value = false
let formSchemaObj = formSchema.value.find((item) => item.field == field)?.componentProps
-
+
if (formSchemaObj?.enterSearch) {
- await FormBlur(field, e, routeName.value, formRef.value, props.detailData, formSchemaObj, (list) => {
- emit('searchTableSuccess', field, formSchemaObj.searchField, list, formRef.value, 'form')
- })
+ await FormBlur(
+ field,
+ e,
+ routeName.value,
+ formRef.value,
+ props.detailData,
+ formSchemaObj,
+ (list) => {
+ emit('searchTableSuccess', field, formSchemaObj.searchField, list, formRef.value, 'form')
+ }
+ )
} else {
emit('onBlur', field, e)
}
isExecute.value = true
}
-
// 批量增加
const batchAdd = async (val) => {
const row = {}
@@ -921,8 +927,23 @@ const inputStringBlur = async (headerItem, val, row, index) => {
* @param field 当前操作字段
* @param e
*/
-const onEnter = (field, value, e) => {
- emit('onEnter', field, value, e)
+const onEnter = async (field, value, e) => {
+ let formSchemaObj = formSchema.value.find((item) => item.field == field)?.componentProps
+ if (formSchemaObj?.enterSearch && formSchemaObj?.isEnter ) {
+ await FormBlur(
+ field,
+ value,
+ routeName.value,
+ formRef.value,
+ props.detailData,
+ formSchemaObj,
+ (list) => {
+ emit('onEnter', field, value, e)
+ }
+ )
+ } else {
+ emit('onEnter', field, value, e)
+ }
}
// 修改盘点类型
diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
index 15bb63b55..abb308c19 100644
--- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
@@ -68,6 +68,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive(
searchDetailSchemas:PurchaseDetail.allSchemas,
searchAllSchemas: PurchaseMain.allSchemas, // 查询弹窗所需类
searchPage: PurchaseDetailApi.getPurchaseDetailPageWMS, // 查询弹窗所需分页方法
+ isEnter:true,
searchCondition: [{
key:'status',
value:'2',
@@ -80,7 +81,15 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive(
action: '==', // 查询拼接条件
isSearch: true, // 使用自定义拼接条件
isMainValue: false // 拼接条件必须要 false 同时不能与 isMainValue: true 同用
- }]
+ }],
+ verificationParams: [{
+ key: 'number',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
},
isForm: true,
From 2073f4d7bfabf9bfeb21571048149ad4890368c2 Mon Sep 17 00:00:00 2001
From: zhaoxuebing <1291173720@qq.com>
Date: Tue, 16 Jul 2024 08:09:31 +0800
Subject: [PATCH 44/51] =?UTF-8?q?=E6=97=A0=E7=94=A8=E5=AD=97=E6=AE=B5?=
=?UTF-8?q?=E6=B3=A8=E9=87=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../putawayRecordMain.data.ts | 36 +++++++++----------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts
index 64063dbc4..f1efeeada 100644
--- a/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts
@@ -513,15 +513,15 @@ export const PutawayRecordDetail = useCrudSchemas(reactive([
},
sortTableDefault:3,
},
- {
- label: '从货主代码',
- field: 'fromOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- },
+ // {
+ // label: '从货主代码',
+ // field: 'fromOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // },
{
label: '从库位代码',
field: 'fromLocationCode',
@@ -549,15 +549,15 @@ export const PutawayRecordDetail = useCrudSchemas(reactive([
},
hiddenInMain:true,
},
- {
- label: '到货主代码',
- field: 'toOwnerCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- },
+ // {
+ // label: '到货主代码',
+ // field: 'toOwnerCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // hiddenInMain:true,
+ // },
{
label: '到库位代码',
field: 'toLocationCode',
From 897a1ef8a4124acd5516141e0dbaf54b774044fb Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Tue, 16 Jul 2024 09:12:13 +0800
Subject: [PATCH 45/51] =?UTF-8?q?=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productputawayRequestMain.data.ts | 20 +++++++++----------
.../productreceiptRecordMain.data.ts | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts
index a6a53ba52..48ff2d557 100644
--- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts
+++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts
@@ -612,7 +612,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 180
},
- hiddeInMain: true,
+ hiddenInMain: true,
isTableForm: false,
form: {
componentProps: {
@@ -627,7 +627,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- hiddeInMain: true,
+ hiddenInMain: true,
},
{
label: '创建时间',
@@ -640,7 +640,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 180
},
- hiddeInMain: true,
+ hiddenInMain: true,
form: {
component: 'DatePicker',
componentProps: {
@@ -659,7 +659,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- hiddeInMain: true,
+ hiddenInMain: true,
isTableForm: false,
isForm: false
},
@@ -671,7 +671,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- hiddeInMain: true,
+ hiddenInMain: true,
isTableForm: false,
isForm: false
},
@@ -682,7 +682,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- hiddeInMain: true,
+ hiddenInMain: true,
isTableForm: false,
isForm: false
},
@@ -693,7 +693,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- hiddeInMain: true,
+ hiddenInMain: true,
isTableForm: false,
isForm: false
},
@@ -704,7 +704,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- hiddeInMain: true,
+ hiddenInMain: true,
form: {
component: 'InputNumber',
componentProps: {
@@ -726,7 +726,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- hiddeInMain: true,
+ hiddenInMain: true,
isTableForm: false,
isForm: false
},
@@ -737,7 +737,7 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- hiddeInMain: true,
+ hiddenInMain: true,
isTableForm: false,
isForm: false
},
diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts
index 7253d12da..81838b9a2 100644
--- a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts
+++ b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts
@@ -724,7 +724,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive(
isDetail: false,
isForm: false ,
table: {
- width: 150,
+ width: 220,
fixed: 'right'
},
isTableForm:true,
From 5927242a9d79d233ad927a06a1446e7a95f6eb64 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Tue, 16 Jul 2024 09:37:14 +0800
Subject: [PATCH 46/51] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=87=8C=E9=9D=A2?=
=?UTF-8?q?=E4=B8=A4=E4=B8=AA=E6=93=8D=E4=BD=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productscrapRequestMain/productscrapRequestMain.data.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts
index 4c22a63cc..3fac21ff8 100644
--- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts
+++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts
@@ -1068,11 +1068,11 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([
isDetail: false,
isForm: false ,
hiddenInMain:true,
+ isTableForm:false,
table: {
width: 150,
fixed: 'right'
},
- hiddeInMain:true,
tableForm: {
type: 'action',
buttonText: 'Bom',
From 277676960eeef19c234b73e1107335d92a04219c Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Tue, 16 Jul 2024 10:30:32 +0800
Subject: [PATCH 47/51] =?UTF-8?q?tableForm=E5=A4=B1=E5=8E=BB=E7=84=A6?=
=?UTF-8?q?=E7=82=B9=E6=A0=A1=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wms/business/inputBlur.ts | 460 ++++++++++++------
src/components/BasicForm/src/BasicForm.vue | 4 +-
.../purchasereceiptRequestMain.data.ts | 13 +-
3 files changed, 320 insertions(+), 157 deletions(-)
diff --git a/src/api/wms/business/inputBlur.ts b/src/api/wms/business/inputBlur.ts
index 50ffd9583..20a179bb8 100644
--- a/src/api/wms/business/inputBlur.ts
+++ b/src/api/wms/business/inputBlur.ts
@@ -22,95 +22,122 @@ const { t } = useI18n() // 国际化
* tableFormBlur 表格表单失去焦点时候获取焦点
* FormBlur 表格失去焦点时候获取焦点
*/
-export const tableFormBlurVer = async (headerItem, val, row, index,routeName,formRef,detailData,tableData,callback) => {
- if (
- headerItem.field == 'fromPackingNumber' ||
- headerItem.field == 'packingNumber' ||
- headerItem.field == 'itemCode' ||
- headerItem.field == 'packUnit' ||
- headerItem.field == 'secondPackUnit' ||
- headerItem.field == 'fromPackUnit' ||
- headerItem.field == 'toPackUnit'||
- headerItem.field == 'toPackUnit'||
- headerItem.field == 'supplierItemCode'
-
- ) {
- let searchField = headerItem.field
- let pageApi = ref()
- let params = ref()
-
+export const tableFormBlurVer = async (headerItem, val, row, index, routeName, formRef, detailData, tableData, callback) => {
+ if (headerItem.tableForm.searchPage && headerItem.tableForm.verificationParams) {
if (val && isString(val)) {
- // const obj = props.tableAllSchemas.tableFormColumns.find((item) => item.field == headerItem.field)
if (val.indexOf(',') > -1) {
message.alert('该输入框只能输入一条数据')
row[headerItem.field] = ''
return
}
// 校验
- let params = ref({})
- let searchCondition1 = headerItem.tableForm.searchCondition //获取data.ts参数信息
+ const params = ref({})
+ const filters: any[] = []
+ const searchCondition = headerItem.tableForm.searchCondition //获取data.ts参数信息
+ const verificationParams = headerItem.tableForm.verificationParams //获取data.ts参数信息
// 循环参数设置参数为key:value格式
- if (searchCondition1 && searchCondition1.length > 0) {
- for (let i = 0; i < searchCondition1.length; i++) {
- if (searchCondition1[i].isMainValue) {
- params.value[searchCondition1[i].key] = formRef.formModel[
- searchCondition1[i].value
+ if (searchCondition && searchCondition.length > 0) {
+ for (let i = 0; i < searchCondition.length; i++) {
+ if (searchCondition[i].isMainValue) {
+ params.value[searchCondition[i].key] = formRef.formModel[
+ searchCondition[i].value
]
- ? formRef.formModel[searchCondition1[i].value]
+ ? formRef.formModel[searchCondition[i].value]
: detailData
- ? detailData[searchCondition1[i].value]
- : row
- ? row[searchCondition1[i].value]
- : ''
+ ? detailData[searchCondition[i].value]
+ : row
+ ? row[searchCondition[i].value]
+ : ''
// 是否含有空参数情况
let isNull = false
if (
- params.value[searchCondition1[i].key] == '' ||
- params.value[searchCondition1[i].key] == undefined
+ params.value[searchCondition[i].key] == '' ||
+ params.value[searchCondition[i].key] == undefined
) {
isNull = true
}
if (isNull) {
message.warning(
- searchCondition1[i].message ? searchCondition1[i].message : '前置条件未选择!'
+ searchCondition[i].message ? searchCondition[i].message : '前置条件未选择!'
)
row[headerItem.field] = ''
return
}
+ filters.push({
+ action: searchCondition[i].action || '==',
+ column: searchCondition[i].key,
+ value: formRef.formModel[searchCondition[i].value]
+ })
} else {
// 扩展 转换为筛选条件进行查询
- if (searchCondition1[i].isSearch) {
- if (searchCondition1[i].isFormModel) {
+ if (searchCondition[i].isSearch) {
+ if (searchCondition[i].isFormModel) {
//用formModel中的值
- if (searchCondition1[i].required) {
+ if (searchCondition[i].required) {
if (
- formRef.formModel[searchCondition1[i].value] == '' ||
- formRef.formModel[searchCondition1[i].value] == undefined
+ formRef.formModel[searchCondition[i].value] == '' ||
+ formRef.formModel[searchCondition[i].value] == undefined
) {
message.warning(
- searchCondition1[i].message ? searchCondition1[i].message : '前置条件未选择!'
+ searchCondition[i].message ? searchCondition[i].message : '前置条件未选择!'
)
row[headerItem.field] = ''
return
}
}
}
+ filters.push({
+ action: searchCondition[i].action || '==',
+ column: searchCondition[i].key,
+ value: formRef.formModel[searchCondition[i].value]
+ })
} else {
- params.value[searchCondition1[i].key] = searchCondition1[i].value
+ params.value[searchCondition[i].key] = searchCondition[i].value
}
}
}
}
- params.value[headerItem.field] = val?.trim()
+ if (verificationParams && verificationParams.length > 0) {
+ // 转换筛选条件所需
+ for (let i = 0; i < verificationParams.length; i++) {
+ // 扩展 转换为筛选条件进行查询
+ if (verificationParams[i].isSearch) {
+ if (verificationParams[i].isFormModel) {
+ filters.push({
+ action: verificationParams[i].action,
+ column: verificationParams[i].key,
+ value: formRef.formModel[verificationParams[i].value]
+ ? formRef.formModel[verificationParams[i].value]
+ : val.trim()
+ })
+ filters.push({
+ action: searchCondition[i].action || '==',
+ column: searchCondition[i].key,
+ value: formRef.formModel[searchCondition[i].value]
+ })
+ } else {
+ filters.push({
+ action: searchCondition[i].action || '==',
+ column: searchCondition[i].key,
+ value: searchCondition[i].value
+ })
+ }
+ } else {
+ params[verificationParams[i].key] = verificationParams[i].value
+ }
+ }
+ }
// 判断改包装号是否已经添加
const seen = new Set()
const repeatCode = new Set()
- let arr = tableData.map((item) => item[headerItem.field]?.trim())
+ const arr = tableData.map((item) => item[headerItem.field]?.trim())
arr.forEach((item) => {
- if (seen.has(item)) {
- repeatCode.add(item)
- } else {
- seen.add(item)
+ if (item) {
+ if (seen.has(item)) {
+ repeatCode.add(item)
+ } else {
+ seen.add(item)
+ }
}
})
const arr1 = Array.from(repeatCode)
@@ -119,132 +146,258 @@ export const tableFormBlurVer = async (headerItem, val, row, index,routeName,for
row[headerItem.field] = ''
return
}
- if (
- headerItem.field == 'fromPackingNumber' ||
- headerItem.field == 'packingNumber' ||
- headerItem.field == 'itemCode'
- ) {
- // 业务
- // 采购退货申请,制品拆解,调拨出库,报废出库申请,合格转隔离,隔离转合格,隔离转报废,合格转报废,报废转隔离,库存移动申请,库存修改申请
- if (
- routeName == 'PurchasereturnRequestMain' ||
- routeName == 'ProductdismantleRequestMain' ||
- routeName == 'TransferissueRequestMain' ||
- routeName == 'ScrapRequestMain' ||
- routeName == 'OktoholdRequestMain' ||
- routeName == 'HoldtookRequestMain' ||
- routeName == 'HoldtoscrapRequestMain' ||
- routeName == 'OktoscrapRequestMain' ||
- routeName == 'ScraptoholdRequestMain' ||
- routeName == 'InventorymoveRequestMain' ||
- routeName == 'InventorychangeRequestMain'
- ) {
- // //合格转隔离,隔离转合格,隔离转报废,合格转报废,报废转隔离,库存移动申请参数稍有不同
- // if (
- // routeName == 'OktoholdRequestMain' ||
- // routeName == 'HoldtookRequestMain' ||
- // routeName == 'HoldtoscrapRequestMain' ||
- // routeName == 'OktoscrapRequestMain' ||
- // routeName == 'ScraptoholdRequestMain' ||
- // routeName == 'InventorymoveRequestMain' ||
- // routeName == 'InventorychangeRequestMain'
- // ) {
- // searchField = 'packingNumber'
- // params.value.packingNumber = val?.trim()
- // }
- // pageApi.value = getBalanceItemListByCodes
- } else if (
- routeName == 'RepleinshRequestMain' ||
- routeName == 'IssueRequestMain' ||
- routeName == 'InventoryinitRequestMain'
- ) {
- // 补料申请业务
- pageApi.value = getItemListByCodes
- searchField = 'code'
- params.value.codes = val?.trim()
- } else if (
- routeName == 'ProductionMainAssemble' ||
- routeName == 'ProductionMainASparePart' ||
- routeName == 'ProductionMainPredictSparePart' ||
- routeName == 'ProductreceiptRequestMain' ||
- routeName == 'ProductreceiptRequestMainA' ||
- routeName == 'ProductreceiptscrapRequestMain' ||
- routeName == 'ProductscrapRequestMain'
- ) {
- // 装配计划,裝配备件计划,预备产件计划,预生产收货申请,装配收货申请,报修收货申请,制品报废申请
- pageApi.value = getProductionLineCodelistByCodes
- params.value.productionLineCode=
- formRef.formModel.productionLine || formRef.formModel.productionLineCode || row.productionLine || row.productionLineCode,
- params.value.itemCodes=val?.trim()
- }
- } else if (
- headerItem.field == 'packUnit' ||
- headerItem.field == 'secondPackUnit' ||
- headerItem.field == 'fromPackUnit' ||
- headerItem.field == 'toPackUnit'
- ) {
- searchField = 'packUnit'
- //包装规格
- // 预生产收货申请,装配收货申请,报修收货申请,客户退货申请,计划外入库,计划外出库,翻包申请
- if (
- routeName == 'ProductreceiptRequestMain' ||
- routeName == 'ProductreceiptRequestMainA' ||
- routeName == 'ProductreceiptscrapRequestMain' ||
- routeName == 'CustomerreturnRequestMain' ||
- routeName == 'UnplannedreceiptRequestMain' ||
- routeName == 'UnplannedissueJobMain' ||
- routeName == 'PackageoverRequestMain'
- ) {
- params.value.itemCode= row.itemCode
- params.value.packUnit= val?.trim()
- pageApi.value = getItemPackageunitListByCodes
- }
- } else if (
- headerItem.field == 'supplierItemCode'
- ) {
- // 生产退料申请,隔离退料申请
- if (
- routeName == 'ProductionreturnRequestMain' ||
- routeName == 'ProductionreturnRequestMainNo'
- ) {
- searchField = 'supplierCode'
- params.value.itemCodes= row.itemCode
- params.value.supplierCode= val?.trim()
- pageApi.value = getSupplierItemListByCodes
- }
+ if (filters.length > 0) {
+ params.value.isSearch = true
+ params.value.filters = filters
+ }
+ const obj = {
+ by: 'ASC',
+ pageNo: 1,
+ pageSize: 20
+ }
+ params.value = {
+ isSearch: params.value.isSearch,
+ filters: params.value.filters,
+ ...obj
}
const list = ref()
// 调取包装接口
- await pageApi.value(params.value).then(async (res) => {
- list.value = res ? res : []
+ await headerItem.tableForm.searchPage(params.value).then(async (res) => {
+
+ list.value = res?.list?.length > 0 ? res.list.slice(0, 1) : []
// 只查一条数据,多条数据查询默认显示不存在
- if (res.length == 1) {
- callback(searchField,list.value)
- } else {
+ if (list.value?.length == 0) {
message.alert('代码' + row[headerItem.field] + '没有找到对应数据')
row[headerItem.field] = ''
return
}
+ callback(list.value)
})
}
+ } else {
+ if (
+ headerItem.field == 'fromPackingNumber' ||
+ headerItem.field == 'packingNumber' ||
+ headerItem.field == 'itemCode' ||
+ headerItem.field == 'packUnit' ||
+ headerItem.field == 'secondPackUnit' ||
+ headerItem.field == 'fromPackUnit' ||
+ headerItem.field == 'toPackUnit'||
+ headerItem.field == 'toPackUnit'||
+ headerItem.field == 'supplierItemCode'
+
+ ) {
+ let searchField = headerItem.field
+ let pageApi = ref()
+ let params = ref()
+
+ if (val && isString(val)) {
+ // const obj = props.tableAllSchemas.tableFormColumns.find((item) => item.field == headerItem.field)
+ if (val.indexOf(',') > -1) {
+ message.alert('该输入框只能输入一条数据')
+ row[headerItem.field] = ''
+ return
+ }
+ // 校验
+ let params = ref({})
+ let searchCondition1 = headerItem.tableForm.searchCondition //获取data.ts参数信息
+ // 循环参数设置参数为key:value格式
+ if (searchCondition1 && searchCondition1.length > 0) {
+ for (let i = 0; i < searchCondition1.length; i++) {
+ if (searchCondition1[i].isMainValue) {
+ params.value[searchCondition1[i].key] = formRef.formModel[
+ searchCondition1[i].value
+ ]
+ ? formRef.formModel[searchCondition1[i].value]
+ : detailData
+ ? detailData[searchCondition1[i].value]
+ : row
+ ? row[searchCondition1[i].value]
+ : ''
+ // 是否含有空参数情况
+ let isNull = false
+ if (
+ params.value[searchCondition1[i].key] == '' ||
+ params.value[searchCondition1[i].key] == undefined
+ ) {
+ isNull = true
+ }
+ if (isNull) {
+ message.warning(
+ searchCondition1[i].message ? searchCondition1[i].message : '前置条件未选择!'
+ )
+ row[headerItem.field] = ''
+ return
+ }
+ } else {
+ // 扩展 转换为筛选条件进行查询
+ if (searchCondition1[i].isSearch) {
+ if (searchCondition1[i].isFormModel) {
+ //用formModel中的值
+ if (searchCondition1[i].required) {
+ if (
+ formRef.formModel[searchCondition1[i].value] == '' ||
+ formRef.formModel[searchCondition1[i].value] == undefined
+ ) {
+ message.warning(
+ searchCondition1[i].message ? searchCondition1[i].message : '前置条件未选择!'
+ )
+ row[headerItem.field] = ''
+ return
+ }
+ }
+ }
+ } else {
+ params.value[searchCondition1[i].key] = searchCondition1[i].value
+ }
+ }
+ }
+ }
+ params.value[headerItem.field] = val?.trim()
+ // 判断改包装号是否已经添加
+ const seen = new Set()
+ const repeatCode = new Set()
+ let arr = tableData.map((item) => item[headerItem.field]?.trim())
+ arr.forEach((item) => {
+ if (seen.has(item)) {
+ repeatCode.add(item)
+ } else {
+ seen.add(item)
+ }
+ })
+ const arr1 = Array.from(repeatCode)
+ if (arr1.length > 0) {
+ message.warning(`${arr1.join(',')}${t('ts.已经存在')}`)
+ row[headerItem.field] = ''
+ return
+ }
+ if (
+ headerItem.field == 'fromPackingNumber' ||
+ headerItem.field == 'packingNumber' ||
+ headerItem.field == 'itemCode'
+ ) {
+ // 业务
+ // 采购退货申请,制品拆解,调拨出库,报废出库申请,合格转隔离,隔离转合格,隔离转报废,合格转报废,报废转隔离,库存移动申请,库存修改申请
+ if (
+ routeName == 'PurchasereturnRequestMain' ||
+ routeName == 'ProductdismantleRequestMain' ||
+ routeName == 'TransferissueRequestMain' ||
+ routeName == 'ScrapRequestMain' ||
+ routeName == 'OktoholdRequestMain' ||
+ routeName == 'HoldtookRequestMain' ||
+ routeName == 'HoldtoscrapRequestMain' ||
+ routeName == 'OktoscrapRequestMain' ||
+ routeName == 'ScraptoholdRequestMain' ||
+ routeName == 'InventorymoveRequestMain' ||
+ routeName == 'InventorychangeRequestMain'
+ ) {
+ // //合格转隔离,隔离转合格,隔离转报废,合格转报废,报废转隔离,库存移动申请参数稍有不同
+ // if (
+ // routeName == 'OktoholdRequestMain' ||
+ // routeName == 'HoldtookRequestMain' ||
+ // routeName == 'HoldtoscrapRequestMain' ||
+ // routeName == 'OktoscrapRequestMain' ||
+ // routeName == 'ScraptoholdRequestMain' ||
+ // routeName == 'InventorymoveRequestMain' ||
+ // routeName == 'InventorychangeRequestMain'
+ // ) {
+ // searchField = 'packingNumber'
+ // params.value.packingNumber = val?.trim()
+ // }
+ // pageApi.value = getBalanceItemListByCodes
+ } else if (
+ routeName == 'RepleinshRequestMain' ||
+ routeName == 'IssueRequestMain' ||
+ routeName == 'InventoryinitRequestMain'
+ ) {
+ // 补料申请业务
+ pageApi.value = getItemListByCodes
+ searchField = 'code'
+ params.value.codes = val?.trim()
+ } else if (
+ routeName == 'ProductionMainAssemble' ||
+ routeName == 'ProductionMainASparePart' ||
+ routeName == 'ProductionMainPredictSparePart' ||
+ routeName == 'ProductreceiptRequestMain' ||
+ routeName == 'ProductreceiptRequestMainA' ||
+ routeName == 'ProductreceiptscrapRequestMain' ||
+ routeName == 'ProductscrapRequestMain'
+ ) {
+ // 装配计划,裝配备件计划,预备产件计划,预生产收货申请,装配收货申请,报修收货申请,制品报废申请
+ pageApi.value = getProductionLineCodelistByCodes
+ params.value.productionLineCode=
+ formRef.formModel.productionLine || formRef.formModel.productionLineCode || row.productionLine || row.productionLineCode,
+ params.value.itemCodes=val?.trim()
+ }
+ } else if (
+ headerItem.field == 'packUnit' ||
+ headerItem.field == 'secondPackUnit' ||
+ headerItem.field == 'fromPackUnit' ||
+ headerItem.field == 'toPackUnit'
+ ) {
+ searchField = 'packUnit'
+ //包装规格
+ // 预生产收货申请,装配收货申请,报修收货申请,客户退货申请,计划外入库,计划外出库,翻包申请
+ if (
+ routeName == 'ProductreceiptRequestMain' ||
+ routeName == 'ProductreceiptRequestMainA' ||
+ routeName == 'ProductreceiptscrapRequestMain' ||
+ routeName == 'CustomerreturnRequestMain' ||
+ routeName == 'UnplannedreceiptRequestMain' ||
+ routeName == 'UnplannedissueJobMain' ||
+ routeName == 'PackageoverRequestMain'
+ ) {
+ params.value.itemCode= row.itemCode
+ params.value.packUnit= val?.trim()
+ pageApi.value = getItemPackageunitListByCodes
+ }
+ } else if (
+ headerItem.field == 'supplierItemCode'
+ ) {
+ // 生产退料申请,隔离退料申请
+ if (
+ routeName == 'ProductionreturnRequestMain' ||
+ routeName == 'ProductionreturnRequestMainNo'
+ ) {
+ searchField = 'supplierCode'
+ params.value.itemCodes= row.itemCode
+ params.value.supplierCode= val?.trim()
+ pageApi.value = getSupplierItemListByCodes
+ }
+ }
+ const list = ref()
+ // 调取包装接口
+ await pageApi.value(params.value).then(async (res) => {
+ list.value = res ? res : []
+ // 只查一条数据,多条数据查询默认显示不存在
+ if (res.length == 1) {
+ callback(list.value)
+ } else {
+ message.alert('代码' + row[headerItem.field] + '没有找到对应数据')
+ row[headerItem.field] = ''
+ return
+ }
+ })
+ }
+ }
}
}
export const FormBlur = async (field, val, routeName, formRef, detailData, formSchema, callback) => {
if (formSchema.searchPage && formSchema.verificationParams) {
//获取data.ts参数信息
- let searchCondition = formSchema?.searchCondition || []
+ const searchCondition = formSchema?.searchCondition || []
//获取失去焦点参数信息
- let verificationParams = formSchema?.verificationParams ||
+ const verificationParams = formSchema?.verificationParams ||
[]
console.log('走新方法啦')
// searchCondition = [...searchCondition, ...verificationParams]
if (val && isString(val)) {
- let setV = {}
+ const setV = {}
setV[field] = ''
let params = {}
const _searchCondition = {}
- let filters: any[] = []
+ const filters: any[] = []
if (searchCondition && searchCondition.length > 0) {
// 转换筛选条件所需
for (let i = 0; i < searchCondition.length; i++) {
@@ -359,12 +512,13 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS
}
}
}
+ console.log(filters)
if (filters.length > 0) {
_searchCondition.isSearch = true
_searchCondition.filters = filters
}
console.log(4545, _searchCondition)
- let obj = {
+ const obj = {
by: 'ASC',
pageNo: 1,
pageSize: 20
@@ -382,8 +536,8 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS
return
}
await formSchema.searchPage(params).then((res) => {
- let arr1 = val.split(',')
- let list = ref([])
+ const arr1 = val.split(',')
+ const list = ref([])
list.value = res?.list?.length > 0 ? res.list.slice(0, 1) : []
if (list.value?.length == 0) {
message.alert('暂无数据')
@@ -391,8 +545,8 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS
return
}
if (arr1.length != list.value.length) {
- let arr2 = list.value.map((item) => item.code)
- let str = [
+ const arr2 = list.value.map((item) => item.code)
+ const str = [
...arr1.filter((item) => !arr2.includes(item)),
...arr2.filter((item) => !arr1.includes(item))
].join(',')
diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue
index 74928cee4..99a390f19 100644
--- a/src/components/BasicForm/src/BasicForm.vue
+++ b/src/components/BasicForm/src/BasicForm.vue
@@ -904,11 +904,11 @@ const inputStringBlur = async (headerItem, val, row, index) => {
formRef.value,
props.detailData,
props.tableData,
- (searchField, list) => {
+ ( list) => {
emit(
'searchTableSuccess',
headerItem.field,
- searchField,
+ headerItem.tableForm.searchField,
list,
formRef.value,
'tableForm',
diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
index abb308c19..f83af7467 100644
--- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
@@ -988,7 +988,8 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive
Date: Tue, 16 Jul 2024 10:51:40 +0800
Subject: [PATCH 48/51] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/qms/inspectionRequest/inspectionRequestMain.data.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts b/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts
index af771ca97..081511ac3 100644
--- a/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts
+++ b/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts
@@ -457,7 +457,7 @@ export const InspectionMain = useCrudSchemas(
isForm: false,
isDetail: false,
table: {
- width: 150,
+ width: 300,
fixed: 'right'
}
}
From 5714f9057919ebec21d037460587f38811a491ea Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Tue, 16 Jul 2024 11:07:30 +0800
Subject: [PATCH 49/51] =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=80=80=E8=B4=A7?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereturnRequestMain/purchasereturnRequestMain.data.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts
index eef4f4f85..2c770f1d7 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts
@@ -871,7 +871,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
- isSearch: true,
+ // isSearch: true,
isTable: true,
sort: 'custom',
table: {
From 5e3e8d719fbe754a418426a312a4bbc1040a4ede Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Tue, 16 Jul 2024 11:09:48 +0800
Subject: [PATCH 50/51] =?UTF-8?q?=E5=88=B0=E5=BA=93=E4=BD=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
index 308e02f7a..0e728c496 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
+++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
@@ -642,7 +642,7 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([
},
hiddenInMain:true,
sortSearchDefault:1000,
- isSearch: true,
+ // isSearch: true,
sortTableDefault:1100,
isTableForm: false,
},
From 9df8efb839df0e2e68043d7c00d05bc07e0b4e2e Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Tue, 16 Jul 2024 11:47:52 +0800
Subject: [PATCH 51/51] =?UTF-8?q?=E9=87=87=E8=B4=AD=E6=94=B6=E8=B4=A7?=
=?UTF-8?q?=E7=AE=A1=E7=90=86=E5=A4=B1=E5=8E=BB=E7=84=A6=E7=82=B9=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wms/business/inputBlur.ts | 37 +++++++---
.../purchasereceiptRequestMain.data.ts | 11 ++-
.../purchasereceiptRequestMain.data.ts | 34 +++++++--
.../purchasereturnRequestMain.data.ts | 71 ++++++++++++++++---
.../sparereceiptRequestMain.data.ts | 34 +++++++--
5 files changed, 161 insertions(+), 26 deletions(-)
diff --git a/src/api/wms/business/inputBlur.ts b/src/api/wms/business/inputBlur.ts
index 20a179bb8..905a255d5 100644
--- a/src/api/wms/business/inputBlur.ts
+++ b/src/api/wms/business/inputBlur.ts
@@ -68,6 +68,22 @@ export const tableFormBlurVer = async (headerItem, val, row, index, routeName, f
column: searchCondition[i].key,
value: formRef.formModel[searchCondition[i].value]
})
+ } else if (searchCondition[i].isTableRowValue) {
+ if (searchCondition[i].required) {
+ if (row[searchCondition[i].value] == '' || row[searchCondition[i].value] == undefined) {
+ message.warning(
+ searchCondition[i].message ? searchCondition[i].message : '前置条件未选择!'
+ )
+ row[headerItem.field] = ''
+ return
+ }
+ }
+ //查询当前table表数据的值
+ filters.push({
+ action: searchCondition[i].action || '==',
+ column: searchCondition[i].key,
+ value: row[searchCondition[i].value]
+ })
} else {
// 扩展 转换为筛选条件进行查询
if (searchCondition[i].isSearch) {
@@ -85,14 +101,24 @@ export const tableFormBlurVer = async (headerItem, val, row, index, routeName, f
return
}
}
+ filters.push({
+ action: searchCondition[i].action || '==',
+ column: searchCondition[i].key,
+ value: formRef.formModel[searchCondition[i].value]
+ })
+ } else {
+ filters.push({
+ action: searchCondition[i].action || '==',
+ column: searchCondition[i].key,
+ value: searchCondition[i].value
+ })
}
+ } else {
filters.push({
action: searchCondition[i].action || '==',
column: searchCondition[i].key,
- value: formRef.formModel[searchCondition[i].value]
+ value: searchCondition[i].value
})
- } else {
- params.value[searchCondition[i].key] = searchCondition[i].value
}
}
}
@@ -110,11 +136,6 @@ export const tableFormBlurVer = async (headerItem, val, row, index, routeName, f
? formRef.formModel[verificationParams[i].value]
: val.trim()
})
- filters.push({
- action: searchCondition[i].action || '==',
- column: searchCondition[i].key,
- value: formRef.formModel[searchCondition[i].value]
- })
} else {
filters.push({
action: searchCondition[i].action || '==',
diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
index f83af7467..d2e2d5928 100644
--- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
@@ -975,6 +975,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive(
action: '==', // 查询拼接条件
isSearch: true, // 使用自定义拼接条件
isMainValue: false // 拼接条件必须要 false 同时不能与 isMainValue: true 同用
- }]
+ }],
+ verificationParams: [{
+ key: 'number',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
},
isForm: true,
@@ -966,6 +974,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive([
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
- searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法
+ searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -209,6 +217,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
+ enterSearch: true,
disabled:true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择采购收货记录单号', // 输入框占位文本
@@ -221,7 +230,15 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([
key: 'supplierCode',
value: 'supplierCode',
isMainValue: true
- }]
+ }],
+ verificationParams: [{
+ key: 'number',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
}
},
@@ -943,7 +960,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive
table: {
width: 150
},
- tableForm:{
+ tableForm: {
+ enterSearch: true,
// labelMessage: '信息提示说明!!!',
isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择从库位代码',
@@ -961,7 +979,15 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive
value: 'out',
message: '',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
},
// form: {
// componentProps:{
@@ -971,6 +997,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive
form:{
// labelMessage: '信息提示说明!!!',
componentProps: {
+ enterSearch: true,
isSearchList: true,
searchListPlaceholder: '请选择从库位代码',
searchField: 'code',
@@ -987,7 +1014,15 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive
value: 'out',
message: '',
isMainValue: false
- }]
+ }],
+ verificationParams: [{
+ key: 'code',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
},
hiddenInMain: true,
@@ -1008,7 +1043,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive
// }
// },
form: {
- componentProps:{
+ componentProps: {
+ enterSearch: true,
isSearchList: true,
searchListPlaceholder: '请选择包装号',
searchField: 'packingNumber',
@@ -1036,10 +1072,19 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive
isTableRowValue: true, //查询当前searchTable表中行数据的值
required:true,
isMainValue:true
- }]
+ }],
+ verificationParams: [{
+ key: 'packingNumber',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
},
- tableForm:{
+ tableForm: {
+ enterSearch: true,
multiple: true,
// labelMessage: '信息提示说明!!!',
isInpuFocusShow: true, // 开启查询弹窗
@@ -1069,7 +1114,15 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive
isTableRowValue: true, //查询当前searchTable表中行数据的值
required:true,
isMainValue:false
- }]
+ }],
+ verificationParams: [{
+ key: 'packingNumber',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
},
},
{
diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts
index 767c6f791..c3e136109 100644
--- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts
@@ -84,7 +84,15 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive(
action: '==', // 查询拼接条件
isSearch: true, // 使用自定义拼接条件
isMainValue: false // 拼接条件必须要 false 同时不能与 isMainValue: true 同用
- }]
+ }],
+ verificationParams: [{
+ key: 'number',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: true,
+ isFormModel: true,
+ }], // 失去焦点校验参数
}
},
isForm: true,
@@ -967,6 +975,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive