From 26b9e1de2074f8fb59950f1a80ed5d5802b36ead Mon Sep 17 00:00:00 2001 From: FOAM <491460741@qq.com> Date: Thu, 12 Feb 2026 14:47:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=B4=A2=E6=8B=89=EF=BC=8C=E8=BF=87?= =?UTF-8?q?=E5=B9=B4=E6=8B=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/operLog.js | 27 +++ src/api/productionPlan.js | 8 + src/api/xppPlan.js | 27 +++ src/views/base-data/bigItem/index.vue | 22 +-- src/views/base-data/bomAccount/index.vue | 18 +- src/views/base-data/bomAccount/indexTcbq.vue | 7 +- src/views/base-data/bomAccountLog/index.vue | 4 +- src/views/base-data/itemLis/index.vue | 18 +- src/views/base-data/point/index.vue | 9 +- src/views/base-data/point/print_kw_tc.vue | 28 +-- src/views/base-data/productionPlan/index.vue | 16 +- src/views/business-asn/xppPlan/index.vue | 176 ++++++++++++++++++ src/views/business-inv/inventory/index.vue | 4 + src/views/business-inv/inventory/invXb.vue | 7 + src/views/business-inv/inventory/invXt.vue | 3 + src/views/business-inv/inventory/invZz.vue | 4 + src/views/business-pick/pickKitPlan/index.vue | 6 +- src/views/business-pick/spareParts/index.vue | 23 ++- src/views/generic-component/BigItemSelect.vue | 2 +- 19 files changed, 340 insertions(+), 69 deletions(-) create mode 100644 src/api/operLog.js create mode 100644 src/api/xppPlan.js create mode 100644 src/views/business-asn/xppPlan/index.vue diff --git a/src/api/operLog.js b/src/api/operLog.js new file mode 100644 index 0000000..b2e96c8 --- /dev/null +++ b/src/api/operLog.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/operLog', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/operLog/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/operLog', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/api/productionPlan.js b/src/api/productionPlan.js index 33e8d3b..3068c43 100644 --- a/src/api/productionPlan.js +++ b/src/api/productionPlan.js @@ -39,4 +39,12 @@ export function haoYong(data) { }) } +export function readHaoYongData(data) { + return request({ + url: 'api/productionPlan/readHaoYongData', + method: 'put', + data + }) +} + export default { add, edit, del,manualGeneration } diff --git a/src/api/xppPlan.js b/src/api/xppPlan.js new file mode 100644 index 0000000..37e1320 --- /dev/null +++ b/src/api/xppPlan.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/xppPlan', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/xppPlan/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/xppPlan', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/views/base-data/bigItem/index.vue b/src/views/base-data/bigItem/index.vue index 95d7a18..d75978a 100644 --- a/src/views/base-data/bigItem/index.vue +++ b/src/views/base-data/bigItem/index.vue @@ -4,8 +4,8 @@
- - + + @@ -39,13 +39,13 @@ - + - + @@ -72,9 +72,9 @@ - + - +
- - + + + - + @@ -189,6 +190,7 @@ + @@ -285,8 +287,8 @@ export default { excelConfigId: '912967151437389824', queryParam: { pageNo: 1, - bomAccount__完成品番: null, - bomAccount__完成品形式名: null, + bomAccount__机型: null, + bomAccount__机型名: null, bomAccount__工位: null, bomAccount__部品品番: null, currentPageNo: 1, @@ -296,7 +298,7 @@ export default { }, rules: { bigItem: [ - { required: true, message: '完成品品番不能为空', trigger: 'blur' } + { required: true, message: '机型不能为空', trigger: 'blur' } ], item: [ { required: true, message: '部品品番不能为空', trigger: 'blur' } @@ -360,8 +362,8 @@ export default { this.$router.push({path:'/DaoChu/ExcelDaoChu',query:{tableID: 'Bom工位清单导出'}}) }, doDownlodExcel(){ - this.excelQueryParam.queryParam.bomAccount__完成品番 = this.query.bigItemIdCode - this.excelQueryParam.queryParam.bomAccount__完成品形式名= this.query.bigItemName + this.excelQueryParam.queryParam.bomAccount__机型 = this.query.bigItemIdCode + this.excelQueryParam.queryParam.bomAccount__机型名= this.query.bigItemName this.excelQueryParam.queryParam.bomAccount__工位 = this.dict.label.station_type[this.query.stationType] this.excelQueryParam.queryParam.bomAccount__部品品番 = this.query.itemName const fileName = 'Bom工位清单导出' diff --git a/src/views/base-data/bomAccount/indexTcbq.vue b/src/views/base-data/bomAccount/indexTcbq.vue index fdd14bb..9ecb807 100644 --- a/src/views/base-data/bomAccount/indexTcbq.vue +++ b/src/views/base-data/bomAccount/indexTcbq.vue @@ -34,7 +34,8 @@ - + +
@@ -108,8 +109,8 @@ export default { excelConfigId: '912967151437389824', queryParam: { pageNo: 1, - bomAccount__完成品番: null, - bomAccount__完成品形式名: null, + bomAccount__机型: null, + bomAccount__机型名: null, bomAccount__工位: null, bomAccount__部品品番: null, currentPageNo: 1, diff --git a/src/views/base-data/bomAccountLog/index.vue b/src/views/base-data/bomAccountLog/index.vue index 331636e..b1ea8ab 100644 --- a/src/views/base-data/bomAccountLog/index.vue +++ b/src/views/base-data/bomAccountLog/index.vue @@ -36,8 +36,8 @@ {{ dict.label.bom_oper_type[scope.row.operType] }} - - + + diff --git a/src/views/base-data/itemLis/index.vue b/src/views/base-data/itemLis/index.vue index 35742c8..42d920e 100644 --- a/src/views/base-data/itemLis/index.vue +++ b/src/views/base-data/itemLis/index.vue @@ -4,8 +4,8 @@
- - + + - - + + - - + + +