From 4efc1ca2a3883db1f84dfa636387a67e828c7cb5 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Tue, 5 Nov 2024 11:27:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=81=E8=B4=A7=E9=A2=84=E6=B5=8B-=E7=94=9F?= =?UTF-8?q?=E6=88=90=E8=A6=81=E8=B4=A7=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.wyf | 4 +- .../demandforecastingMain.data.ts | 69 +++++++++++++++ .../demandforecastingMain/index.vue | 84 ++++++++++++++++++- 3 files changed, 152 insertions(+), 5 deletions(-) diff --git a/.env.wyf b/.env.wyf index 1bbc40c94..c7e026438 100644 --- a/.env.wyf +++ b/.env.wyf @@ -4,10 +4,10 @@ NODE_ENV=development VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://192.168.1.35:12080' +VITE_BASE_URL='http://dev.ccwin-in.com:28040/api' # 上传路径 -VITE_UPLOAD_URL='http://192.168.1.35:12080/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://dev.ccwin-in.com:28040/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH=/dev-api diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index ee80b26df..9241aadf0 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -501,3 +501,72 @@ export const DemandforecastingDetailRules = reactive({ ], poLine: [{required:true, message: '请选择订单行', trigger: 'blur'}] }) + + +export const DemandforecastingMainPlan = useCrudSchemas(reactive([ + { + label: '版本号', + field: 'version', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '供应商代码', + field: 'supplierCode', + sort: 'custom', + table: { + width: 150, + }, + }, + { + label: '订单号', + field: 'poNumber', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '订单行', + field: 'poLine', + sort: 'custom', + table: { + width: 150 + } + }, + { + label: '物料代码', + field: 'itemCode', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '计划日期', + field: 'dueDate', + formatter: dateFormatter, + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '数量', + field: 'qty', + sort: 'custom', + }, + { + label: '计量单位', + field: 'uom', + sort: 'custom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', + isTable: true, + table: { + width: 150 + }, + }, +])) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue index d36758d0f..1872d4e2e 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue @@ -17,6 +17,8 @@
+ + + + +