From 1a2c40955b5ba31782f4fecdec66f50500ef34ca Mon Sep 17 00:00:00 2001
From: ghusermoon <2673031505@qq.com>
Date: Tue, 18 Aug 2020 15:28:22 +0800
Subject: [PATCH] fixing bug
---
pageB/sdetails/index.vue | 1 +
pageE/tool/SendWash.vue | 2 +-
pageE/tool/WashOrder.vue | 33 ++++++++++++++-------------------
3 files changed, 16 insertions(+), 20 deletions(-)
diff --git a/pageB/sdetails/index.vue b/pageB/sdetails/index.vue
index 08e5986..5f0c1f0 100644
--- a/pageB/sdetails/index.vue
+++ b/pageB/sdetails/index.vue
@@ -29,6 +29,7 @@
¥{{ goodsInfo.goods_price || '0.00' }}
+ ¥{{ goodsInfo.goods_marketprice || '0.00' }}
diff --git a/pageE/tool/SendWash.vue b/pageE/tool/SendWash.vue
index 445103b..825481c 100644
--- a/pageE/tool/SendWash.vue
+++ b/pageE/tool/SendWash.vue
@@ -21,7 +21,7 @@
{{ item.order_status | viewStatus }}
-
+
骑手名字:{{ item.takeawayer_name || '' }}
联系方式:{{ item.takeawayer_mobile || '' }}
diff --git a/pageE/tool/WashOrder.vue b/pageE/tool/WashOrder.vue
index 64faba6..002a278 100644
--- a/pageE/tool/WashOrder.vue
+++ b/pageE/tool/WashOrder.vue
@@ -85,7 +85,7 @@
- 确认送洗
+ 确认送洗
@@ -141,7 +141,7 @@
- 确认送洗
+ 确认送洗
@@ -297,8 +297,9 @@ export default {
return res;
},
submitImage() {
- console.log(this.debounce);
- if(!this.debounce) return;
+ // console.log(222);
+ if(!this.debounce) return false;
+ // console.log(111);
this.debounce = false;
this.current == 0 ? this.$refs.platform.upload() : this.$refs.physical.upload();
},
@@ -319,42 +320,42 @@ export default {
validationParams() {
if (this.current == 1) {
if(this.$u.test.isEmpty(this.goodsName)) {
- this.showToast('商品名称不能为空', 'warning');
+ this.$u.toast('商品名称不能为空');
return false;
}
}
if(this.current == 0) {
if(JSON.stringify(this.checkedGoods) == '{}') {
- this.showToast('订单不能为空', 'warning');
+ this.$u.toast('订单不能为空');
return false;
}
}
if(this.$u.test.isEmpty(this.goodsStatus)) {
- this.showToast('衣服状况不能为空', 'warning');
+ this.$u.toast('衣服状况不能为空');
return false;
}
if(JSON.stringify(this.type) == '{}') {
- this.showToast('商品类型不能为空', 'warning');
+ this.$u.toast('商品类型不能为空');
return false;
}
if(this.$u.test.isEmpty(this.name)) {
- this.showToast('送洗人不能为空', 'warning');
+ this.$u.toast('送洗人不能为空');
return false;
}
if(this.$u.test.isEmpty(this.phone)) {
- this.showToast('手机号不能为空', 'warning');
+ this.$u.toast('手机号不能为空');
return false;
}
if(!this.$u.test.mobile(this.phone)) {
- this.showToast('手机号错误', 'warning');
+ this.$u.toast('手机号错误');
return false;
}
if(this.$u.test.isEmpty(this.area)) {
- this.showToast('地址不能为空', 'warning');
+ this.$u.toast('地址不能为空');
return false;
}
if(this.$u.test.isEmpty(this.address)) {
- this.showToast('详细地址不能为空', 'warning');
+ this.$u.toast('详细地址不能为空');
return false;
}
return true;
@@ -452,12 +453,6 @@ export default {
this.choose = false;
}
},
- showToast(message, type) {
- this.$refs.uToast.show({
- title: message,
- type: type,
- })
- },
},
};
--
2.45.2