From cebc010c355bfedddb7c51971c9729b22364d38d Mon Sep 17 00:00:00 2001 From: songguoqiang Date: Mon, 26 May 2025 16:59:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=81=E8=B4=A7=E9=A2=84=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demandforecastingMain.data.ts | 84 ++++++++++--------- .../demandforecastingMain.data.ts | 83 +++++++++--------- 2 files changed, 89 insertions(+), 78 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index 96d9be815..fce7e98ae 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -74,32 +74,37 @@ export const Supplier1 = useCrudSchemas(reactive([ } ])) export const Version = useCrudSchemas(reactive([ + // { + // label: '供应商代码', + // field: 'supplierCodes', + // sort: 'custom', + // isSearch:true, + // }, + // { + // label: '订单号', + // field: 'poNumber', + // sort: 'custom', + // isSearch:true, + // }, + // { + // label: '订单行', + // field: 'poLine', + // sort: 'custom', + // }, + // { + // label: '品番', + // field: 'itemCode', + // isSearch:true, + // sort: 'custom', + // }, { - label: '供应商代码', - field: 'supplierCodes', - sort: 'custom', - isSearch:true, - }, - { - label: '订单号', - field: 'poNumber', - sort: 'custom', - isSearch:true, - }, - { - label: '订单行', - field: 'poLine', - sort: 'custom', - }, - { - label: '品番', - field: 'itemCode', - isSearch:true, + label: '子表版本', + field: 'detailVersion', sort: 'custom', }, { - label: '子表版本', - field: 'detailVersion', + label: '年月', + field: 'yearMonth', sort: 'custom', } ])) @@ -246,23 +251,24 @@ hiddenSearchHigh:true, searchTitle: '版本号', // 查询弹窗标题 searchAllSchemas: Version.allSchemas, // 查询弹窗所需类 searchPage: DemandforecastingDetailApi.queryScpVersion, // 查询弹窗所需分页方法 - searchCondition: [{ - key: 'supplierCodes', - value: 'supplierCode', - message: '请填写供应商代码!', - isMainValue: true, - isCSV:true,//是否用逗号分隔参数 - },{ - key: 'itemCodes', - value: 'itemCode', - message: '请填写品番!', - isMainValue: true, - isCSV:true,//是否用逗号分隔参数 - },{ - key: 'available', - value: 'TRUE', - isMainValue: false - }] + // searchCondition: [{ + // key: 'supplierCodes', + // value: 'supplierCode', + // message: '请填写供应商代码!', + // isMainValue: true, + // isCSV:true,//是否用逗号分隔参数 + // },{ + // key: 'itemCodes', + // value: 'itemCode', + // message: '请填写品番!', + // isMainValue: true, + // isCSV:true,//是否用逗号分隔参数 + // }, + // { + // key: 'available', + // value: 'TRUE', + // isMainValue: false + // }] } } }, diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts index 9822df6de..2cf03f2dc 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts @@ -20,32 +20,37 @@ const { t } = useI18n() // 国际化 */ Supplieritem.allSchemas.searchSchema = Supplieritem.allSchemas.searchSchema.filter(item=>item.field!="allowOverShipment") export const Version = useCrudSchemas(reactive([ + // { + // label: '供应商代码', + // field: 'supplerCodes', + // sort: 'custom', + // isSearch:true, + // }, + // { + // label: '订单号', + // field: 'poNumber', + // sort: 'custom', + // isSearch:true, + // }, + // { + // label: '订单行', + // field: 'poLine', + // sort: 'custom', + // }, + // { + // label: '品番', + // field: 'itemCode', + // isSearch:true, + // sort: 'custom', + // }, { - label: '供应商代码', - field: 'supplerCodes', - sort: 'custom', - isSearch:true, - }, - { - label: '订单号', - field: 'poNumber', - sort: 'custom', - isSearch:true, - }, - { - label: '订单行', - field: 'poLine', - sort: 'custom', - }, - { - label: '品番', - field: 'itemCode', - isSearch:true, + label: '版本', + field: 'detailVersion', sort: 'custom', }, { - label: '子表版本', - field: 'detailVersion', + label: '年月', + field: 'yearMonth', sort: 'custom', } ])) @@ -138,23 +143,23 @@ hiddenSearchHigh:true, searchTitle: '版本号', // 查询弹窗标题 searchAllSchemas: Version.allSchemas, // 查询弹窗所需类 searchPage: DemandforecastingDetailApi.queryScpVersion, // 查询弹窗所需分页方法 - searchCondition: [{ - key: 'supplierCodes', - value: 'supplierCode', - message: '请填写供应商代码!', - isMainValue: true, - isCSV:true,//是否用逗号分隔参数 - },{ - key: 'itemCodes', - value: 'itemCode', - message: '请填写品番!', - isMainValue: true, - isCSV:true,//是否用逗号分隔参数 - },{ - key: 'available', - value: 'TRUE', - isMainValue: false - }] + // searchCondition: [{ + // key: 'supplierCodes', + // value: 'supplierCode', + // message: '请填写供应商代码!', + // isMainValue: true, + // isCSV:true,//是否用逗号分隔参数 + // },{ + // key: 'itemCodes', + // value: 'itemCode', + // message: '请填写品番!', + // isMainValue: true, + // isCSV:true,//是否用逗号分隔参数 + // },{ + // key: 'available', + // value: 'TRUE', + // isMainValue: false + // }] } } },