Commit bea6f0b9 authored by 黄媛媛's avatar 黄媛媛

update

parent 20b41d75
...@@ -337,7 +337,7 @@ export default { ...@@ -337,7 +337,7 @@ export default {
that.payInfo.total_price = that.ds.total_price; that.payInfo.total_price = that.ds.total_price;
} }
else{ else{
this.$refs.uToast.show({ that.$refs.uToast.show({
title: res.data.message, title: res.data.message,
type: 'warning' type: 'warning'
}); });
...@@ -457,7 +457,6 @@ export default { ...@@ -457,7 +457,6 @@ export default {
this.$forceUpdate(); this.$forceUpdate();
if (e && e.val) { if (e && e.val) {
if (this.mchs[i].delivery.send_type != e.val) { if (this.mchs[i].delivery.send_type != e.val) {
// this.formData.list[i].send_type = e.val;
this.formdata.DeliveryMethod = e.val; this.formdata.DeliveryMethod = e.val;
this.init(); this.init();
} }
...@@ -510,9 +509,7 @@ export default { ...@@ -510,9 +509,7 @@ export default {
this.address_enable=res.data.address_enable; this.address_enable=res.data.address_enable;
this.mchs = res.data.mch_list; this.mchs = res.data.mch_list;
this.payInfo.GoodsName = this.mchs[0].goods_list[0].name.slice(0,10); this.payInfo.GoodsName = this.mchs[0].goods_list[0].name.slice(0,10);
if(this.mchs[0].delivery.send_type_list && this.mchs[0].delivery.send_type_list.length>0){ this.formdata.DeliveryMethod=this.mchs[0].delivery.send_type;
this.formdata.DeliveryMethod=this.mchs[0].delivery.send_type_list[0].value;
}
this.ds = res.data; this.ds = res.data;
this.expressPrice = 0.0; this.expressPrice = 0.0;
this.goodPrice = 0.0; this.goodPrice = 0.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment