|
|
@@ -106,6 +106,7 @@ Page({
|
|
|
console.log(that.data.params)
|
|
|
util.request(util.api.productOrderDetailPage, that.data.params, "GET", false, false, app.globalData.token).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
+ console.log(res)
|
|
|
if (res.result.records.length > 0) {
|
|
|
if (that.data.orderList.length > 0) {
|
|
|
let list = that.data.orderList
|
|
|
@@ -113,7 +114,7 @@ Page({
|
|
|
var item = {}
|
|
|
item.orderSn = element.orderSn
|
|
|
item.productName = element.productName
|
|
|
- item.productNum = element.productNum
|
|
|
+ item.productNum = element.productQuantity
|
|
|
list.push(item)
|
|
|
});
|
|
|
that.setData({
|
|
|
@@ -125,7 +126,7 @@ Page({
|
|
|
var item = {}
|
|
|
item.orderSn = element.orderSn
|
|
|
item.productName = element.productName
|
|
|
- item.productNum = element.productNum
|
|
|
+ item.productNum = element.productQuantity
|
|
|
list.push(item)
|
|
|
});
|
|
|
that.setData({
|