From 6a5725c1dca9959d072fa040b32f69094408cdb1 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 21 Dec 2023 14:20:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=80=80=E8=B4=A7=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request2.js | 4 +- mycomponents/scan/winComScan.vue | 3 + mycomponents/scan/winScanLocation.vue | 2 +- mycomponents/scan/winScanPackAndLocation.vue | 6 +- pages/customerReturn/record/returnRecord.vue | 920 ++++++++++--------- 5 files changed, 472 insertions(+), 463 deletions(-) diff --git a/api/request2.js b/api/request2.js index 396c52c8..e3119611 100644 --- a/api/request2.js +++ b/api/request2.js @@ -2011,8 +2011,8 @@ export function customerReturnRequestSubmit(params) { */ export function customerReturnRecordSubmit(params) { return request({ - url: baseApi + "/wms/purchasereturn-request-main/submit", - method: "put", + url: baseApi + "/wms/customerreturn-record-main/create", + method: "post", data: params, }); } diff --git a/mycomponents/scan/winComScan.vue b/mycomponents/scan/winComScan.vue index 7d041725..e75af61e 100644 --- a/mycomponents/scan/winComScan.vue +++ b/mycomponents/scan/winComScan.vue @@ -103,6 +103,9 @@ } }, mounted() { + if(document.querySelector('textarea')!=null){ + document.querySelector('textarea').setAttribute('inputmode', 'none') + } // if (this.$el.querySelector('textarea') != null) { // this.$el.querySelector('textarea').setAttribute('inputmode', 'none') // } diff --git a/mycomponents/scan/winScanLocation.vue b/mycomponents/scan/winScanLocation.vue index e36ea506..fc17bfd2 100644 --- a/mycomponents/scan/winScanLocation.vue +++ b/mycomponents/scan/winScanLocation.vue @@ -12,7 +12,7 @@ - diff --git a/mycomponents/scan/winScanPackAndLocation.vue b/mycomponents/scan/winScanPackAndLocation.vue index c61dd364..b3313dc6 100644 --- a/mycomponents/scan/winScanPackAndLocation.vue +++ b/mycomponents/scan/winScanPackAndLocation.vue @@ -40,7 +40,7 @@ + :isShowHistory="isShowHistory" :clearResult="true" :headerType ="headerType"> @@ -95,6 +95,10 @@ type: Boolean, default: true }, + headerType: { + type: String, + default: "HPQ" + }, }, data() { return { diff --git a/pages/customerReturn/record/returnRecord.vue b/pages/customerReturn/record/returnRecord.vue index 06129558..bd33a5d0 100644 --- a/pages/customerReturn/record/returnRecord.vue +++ b/pages/customerReturn/record/returnRecord.vue @@ -1,459 +1,461 @@ - - - - - + + + + +