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

update

parent 95fb2bfc
......@@ -45,6 +45,7 @@ export default {
},
getDataInfo() {
let that=this;
console.log("that.payInfo",that.payInfo)
let msg = {
OpenId: that.payInfo.OpenId,
OrderId: that.payInfo.OrderId,
......
......@@ -235,7 +235,8 @@ export default {
OrderPayType: 1,
GoodsName: ''
},
ShoppingCartIdList: []
ShoppingCartIdList: [],
BuyerMessage:'',
};
},
onLoad(option) {
......@@ -451,7 +452,7 @@ export default {
this.$forceUpdate();
if (e && 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.init();
}
......@@ -503,7 +504,7 @@ export default {
this.address = res.data.address;
this.address_enable=res.data.address_enable;
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.expressPrice = 0.0;
this.goodPrice = 0.0;
......
......@@ -464,7 +464,7 @@ export default {
},
payment(e){
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.total_price = e.Income;
this.payBtn=true
......
......@@ -530,7 +530,7 @@ export default {
payment(e){
console.log(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.total_price = e.Income;
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