|
@@ -19,7 +19,8 @@ Page({
|
|
|
params.content.pageTotal = 1;
|
|
|
}
|
|
|
this.setData({
|
|
|
- params
|
|
|
+ params,
|
|
|
+ butText: options.butText || '生成订单'
|
|
|
});
|
|
|
};
|
|
|
this.setData({
|
|
@@ -52,7 +53,7 @@ Page({
|
|
|
let image = value.attinfos.find(v => v.fileType == "image");
|
|
|
value.cover = image ? image.cover : "";
|
|
|
}
|
|
|
- if (value.islimit == 0) value.groupqty = 0;
|
|
|
+ if (value.islimit == 0) value.groupqty = 0;
|
|
|
if (newPrice) value.newPrice = CNY(value[newPrice] || 0);
|
|
|
if (oldPrice) value.oldPrice = CNY(value[oldPrice] || 0);
|
|
|
//value.orderminqty = value.packageqty || value.orderminqty; 起订量优先取包装数量
|