diff --git a/components/buns-goodinfo-sheet/buns-goodinfo-sheet.vue b/components/buns-goodinfo-sheet/buns-goodinfo-sheet.vue
index d0c6c0d..3454e18 100644
--- a/components/buns-goodinfo-sheet/buns-goodinfo-sheet.vue
+++ b/components/buns-goodinfo-sheet/buns-goodinfo-sheet.vue
@@ -51,7 +51,7 @@
-
+
diff --git a/components/buns-post-edit-templates/bpe-cost-tmp.vue b/components/buns-post-edit-templates/bpe-cost-tmp.vue
index f27beb4..b6c951e 100644
--- a/components/buns-post-edit-templates/bpe-cost-tmp.vue
+++ b/components/buns-post-edit-templates/bpe-cost-tmp.vue
@@ -47,7 +47,7 @@
总费用
-
diff --git a/components/buns-post-edit-templates/bpe-good-kuaidi-tmp.vue b/components/buns-post-edit-templates/bpe-good-kuaidi-tmp.vue
index 8c3a787..7f08afd 100644
--- a/components/buns-post-edit-templates/bpe-good-kuaidi-tmp.vue
+++ b/components/buns-post-edit-templates/bpe-good-kuaidi-tmp.vue
@@ -46,7 +46,7 @@
CNY
diff --git a/components/buns-post-edit-templates/bpe-gooditemsize-tmp.vue b/components/buns-post-edit-templates/bpe-gooditemsize-tmp.vue
index 617373f..026dc22 100644
--- a/components/buns-post-edit-templates/bpe-gooditemsize-tmp.vue
+++ b/components/buns-post-edit-templates/bpe-gooditemsize-tmp.vue
@@ -7,13 +7,13 @@
-
+
-
+
-
+
diff --git a/components/buns-post-edit-templates/bpe-goodsize-tmp.vue b/components/buns-post-edit-templates/bpe-goodsize-tmp.vue
index 10dcb45..6af4723 100644
--- a/components/buns-post-edit-templates/bpe-goodsize-tmp.vue
+++ b/components/buns-post-edit-templates/bpe-goodsize-tmp.vue
@@ -12,7 +12,7 @@
包裹重量
-
+
@@ -21,7 +21,7 @@
总体积
-
+
diff --git a/components/tpx-input/tpx-input.vue b/components/tpx-input/tpx-input.vue
index 296c514..8f3811a 100644
--- a/components/tpx-input/tpx-input.vue
+++ b/components/tpx-input/tpx-input.vue
@@ -2,6 +2,7 @@
{{suffix}}
@@ -55,6 +56,8 @@
return ''
}
},
+ _digit:{ // 保留小数位
+ },
customStyle:{
default () {
return ''
@@ -88,6 +91,14 @@
handleChange(val){
this.$emit('change', val)
this.$emit('update:value', val)
+ },
+ formatter(val) {
+ if(this._digit) {
+ let reg = new RegExp(`^\\d*(\\.?\\d{0,${this._digit}})`, 'g')
+ let newVal = val.match(reg)[0]
+ return newVal
+ }
+ return val
}
}
}
diff --git a/pages/deliveryDeal/arriveList.vue b/pages/deliveryDeal/arriveList.vue
index 09476fa..04c9291 100644
--- a/pages/deliveryDeal/arriveList.vue
+++ b/pages/deliveryDeal/arriveList.vue
@@ -80,6 +80,7 @@
searchParam: {
billCode: '',
_date: [],
+ scanStatTyp: 2 // 到件
},
resData: { list: [] }
}
@@ -97,9 +98,8 @@
methods: {
async getListFun(param){
let cpParam = JSON.parse(JSON.stringify(param))
- cpParam['params.scanStatType'] = 2 // 到件
- cpParam['params.beginScanDate'] = cpParam._date[0]
- cpParam['params.endScanDate'] = cpParam._date[1]
+ cpParam.beginScanDate = cpParam._date[0]
+ cpParam.endScanDate = cpParam._date[1]
let res = await apiService.queryScanWaybillList(cpParam)
return res
},
diff --git a/pages/deliveryDeal/paiList.vue b/pages/deliveryDeal/paiList.vue
index a4ea1f1..0934d1d 100644
--- a/pages/deliveryDeal/paiList.vue
+++ b/pages/deliveryDeal/paiList.vue
@@ -80,6 +80,7 @@
searchParam: {
billCode: '',
_date: [],
+ scanStatType: 3, // 派件
},
resData: { list: [] }
}
@@ -97,9 +98,8 @@
methods: {
async getListFun(param){
let cpParam = JSON.parse(JSON.stringify(param))
- cpParam['params.scanStatType'] = 3 // 派件
- cpParam['params.beginScanDate'] = cpParam._date[0]
- cpParam['params.endScanDate'] = cpParam._date[1]
+ cpParam.beginScanDate = cpParam._date[0]
+ cpParam.endScanDate = cpParam._date[1]
let res = await apiService.queryScanWaybillList(cpParam)
return res
},
diff --git a/pages/deliveryDeal/sendList.vue b/pages/deliveryDeal/sendList.vue
index 04f1d69..589487e 100644
--- a/pages/deliveryDeal/sendList.vue
+++ b/pages/deliveryDeal/sendList.vue
@@ -80,6 +80,7 @@
searchParam: {
billCode: '',
_date: [],
+ scanStatType: 1, // 发件
},
resData: { list: [] }
}
@@ -97,9 +98,8 @@
methods: {
async getListFun(param){
let cpParam = JSON.parse(JSON.stringify(param))
- cpParam['params.scanStatType'] = 1 // 发件
- cpParam['params.beginScanDate'] = cpParam._date[0]
- cpParam['params.endScanDate'] = cpParam._date[1]
+ cpParam.beginScanDate = cpParam._date[0]
+ cpParam.endScanDate = cpParam._date[1]
let res = await apiService.queryScanWaybillList(cpParam)
return res
},
diff --git a/pages/post/freightCalculate.vue b/pages/post/freightCalculate.vue
index b89d67a..42a0746 100644
--- a/pages/post/freightCalculate.vue
+++ b/pages/post/freightCalculate.vue
@@ -64,7 +64,7 @@
-
+
@@ -72,7 +72,7 @@
-
+