From d13e0784cc4d0345009eec61d53023c6ae33fb4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=83=9C=E6=A5=A0?= <2792649152@qq.com> Date: Tue, 28 Nov 2023 14:19:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demandforecastingMain.data.ts | 15 +++++++++- .../purchaseMain/purchaseMain.data.ts | 15 +++++++++- .../purchasePlanMain/purchasePlanMain.data.ts | 29 +++++++++++++++++-- .../purchaseclaimRequestMain.data.ts | 7 ++++- 4 files changed, 60 insertions(+), 6 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index 4be7b1106..64bd51887 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -26,7 +26,12 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ searchField: 'code', // 查询弹窗赋值字段 searchTitle: '供应商信息', // 查询弹窗标题 searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 - searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法 + searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -309,6 +314,10 @@ export const DemandforecastingDetail = useCrudSchemas(reactive([ key:'supplierCode', value:'supplierCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }//, //条件,例:isMainValue: true,表示查询条件是主表的字段的值 itemCode:查询列表中字段 supplierCode:指主表某字段 // { // key:'available', @@ -330,6 +339,10 @@ export const DemandforecastingDetail = useCrudSchemas(reactive([ key:'supplierCode', value:'supplierCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }//, //条件,例:isMainValue: true,表示查询条件是主表的字段的值 itemCode:查询列表中字段 supplierCode:指主表某字段 // { // key:'available', diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts index 8e5adedac..5542e8da7 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts @@ -37,7 +37,12 @@ export const PurchaseMain = useCrudSchemas(reactive([ searchField: 'code', // 查询弹窗赋值字段 searchTitle: '供应商信息', // 查询弹窗标题 searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 - searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法 + searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -375,6 +380,10 @@ export const PurchaseDetail = useCrudSchemas(reactive([ key:'supplierCode', value:'supplierCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] }, form: { @@ -390,6 +399,10 @@ export const PurchaseDetail = useCrudSchemas(reactive([ key:'supplierCode', value:'supplierCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] } } diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts index dc1864644..e4036623a 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts @@ -38,7 +38,12 @@ export const PurchasePlanMain = useCrudSchemas(reactive([ searchField: 'code', // 查询弹窗赋值字段 searchTitle: '供应商信息', // 查询弹窗标题 searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 - searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法 + searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -286,7 +291,12 @@ export const PurchasePlanDetail = useCrudSchemas(reactive([ searchField: 'number', searchTitle: '采购订单信息', searchAllSchemas: PurchaseMain.allSchemas, - searchPage: PurchaseMainApi.getPurchaseMainPage + searchPage: PurchaseMainApi.getPurchaseMainPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, form: { // labelMessage: '信息提示说明!!!', @@ -296,7 +306,12 @@ export const PurchasePlanDetail = useCrudSchemas(reactive([ searchField: 'number', searchTitle: '采购订单信息', searchAllSchemas: PurchaseMain.allSchemas, - searchPage: PurchaseMainApi.getPurchaseMainPage + searchPage: PurchaseMainApi.getPurchaseMainPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -318,6 +333,10 @@ export const PurchasePlanDetail = useCrudSchemas(reactive([ key:'number', value:'poNumber', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] }, form: { @@ -333,6 +352,10 @@ export const PurchasePlanDetail = useCrudSchemas(reactive([ key:'number', value:'poNumber', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] } } diff --git a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts index 1889ccb33..31603ae4f 100644 --- a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts +++ b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts @@ -53,7 +53,12 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive([ searchField: 'asnNumber', // 查询弹窗赋值字段 searchTitle: '供应商发货记录', // 查询弹窗标题 searchAllSchemas: SupplierdeliverRecordMain.allSchemas, // 查询弹窗所需类 - searchPage: supplierdeliverRecordMainApi.getSupplierdeliverRecordMainPage // 查询弹窗所需分页方法 + searchPage: supplierdeliverRecordMainApi.getSupplierdeliverRecordMainPage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } },