Parcourir la source

修改产品数量报错问题

xiaohaizhao il y a 1 an
Parent
commit
6f347774aa
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5 2
      packageA/orderForm/modules/product/list/index.js

+ 5 - 2
packageA/orderForm/modules/product/list/index.js

@@ -55,7 +55,9 @@ Component({
 				needdate: data.needdate || "",
 				deliverydate: data.deliverydate || "",
 				price: currency(data.price).value,
-				defaultprice: data.defaultprice
+				defaultprice: data.defaultprice,
+				sa_promotion_itemsid: data.sa_promotion_itemsid || 0
+
 			})
 			//	sa_orderitems_v: data.sa_orderitems_v || ""
 		},
@@ -71,7 +73,8 @@ Component({
 				needdate: e.detail.value || "",
 				deliverydate: data.deliverydate || "",
 				price: currency(data.price).value,
-				defaultprice: data.defaultprice
+				defaultprice: data.defaultprice,
+				sa_promotion_itemsid: data.sa_promotion_itemsid || 0
 			})
 			//sa_orderitems_v: data.sa_orderitems_v || ""
 		},