mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-23 19:06:54 +08:00
Payment flow refined
This commit is contained in:
@@ -290,6 +290,8 @@ export default {
|
||||
let mainProductCode = context.route.query.mainProductCode;
|
||||
let productCode = context.route.query.productCode;
|
||||
let activeIndexa = 0;
|
||||
if(!productCode || productCode.length<=0)
|
||||
throw new Error('Empty product code');
|
||||
productCode = productCode.split(",");
|
||||
// console.log(this.productCode);
|
||||
if(isRxGoods){
|
||||
@@ -387,20 +389,6 @@ export default {
|
||||
catimage: require("../../assets/image/unused.png"),
|
||||
},
|
||||
],
|
||||
fixedlist: [
|
||||
{
|
||||
title: "购物车",
|
||||
catimage: require("../../assets/buy.png"),
|
||||
},
|
||||
{
|
||||
title: "在线客服",
|
||||
catimage: require("../../assets/service.png"),
|
||||
},
|
||||
{
|
||||
title: "营养专家",
|
||||
catimage: require("../../assets/consult.png"),
|
||||
},
|
||||
],
|
||||
|
||||
newlist: [
|
||||
{
|
||||
@@ -581,9 +569,10 @@ export default {
|
||||
this.usermessage.data.mobile,
|
||||
item.picFile,
|
||||
item.productName,
|
||||
item.basePrice,
|
||||
item.ecPrice,
|
||||
item.specifications,
|
||||
item.leftAllotment
|
||||
item.leftAllotment,
|
||||
item.basePoint
|
||||
);
|
||||
if (data) {
|
||||
this.productlist = data;
|
||||
@@ -611,9 +600,11 @@ export default {
|
||||
productName: item.productName,
|
||||
productImg: item.picFile,
|
||||
specifications: item.specifications,
|
||||
buyCount: item.pcs,
|
||||
memberId: "884258",
|
||||
mobile: "13480231061",
|
||||
leftAllotment: item.leftAllotment,
|
||||
basePoint: item.basePoint,
|
||||
buyCount: this.sales_num,
|
||||
memberId: "",
|
||||
mobile: "",
|
||||
checked: true,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user