Commit 7beacd5b authored by 黄媛媛's avatar 黄媛媛

update

parent 95fb2bfc
...@@ -45,6 +45,7 @@ export default { ...@@ -45,6 +45,7 @@ export default {
}, },
getDataInfo() { getDataInfo() {
let that=this; let that=this;
console.log("that.payInfo",that.payInfo)
let msg = { let msg = {
OpenId: that.payInfo.OpenId, OpenId: that.payInfo.OpenId,
OrderId: that.payInfo.OrderId, OrderId: that.payInfo.OrderId,
......
...@@ -235,7 +235,8 @@ export default { ...@@ -235,7 +235,8 @@ export default {
OrderPayType: 1, OrderPayType: 1,
GoodsName: '' GoodsName: ''
}, },
ShoppingCartIdList: [] ShoppingCartIdList: [],
BuyerMessage:'',
}; };
}, },
onLoad(option) { onLoad(option) {
...@@ -451,7 +452,7 @@ export default { ...@@ -451,7 +452,7 @@ 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.list[i].send_type = e.val;
this.formdata.DeliveryMethod = e.val; this.formdata.DeliveryMethod = e.val;
this.init(); this.init();
} }
...@@ -503,7 +504,7 @@ export default { ...@@ -503,7 +504,7 @@ export default {
this.address = res.data.address; this.address = res.data.address;
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; this.payInfo.GoodsName = this.mchs[0].goods_list[0].name.slice(0,10);
this.ds = res.data; this.ds = res.data;
this.expressPrice = 0.0; this.expressPrice = 0.0;
this.goodPrice = 0.0; this.goodPrice = 0.0;
......
...@@ -464,7 +464,7 @@ export default { ...@@ -464,7 +464,7 @@ export default {
}, },
payment(e){ payment(e){
this.payInfo.OrderId = e.OrderId; this.payInfo.OrderId = e.OrderId;
this.payInfo.GoodsName = e.DetailList[0].GoodsName; this.payInfo.GoodsName = e.DetailList[0].GoodsName.slice(0,10);
this.payInfo.PaymentWay = e.PaymentWay; this.payInfo.PaymentWay = e.PaymentWay;
this.payInfo.total_price = e.Income; this.payInfo.total_price = e.Income;
this.payBtn=true this.payBtn=true
......
...@@ -530,7 +530,7 @@ export default { ...@@ -530,7 +530,7 @@ export default {
payment(e){ payment(e){
console.log(e.OrderId) console.log(e.OrderId)
this.payInfo.OrderId = e.OrderId; this.payInfo.OrderId = e.OrderId;
this.payInfo.GoodsName = e.DetailList[0].GoodsName; this.payInfo.GoodsName = e.DetailList[0].GoodsName.slice(0,10);
this.payInfo.PaymentWay = e.PaymentWay; this.payInfo.PaymentWay = e.PaymentWay;
this.payInfo.total_price = e.Income; this.payInfo.total_price = e.Income;
this.payBtn=true this.payBtn=true
......
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