|
@@ -25,8 +25,10 @@ Component({
|
|
|
onBlur(e) {
|
|
|
let {
|
|
|
data,
|
|
|
- name
|
|
|
+ name,
|
|
|
+ index
|
|
|
} = e.currentTarget.dataset;
|
|
|
+ console.log(e)
|
|
|
if (name == 'qty') {
|
|
|
if (data.orderminqty > e.detail.value) {
|
|
|
wx.showToast({
|
|
@@ -56,8 +58,8 @@ Component({
|
|
|
deliverydate: data.deliverydate || "",
|
|
|
price: currency(data.price).value,
|
|
|
defaultprice: data.defaultprice,
|
|
|
- sa_promotion_itemsid: data.sa_promotion_itemsid || 0
|
|
|
-
|
|
|
+ sa_promotion_itemsid: data.sa_promotion_itemsid || 0,
|
|
|
+ index
|
|
|
})
|
|
|
// sa_orderitems_v: data.sa_orderitems_v || ""
|
|
|
},
|