From fa4f0c0189504ee8882273ca7dddb8c53b85c2b9 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 18 Dec 2023 11:14:02 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=B0=E8=B4=A7?= =?UTF-8?q?=E6=A3=80=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request2.js | 10 ++-- pages/inspect/job/inspectFullDetail.vue | 62 ++++++++++++++----------- static/config.json | 2 +- 3 files changed, 42 insertions(+), 32 deletions(-) diff --git a/api/request2.js b/api/request2.js index d5348b3d..6f0298f4 100644 --- a/api/request2.js +++ b/api/request2.js @@ -1619,27 +1619,27 @@ export function getProductPutawayJobDetail(id) { } /** - * 制品上架 承接 + * 制品上架任务 承接 * @param {*} id * */ export function takeProductPutawayJob(id) { return request({ - url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, + url: baseApi + "/wms/productputaway-job-main/accept?id=" + id, method: "put", data: {}, }); } /** - * 制品上架 放弃承接 + * 制品上架任务 放弃承接 * @param {*} id * */ export function cancleTakeProductPutawayJob(id) { return request({ - url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, - method: "get", + url: baseApi + "/wms/productputaway-job-main/abandon?id=" + id, + method: "put", data: {}, }); } diff --git a/pages/inspect/job/inspectFullDetail.vue b/pages/inspect/job/inspectFullDetail.vue index 539eb678..39bf545f 100644 --- a/pages/inspect/job/inspectFullDetail.vue +++ b/pages/inspect/job/inspectFullDetail.vue @@ -148,24 +148,24 @@ }, methods: { - deleteFileById(id){ - deleteFileById(id).then(res=>{ - - }) - + deleteFileById(id) { + deleteFileById(id).then(res => { + + }) + }, - getFileList(id){ + getFileList(id) { getFileList("jobInspectDetail", id).then(res => { - if(res.data){ - res.data.forEach(res=>{ + if (res.data) { + res.data.forEach(res => { this.deleteFileById(res.id) }) } }) }, - - clearPicList(subList){ - subList.forEach(item=>{ + + clearPicList(subList) { + subList.forEach(item => { this.getFileList(item.id) }) }, @@ -353,23 +353,33 @@ commit() { this.scanCount = getScanCount(this.subList); - // if (this.scanCount == 0) { - // this.showErrorMessage("扫描数为0,请先扫描") - // return; - // } - //如果是全检,必须全部扫描-------改为:任务中的是否允许部分提交:nxt 2023年12月13日 - if (this.jobContent.allowPartialComplete == "TRUE") { - this.submitJob(); + + if (this.scanCount == 0) { + this.showErrorMessage("扫描数为0,请先扫描") + return; } else { - //不允许部分提交,提示 - this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交
' + "已经扫描[" + this.scanCount + - "]箱总共[" + this - .subList.length + "]箱", res => { - if (res) { - this.openScanPopup(); - } - }); + if (this.scanCount == this.subList.length) { + this.submitJob(); + } else { + //如果是全检,必须全部扫描-------改为:任务中的是否允许部分提交:nxt 2023年12月13日 + if (this.jobContent.allowPartialComplete == "TRUE") { + this.submitJob(); + } else { + //不允许部分提交,提示 + this.$refs.comMessage.showErrorMessage('请完成扫描后,再进行提交
' + "已经扫描[" + this.scanCount + + "]箱总共[" + this + .subList.length + "]箱", res => { + if (res) { + this.openScanPopup(); + } + }); + } + } } + + + + }, submitJob() { diff --git a/static/config.json b/static/config.json index 68341504..259a68f5 100644 --- a/static/config.json +++ b/static/config.json @@ -18,7 +18,7 @@ "request_url": { "name": "request_url", - "value": "http://192.168.0.157:12080/admin-api", + "value": "http://192.168.0.230:12080/admin-api", "dev2": "http://192.168.0.157:12080/admin-api", "chefang": "http://192.168.0.178:12080/admin-api", "chenxinming": "http://192.168.0.230:12080/admin-api", From 8fccaccba4d2a404a4d98cb3bbfea13c85c14fe9 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 18 Dec 2023 13:14:31 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E8=BD=AC=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request2.js | 12 +++---- pages/inventoryMove/coms/comMoveJob.vue | 33 ++++++++----------- .../inventoryMove/job/inventoryMoveDetail.vue | 17 +++++----- 3 files changed, 27 insertions(+), 35 deletions(-) diff --git a/api/request2.js b/api/request2.js index 6f0298f4..c6637605 100644 --- a/api/request2.js +++ b/api/request2.js @@ -1095,26 +1095,26 @@ export function getInventoryMoveJobDetail(id) { } /** - * 生产收料 任务承接 + * 库存转移任务 任务承接 * @param {*} id * */ export function takeInventoryMoveJob(id) { return request({ - url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id, + url: baseApi + "/wms/inventorymove-job-main/accept?id=" + id, method: "put", data: {}, }); } /** - * 生产收料 放弃承接 + * 库存转移任务 放弃承接 * @param {*} id * */ export function cancleTakeInventoryMoveJob(id) { return request({ - url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, + url: baseApi + "/wms/inventorymove-job-main/abandon?id=" + id, method: "put", data: {}, }); @@ -1646,13 +1646,13 @@ export function cancleTakeProductPutawayJob(id) { /** - * 制品上架 任务提交 + * 制品上架任务 提交 * @param {*} 任务id * */ export function productPutawayJobSubmit(params) { return request({ - url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit", + url: baseApi + "/wms/productputaway-job-main/execute", method: "put", data: params, }); diff --git a/pages/inventoryMove/coms/comMoveJob.vue b/pages/inventoryMove/coms/comMoveJob.vue index 7e4ab8f1..17d78497 100644 --- a/pages/inventoryMove/coms/comMoveJob.vue +++ b/pages/inventoryMove/coms/comMoveJob.vue @@ -28,12 +28,9 @@ + + \ No newline at end of file From e5701c0032a2cb2abb63c0e7e109708c07529b59 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 18 Dec 2023 13:49:14 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E5=8E=BB=E9=99=A4showloading=20=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/issue/request/issueRequest.vue | 10 +++++----- pages/productPutaway/request/putawayRequest.vue | 10 +++++----- .../productionReturn/coms/comReturnCommonRequest.vue | 10 +++++----- pages/purchaseReturn/request/returnRequest.vue | 10 +++++----- pages/scrap/request/scrapRrequest.vue | 10 +++++----- pages/unPlanned/request/issueRequest.vue | 12 +++++++----- pages/unPlanned/request/receiptRequest.vue | 11 ++++++----- 7 files changed, 38 insertions(+), 35 deletions(-) diff --git a/pages/issue/request/issueRequest.vue b/pages/issue/request/issueRequest.vue index c09f2418..62eda712 100644 --- a/pages/issue/request/issueRequest.vue +++ b/pages/issue/request/issueRequest.vue @@ -293,10 +293,10 @@ issueRequestSubmitApprove(id) { issueRequestSubmitApprove(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请提交审批成功" }) + this.getList("refresh") } else { this.showMessage("申请提交审批失败") } @@ -310,10 +310,10 @@ issueRequestClose(id) { issueRequestClose(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请关闭成功" }) + this.getList("refresh") } else { this.showMessage("申请关闭失败") } @@ -326,10 +326,10 @@ issueRequestSubmitApproveAgree(id) { issueRequestSubmitApproveAgree(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批通过成功" }) + this.getList("refresh") } else { this.showMessage("申请审批通过失败") } @@ -342,10 +342,10 @@ issueRequestSubmitApproveRefused(id) { issueRequestSubmitApproveRefused(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批驳回成功" }) + this.getList("refresh") } else { this.showMessage("申请审批驳回失败") } @@ -358,10 +358,10 @@ issueRequestHandle(id) { issueRequestHandle(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请处理成功" }) + this.getList("refresh") } else { this.showMessage("申请处理失败") } diff --git a/pages/productPutaway/request/putawayRequest.vue b/pages/productPutaway/request/putawayRequest.vue index 964a3725..ab696cd3 100644 --- a/pages/productPutaway/request/putawayRequest.vue +++ b/pages/productPutaway/request/putawayRequest.vue @@ -297,10 +297,10 @@ productPutawayRequestApprove(id) { productPutawayRequestApprove(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请提交审批成功" }) + this.getList("refresh") } else { this.showMessage("申请提交审批失败") } @@ -314,10 +314,10 @@ productPutawayRequestClose(id) { productPutawayRequestClose(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请关闭成功" }) + this.getList("refresh") } else { this.showMessage("申请关闭失败") } @@ -329,10 +329,10 @@ productPutawayRequestApproveAgree(id) { productPutawayRequestApproveAgree(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批通过成功" }) + this.getList("refresh") } else { this.showMessage("申请审批通过失败") } @@ -344,10 +344,10 @@ productPutawayRequestApproveRefused(id) { productPutawayRequestApproveRefused(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批驳回成功" }) + this.getList("refresh") } else { this.showMessage("申请审批驳回失败") } @@ -359,10 +359,10 @@ productPutawayRequestHandle(id) { productPutawayRequestHandle(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请处理成功" }) + this.getList("refresh") } else { this.showMessage("申请处理失败") } diff --git a/pages/productionReturn/coms/comReturnCommonRequest.vue b/pages/productionReturn/coms/comReturnCommonRequest.vue index 01667f18..2cf2958f 100644 --- a/pages/productionReturn/coms/comReturnCommonRequest.vue +++ b/pages/productionReturn/coms/comReturnCommonRequest.vue @@ -326,10 +326,10 @@ productionReturnRequestSubmitApprove(id) { productionReturnRequestSubmitApprove(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请提交审批成功" }) + this.getList("refresh") } else { this.showMessage("申请提交审批失败") } @@ -342,10 +342,10 @@ productionReturnRequestClose(id) { productionReturnRequestClose(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请关闭成功" }) + this.getList("refresh") } else { this.showMessage("申请关闭失败") } @@ -357,10 +357,10 @@ productionReturnRequestSubmitApproveAgree(id) { productionReturnRequestSubmitApproveAgree(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批通过成功" }) + this.getList("refresh") } else { this.showMessage("申请审批通过失败") } @@ -372,10 +372,10 @@ productionReturnRequestSubmitApproveRefused(id) { productionReturnRequestSubmitApproveRefused(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批驳回成功" }) + this.getList("refresh") } else { this.showMessage("申请审批驳回失败") } @@ -387,10 +387,10 @@ productionReturnRequestHandle(id) { productionReturnRequestHandle(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请处理成功" }) + this.getList("refresh") } else { this.showMessage("申请处理失败") } diff --git a/pages/purchaseReturn/request/returnRequest.vue b/pages/purchaseReturn/request/returnRequest.vue index 6633e215..a751475e 100644 --- a/pages/purchaseReturn/request/returnRequest.vue +++ b/pages/purchaseReturn/request/returnRequest.vue @@ -293,10 +293,10 @@ purchaseReturnRequestApprove(id) { purchaseReturnRequestApprove(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请提交审批成功" }) + this.getList("refresh") } else { this.showMessage("申请提交审批失败") } @@ -310,10 +310,10 @@ purchaseReturnRequestClose(id) { purchaseReturnRequestClose(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请关闭成功" }) + this.getList("refresh") } else { this.showMessage("申请关闭失败") } @@ -325,10 +325,10 @@ purchaseReturnRequestApproveAgree(id) { purchaseReturnRequestApproveAgree(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批通过成功" }) + this.getList("refresh") } else { this.showMessage("申请审批通过失败") } @@ -340,10 +340,10 @@ purchaseReturnRequestApproveRefused(id) { purchaseReturnRequestApproveRefused(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批驳回成功" }) + this.getList("refresh") } else { this.showMessage("申请审批驳回失败") } @@ -355,10 +355,10 @@ purchaseReturnRequestHandle(id) { purchaseReturnRequestHandle(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请处理成功" }) + this.getList("refresh") } else { this.showMessage("申请处理失败") } diff --git a/pages/scrap/request/scrapRrequest.vue b/pages/scrap/request/scrapRrequest.vue index 74b31979..7af80876 100644 --- a/pages/scrap/request/scrapRrequest.vue +++ b/pages/scrap/request/scrapRrequest.vue @@ -287,10 +287,10 @@ scrapRequestApprove(id) { scrapRequestApprove(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请提交审批成功" }) + this.getList("refresh") } else { this.showMessage("申请提交审批失败") } @@ -304,10 +304,10 @@ scrapRequestClose(id) { scrapRequestClose(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请关闭成功" }) + this.getList("refresh") } else { this.showMessage("申请关闭失败") } @@ -319,10 +319,10 @@ scrapRequestApproveAgree(id) { scrapRequestApproveAgree(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批通过成功" }) + this.getList("refresh") } else { this.showMessage("申请审批通过失败") } @@ -334,10 +334,10 @@ scrapRequestApproveRefused(id) { scrapRequestApproveRefused(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批驳回成功" }) + this.getList("refresh") } else { this.showMessage("申请审批驳回失败") } @@ -349,10 +349,10 @@ scrapRequestHandle(id) { scrapRequestHandle(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请处理成功" }) + this.getList("refresh") } else { this.showMessage("申请处理失败") } diff --git a/pages/unPlanned/request/issueRequest.vue b/pages/unPlanned/request/issueRequest.vue index 7d974e7d..4895f0a1 100644 --- a/pages/unPlanned/request/issueRequest.vue +++ b/pages/unPlanned/request/issueRequest.vue @@ -295,10 +295,10 @@ unPlannedIssueRequestApprove(id) { unPlannedIssueRequestApprove(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请提交审批成功" }) + this.getList("refresh") } else { this.showMessage("申请提交审批失败") } @@ -312,10 +312,11 @@ unPlannedIssueRequestClose(id) { unPlannedIssueRequestClose(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请关闭成功" }) + this.getList("refresh") + } else { this.showMessage("申请关闭失败") } @@ -327,10 +328,11 @@ unPlannedIssueRequestApproveAgree(id) { unPlannedIssueRequestApproveAgree(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批通过成功" }) + this.getList("refresh") + } else { this.showMessage("申请审批通过失败") } @@ -342,10 +344,10 @@ unPlannedIssueRequestApproveRefused(id) { unPlannedIssueRequestApproveRefused(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批驳回成功" }) + this.getList("refresh") } else { this.showMessage("申请审批驳回失败") } @@ -357,10 +359,10 @@ unPlannedIssueRequestHandle(id) { unPlannedIssueRequestHandle(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请处理成功" }) + this.getList("refresh") } else { this.showMessage("申请处理失败") } diff --git a/pages/unPlanned/request/receiptRequest.vue b/pages/unPlanned/request/receiptRequest.vue index 600eaddc..77dacb7a 100644 --- a/pages/unPlanned/request/receiptRequest.vue +++ b/pages/unPlanned/request/receiptRequest.vue @@ -293,10 +293,10 @@ unPlannedReceiptRequestApprove(id) { unPlannedReceiptRequestApprove(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请提交审批成功" }) + this.getList("refresh") } else { this.showMessage("申请提交审批失败") } @@ -310,10 +310,10 @@ unPlannedReceiptRequestClose(id) { unPlannedReceiptRequestClose(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请关闭成功" }) + this.getList("refresh") } else { this.showMessage("申请关闭失败") } @@ -325,10 +325,11 @@ unPlannedReceiptRequestApproveAgree(id) { unPlannedReceiptRequestApproveAgree(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批通过成功" }) + this.getList("refresh") + } else { this.showMessage("申请审批通过失败") } @@ -340,10 +341,10 @@ unPlannedReceiptRequestApproveRefused(id) { unPlannedReceiptRequestApproveRefused(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请审批驳回成功" }) + this.getList("refresh") } else { this.showMessage("申请审批驳回失败") } @@ -355,10 +356,10 @@ unPlannedReceiptRequestHandle(id) { unPlannedReceiptRequestHandle(id).then(res => { if (res.data) { - this.getList("refresh") uni.showToast({ title: "申请处理成功" }) + this.getList("refresh") } else { this.showMessage("申请处理失败") } From b504c9633aa4a15a86977f8bd79f738aa9b672be Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 18 Dec 2023 15:34:09 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E5=9C=A8=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E6=B7=BB=E5=8A=A0=E6=98=AF=E5=90=A6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=A4=8D=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 1 + mycomponents/balance/balance.vue | 18 +++++++++++++----- mycomponents/recommend/recommend.vue | 5 ++++- mycomponents/recommend/recommendCount.vue | 5 ++++- pages/inventoryMove/coms/comMovebalance.vue | 5 ++++- .../job/productReceiptDetail.vue | 2 +- static/config.json | 10 ++++++++-- 7 files changed, 35 insertions(+), 11 deletions(-) diff --git a/main.js b/main.js index 19300141..ffbacd21 100644 --- a/main.js +++ b/main.js @@ -72,6 +72,7 @@ export function startApp(app) { app.config.globalProperties.$recepit_configList = res.data.recepit_configList; getApp().globalData.recepit_configList = res.data.recepit_configList; getApp().globalData.feed_configList = res.data.feed_configList; + getApp().globalData.isDevelopment = res.data.baseInfo.isDevelopment.value } }, fail: (error) => { diff --git a/mycomponents/balance/balance.vue b/mycomponents/balance/balance.vue index 5c1c33cb..d285e4de 100644 --- a/mycomponents/balance/balance.vue +++ b/mycomponents/balance/balance.vue @@ -14,12 +14,16 @@ - - 复制箱码 - - - 复制制品 + + + 复制箱码 + + + 复制制品 + + + @@ -102,6 +106,10 @@ }) } ) + }, + isDevlement(){ + + return getApp().globalData.isDevelopment; } } } diff --git a/mycomponents/recommend/recommend.vue b/mycomponents/recommend/recommend.vue index 0a0ff98b..35a4b780 100644 --- a/mycomponents/recommend/recommend.vue +++ b/mycomponents/recommend/recommend.vue @@ -17,7 +17,7 @@ - + 复制采购 |制品 @@ -105,6 +105,9 @@ }) } ) + }, + isDevlement(){ + return getApp().globalData.isDevelopment; } } } diff --git a/mycomponents/recommend/recommendCount.vue b/mycomponents/recommend/recommendCount.vue index 14a1559d..a3c2b519 100644 --- a/mycomponents/recommend/recommendCount.vue +++ b/mycomponents/recommend/recommendCount.vue @@ -16,7 +16,7 @@ - + 复制采购 |制品 @@ -108,6 +108,9 @@ }) } ) + }, + isDevlement(){ + return getApp().globalData.isDevelopment; } } } diff --git a/pages/inventoryMove/coms/comMovebalance.vue b/pages/inventoryMove/coms/comMovebalance.vue index e4943e21..908f2525 100644 --- a/pages/inventoryMove/coms/comMovebalance.vue +++ b/pages/inventoryMove/coms/comMovebalance.vue @@ -19,7 +19,7 @@ :fromInventoryStatus="fromInventoryStatus" :toInventoryStatus="toInventoryStatus"> - + 复制箱码 @@ -127,6 +127,9 @@ }) } ) + }, + isDevlement(){ + return getApp().globalData.isDevelopment; } } } diff --git a/pages/productReceipt/job/productReceiptDetail.vue b/pages/productReceipt/job/productReceiptDetail.vue index 1425e40d..77de3139 100644 --- a/pages/productReceipt/job/productReceiptDetail.vue +++ b/pages/productReceipt/job/productReceiptDetail.vue @@ -14,7 +14,7 @@ diff --git a/static/config.json b/static/config.json index 259a68f5..ca9215a5 100644 --- a/static/config.json +++ b/static/config.json @@ -18,9 +18,9 @@ "request_url": { "name": "request_url", - "value": "http://192.168.0.230:12080/admin-api", + "value": "http://192.168.0.180:12080/admin-api", "dev2": "http://192.168.0.157:12080/admin-api", - "chefang": "http://192.168.0.178:12080/admin-api", + "chefang": "http://192.168.0.180:12080/admin-api", "chenxinming": "http://192.168.0.230:12080/admin-api", "dev": "http://dev.ccwin-in.com:25100/api/admin-api", "local": "http://localhost:12080", @@ -31,7 +31,13 @@ "name": "tenantId", "value": "1", "desc": "租户id" + }, + "isDevelopment": { + "name": "isDevelopment", + "value": true, + "desc": "是否是开发模式,true是开模式,false不是开发模式" } + }, "recepit_configList": [ From 29834660b8bdb32a4b5f5959b3b7a545efca226b Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Tue, 19 Dec 2023 13:11:54 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E8=BD=AC=E7=A7=BB=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request2.js | 2 +- common/basic.js | 1 + mycomponents/balance/balance.vue | 1 - .../coms/comInventoryJobCard.vue | 14 +--- .../inventoryMove/job/inventoryMoveDetail.vue | 70 ++++++++++++++----- static/config.json | 2 +- 6 files changed, 55 insertions(+), 35 deletions(-) diff --git a/api/request2.js b/api/request2.js index ec1504c5..04a61954 100644 --- a/api/request2.js +++ b/api/request2.js @@ -1128,7 +1128,7 @@ export function cancleTakeInventoryMoveJob(id) { */ export function inventoryMoveSubmit(params) { return request({ - url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id, + url: baseApi + "/wms/inventorymove-job-main/execute", method: "put", data: params, }); diff --git a/common/basic.js b/common/basic.js index f3507b2a..cf6d9492 100644 --- a/common/basic.js +++ b/common/basic.js @@ -640,6 +640,7 @@ export function getPackingNumberAndBatch(managementList, itemCode, packingNumber packingNumber: "", batch: "" } + debugger var manageType = queryManageModel(managementList, itemCode) if (manageType == "BY_QUANTITY") { diff --git a/mycomponents/balance/balance.vue b/mycomponents/balance/balance.vue index d285e4de..4d48354c 100644 --- a/mycomponents/balance/balance.vue +++ b/mycomponents/balance/balance.vue @@ -108,7 +108,6 @@ ) }, isDevlement(){ - return getApp().globalData.isDevelopment; } } diff --git a/pages/inventoryMove/coms/comInventoryJobCard.vue b/pages/inventoryMove/coms/comInventoryJobCard.vue index 81e61e52..98946e3d 100644 --- a/pages/inventoryMove/coms/comInventoryJobCard.vue +++ b/pages/inventoryMove/coms/comInventoryJobCard.vue @@ -3,19 +3,7 @@ - 物品代码 : {{dataContent.itemCode}} - - - - - - 来源库位 : {{dataContent.fromLocationCode}} - - - - - - 目标库位 : {{dataContent.toLocationCode}} + 申请单号 : {{dataContent.requestNumber}} diff --git a/pages/inventoryMove/job/inventoryMoveDetail.vue b/pages/inventoryMove/job/inventoryMoveDetail.vue index 5b753044..ec3bc81b 100644 --- a/pages/inventoryMove/job/inventoryMoveDetail.vue +++ b/pages/inventoryMove/job/inventoryMoveDetail.vue @@ -1,5 +1,14 @@