From 137a6e7d1877d68edcd049580c8221e0257c29dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=B8=85?= <3115919733@qq.com> Date: Fri, 23 May 2025 17:49:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 24 + .../features/InventoryLossStockOut/index.vue | 326 ++++++++++ .../OtherStockOutNoInvoice.vue | 1 + pages/StockOut/index.vue | 9 + .../features/InventoryProfitStockIn/index.vue | 555 ++++++++++++++++++ .../features/MaterialReturnStockIn/index.vue | 554 +++++++++++++++++ .../OtherStockInNoInvoic.vue | 10 +- .../features/ProductSaleReturn/index.vue | 16 +- pages/material/index.vue | 28 +- 9 files changed, 1506 insertions(+), 17 deletions(-) create mode 100644 pages/StockOut/features/InventoryLossStockOut/index.vue create mode 100644 pages/material/features/InventoryProfitStockIn/index.vue create mode 100644 pages/material/features/MaterialReturnStockIn/index.vue diff --git a/pages.json b/pages.json index 08bee0b..2f15082 100644 --- a/pages.json +++ b/pages.json @@ -319,6 +319,22 @@ "enablePullDownRefresh": false } + },{ + "path" : "pages/material/features/MaterialReturnStockIn/index", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + },{ + "path" : "pages/material/features/InventoryProfitStockIn/index", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + },{ "path" : "pages/material/features/SaleStockOut/index", "style" : @@ -511,6 +527,14 @@ "enablePullDownRefresh": false } }, + { + "path" : "pages/StockOut/features/InventoryLossStockOut/index", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + }, { "path" : "pages/StockOut/features/ErpLocationMove/ErpLocationMove", "style" : diff --git a/pages/StockOut/features/InventoryLossStockOut/index.vue b/pages/StockOut/features/InventoryLossStockOut/index.vue new file mode 100644 index 0000000..e226090 --- /dev/null +++ b/pages/StockOut/features/InventoryLossStockOut/index.vue @@ -0,0 +1,326 @@ + + + + + diff --git a/pages/StockOut/features/OtherStockOutNoInvoice/OtherStockOutNoInvoice.vue b/pages/StockOut/features/OtherStockOutNoInvoice/OtherStockOutNoInvoice.vue index 49c2941..3518d3e 100644 --- a/pages/StockOut/features/OtherStockOutNoInvoice/OtherStockOutNoInvoice.vue +++ b/pages/StockOut/features/OtherStockOutNoInvoice/OtherStockOutNoInvoice.vue @@ -222,6 +222,7 @@ siteName: this.siteName, commitDate: this.commitDate, opcode: this.opCode, + qtc: 'Z07' }).then(res => { if (res.data.success) { this.loading = false; diff --git a/pages/StockOut/index.vue b/pages/StockOut/index.vue index ad836d2..9dda3ed 100644 --- a/pages/StockOut/index.vue +++ b/pages/StockOut/index.vue @@ -93,6 +93,15 @@ cuIcon: '', label: '报废出库', id:'200001' + }, + { + title: '盘亏出库', + name: 'InventoryLossStockOut/index', + en_name:'InventoryLossStockOut', + color: 'cyan', + cuIcon: '', + label: '盘亏出库', + id:'200008' } // { // title: '销售出库确认', diff --git a/pages/material/features/InventoryProfitStockIn/index.vue b/pages/material/features/InventoryProfitStockIn/index.vue new file mode 100644 index 0000000..e9f1686 --- /dev/null +++ b/pages/material/features/InventoryProfitStockIn/index.vue @@ -0,0 +1,555 @@ + + + + + diff --git a/pages/material/features/MaterialReturnStockIn/index.vue b/pages/material/features/MaterialReturnStockIn/index.vue new file mode 100644 index 0000000..9b6d2f5 --- /dev/null +++ b/pages/material/features/MaterialReturnStockIn/index.vue @@ -0,0 +1,554 @@ + + + + + diff --git a/pages/material/features/OtherStockInNoInvoic/OtherStockInNoInvoic.vue b/pages/material/features/OtherStockInNoInvoic/OtherStockInNoInvoic.vue index 70cbbb4..14cc40c 100644 --- a/pages/material/features/OtherStockInNoInvoic/OtherStockInNoInvoic.vue +++ b/pages/material/features/OtherStockInNoInvoic/OtherStockInNoInvoic.vue @@ -122,7 +122,7 @@ bgImage: 'linear-gradient(45deg, rgb(28, 187, 180), rgb(141, 198, 63))', isCustomFn: true, navTitle: { - text: "无来源入库", + text: "客供品入库", color: "rgb(96, 98, 102)", fontSize: "14px", // px upx rpx fontWeight: "normal", // blod @@ -425,7 +425,7 @@ // this.loading = true; this.MATERIALPACKINGQTY = 0 this.MATERIALPACKINGNUMBER = 0 - await this.$MyRequest('/NoInvoice/getBarCode', { + await this.$MyRequest('/api/NoInvoice/getBarCode', { MATERIALPACKINGNAME: this.MATERIALPACKINGNAME, LOCATIONNAME: this.LOCATIONNAME, ERPFACTORY: this.ERPFACTORY, @@ -498,18 +498,20 @@ opcode: this.opCode, user: this.userId }).then((res) => { - this.$MyRequest('/NoInvoice/QTRCommit', { + this.$MyRequest('/api/NoInvoice/QTRCommit', { boxList: this.BoxListInfo, user: this.userId, commitDate: this.commitDate, opcode: this.opCode, + qtc: '501' }).then(res => { if (res.data.success) { + this.$showMessage(res.data.message) this.loading = false; this.MATERIALPACKINGQTY = 0 this.MATERIALPACKINGNUMBER = 0 this.resetValue(); - this.$showMessage(res.data.message) + } else { this.loading = false; this.$showMessage(res.data.message) diff --git a/pages/material/features/ProductSaleReturn/index.vue b/pages/material/features/ProductSaleReturn/index.vue index 9a72c48..1e7ee25 100644 --- a/pages/material/features/ProductSaleReturn/index.vue +++ b/pages/material/features/ProductSaleReturn/index.vue @@ -579,14 +579,14 @@ this.isLoading = true; console.log(this.disableButton) let list = this.BoxListInfo; - if (list <= 0) { - try {Vue.prototype.$playFail() } catch (e) {} - this.disableButton = false; - console.log(this.disableButton) - this.isLoading = false; - this.$showMessage("不存在需要提交的信息") - return; - } + // if (list <= 0) { + // try {Vue.prototype.$playFail() } catch (e) {} + // this.disableButton = false; + // console.log(this.disableButton) + // this.isLoading = false; + // this.$showMessage("不存在需要提交的信息") + // return; + // } console.log(this.userId) getOpCode({opcode : this.opCode,user: this.userId}).then((res) => { console.log(res.resultObj) diff --git a/pages/material/index.vue b/pages/material/index.vue index f07188f..92412a2 100644 --- a/pages/material/index.vue +++ b/pages/material/index.vue @@ -115,12 +115,12 @@ label: '销售退货入库', id: '100003' }, { - title: '其它入库', + title: '其他入库', name: 'OtherStockIn/index', - en_name: 'OtherStockIn', + en_name: 'OfferingsStockIn', color: 'yellow', cuIcon: 'OtherStockIn/index', - label: '其它入库', + label: '其他入库', id: '100004' }, { title: '退料入库', @@ -132,12 +132,12 @@ id: '100005' }, { - title: '无单据入库', + title: '客供品入库', name: 'OtherStockInNoInvoic/OtherStockInNoInvoic', en_name: 'OtherStockInNoInvoic', color: 'mauve', cuIcon: '', - label: '无单据入库', + label: '客供品入库', id: '100006' }, { @@ -149,6 +149,24 @@ label: '无单据入库2', id: '100007' }, + { + title: '委外退料入库', + name: 'MaterialReturnStockIn/index', + en_name: 'MaterialReturnStockIn', + color: 'yellow', + cuIcon: 'OtherStockIn/index', + label: '委外退料入库', + id: '100008' + }, + { + title: '盘盈入库', + name: 'InventoryProfitStockIn/index', + en_name: 'InventoryProfitStockIn', + color: 'yellow', + cuIcon: 'OtherStockIn/index', + label: '盘盈入库', + id: '100009' + } ], } },