From d8405d2690eeb70a6c98e4eb2e7646b18dfc79fd Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Wed, 13 Dec 2023 16:52:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7=E9=80=80?= =?UTF-8?q?=E6=96=99=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request2.js | 2 +- pages.json | 9 + pages/issue/request/issueRequestCreate.vue | 3 +- .../coms/comReturnRequestCreator.vue | 199 ++++++---- .../coms/comReturnRequestInfo.vue | 4 +- .../request/requestDetail.vue | 14 +- .../request/returnRequestCreate.vue | 49 ++- pages/purchaseReturn/record/returnRecord.vue | 4 +- .../purchaseReturn/request/returnRequest.vue | 2 +- .../request/returnRequestCreate.vue | 356 ++++++++++++++++++ 10 files changed, 549 insertions(+), 93 deletions(-) create mode 100644 pages/purchaseReturn/request/returnRequestCreate.vue diff --git a/api/request2.js b/api/request2.js index ca0798db..55516fce 100644 --- a/api/request2.js +++ b/api/request2.js @@ -683,7 +683,7 @@ export function purchaseReturnRequestHandle(id) { * 采购退货申请 提交 * @param {*} params */ -export function purchaseReturnRequestSubmit(params) { +export function purchaseReturnRequestCreate(params) { return request({ url: baseApi + "/wms/purchasereturn-request-main/create", method: "post", diff --git a/pages.json b/pages.json index 3e2f6fd0..df594bf3 100644 --- a/pages.json +++ b/pages.json @@ -111,6 +111,13 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/purchaseReturn/request/returnRequestCreate", + "style": { + "navigationBarTitleText": "采购退货申请创建", + "enablePullDownRefresh": true + } + }, { "path": "pages/purchaseReturn/job/returnJob", @@ -149,6 +156,8 @@ // } } }, + + { "path": "pages/purchaseReceipt/job/receiptJob", "style": { diff --git a/pages/issue/request/issueRequestCreate.vue b/pages/issue/request/issueRequestCreate.vue index b547a751..e222eee4 100644 --- a/pages/issue/request/issueRequestCreate.vue +++ b/pages/issue/request/issueRequestCreate.vue @@ -36,7 +36,7 @@ goHome, updateTitle, getRemoveOption, - getISODateTime + getCurrDateOneMonthsTimes } from '@/common/basic.js'; import { @@ -150,6 +150,7 @@ setParams() { + this.detailSource.dueTime = getCurrDateOneMonthsTimes(); return this.detailSource }, submit() { diff --git a/pages/productionReturn/coms/comReturnRequestCreator.vue b/pages/productionReturn/coms/comReturnRequestCreator.vue index f1f0bffc..07e0a008 100644 --- a/pages/productionReturn/coms/comReturnRequestCreator.vue +++ b/pages/productionReturn/coms/comReturnRequestCreator.vue @@ -1,88 +1,159 @@ diff --git a/pages/productionReturn/coms/comReturnRequestInfo.vue b/pages/productionReturn/coms/comReturnRequestInfo.vue index fbb64a31..a7b40d91 100644 --- a/pages/productionReturn/coms/comReturnRequestInfo.vue +++ b/pages/productionReturn/coms/comReturnRequestInfo.vue @@ -14,8 +14,8 @@ {{ dataContent.workStationCode }} - 原材料库 - {{ dataContent.toLocationCode}} + 来源库位 + {{ dataContent.fromLocationCode}} diff --git a/pages/productionReturn/request/requestDetail.vue b/pages/productionReturn/request/requestDetail.vue index 1acd47b1..262f5f83 100644 --- a/pages/productionReturn/request/requestDetail.vue +++ b/pages/productionReturn/request/requestDetail.vue @@ -1,5 +1,9 @@