From 1523f53e0f7fc738837dd7a1843f782f20eb47b2 Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 31 May 2024 08:36:52 +0800 Subject: [PATCH] md --- src/api/emis/emisCommon.js | 4 +- src/components/FormEditor/utils/index.js | 2 + src/components/SearchForm/index.vue | 22 +- src/utils/index.js | 10 + .../emis/EmisBaseTools/CountryPicker.vue | 4 +- .../emis/EmisBaseTools/ProvincePicker.vue | 17 +- .../emis/EmisBaseTools/TanexPrinterPanel.vue | 9 +- .../EmisBaseTools/TransProductCasPicker.vue | 21 +- .../emis/emisSpecialCalcWeight/index.vue | 7 +- .../emis/emisWaybill/sendWaybillList.vue | 27 +- src/views/emis/emisWaybill/waybillModify.vue | 286 +++++++++++------- src/views/emis/emisWaybill/waybillRecord.vue | 48 ++- 12 files changed, 299 insertions(+), 158 deletions(-) diff --git a/src/api/emis/emisCommon.js b/src/api/emis/emisCommon.js index 5bc336e5..15d809fc 100644 --- a/src/api/emis/emisCommon.js +++ b/src/api/emis/emisCommon.js @@ -11,11 +11,11 @@ export function parseAddress(content) { // 获取电子面单 -export function realMatchWaybill() { +export function realMatchWaybill(useSiteCode,prefix) { return request({ url: '/emis/common/realMatchWaybill', method: 'post', - data: {} + data: {sendSiteCode:useSiteCode,prefix:prefix} }) } diff --git a/src/components/FormEditor/utils/index.js b/src/components/FormEditor/utils/index.js index 1f0e86ec..10766ffd 100644 --- a/src/components/FormEditor/utils/index.js +++ b/src/components/FormEditor/utils/index.js @@ -35,6 +35,8 @@ export function camelCase(str) { return str.replace(/-[a-z]/g, str1 => str1.substr(-1).toUpperCase()) } + + export function isNumberStr(str) { return /^[+-]?(0|([1-9]\d*))(\.\d+)?$/g.test(str) } diff --git a/src/components/SearchForm/index.vue b/src/components/SearchForm/index.vue index 1eb00f36..6fce4824 100644 --- a/src/components/SearchForm/index.vue +++ b/src/components/SearchForm/index.vue @@ -1,5 +1,5 @@