|
|
@@ -18,7 +18,7 @@ Page({
|
|
|
data: {
|
|
|
imageUrl:config.image_url + '/static/img/',
|
|
|
routeObjName: 'goodsSku',
|
|
|
- dataItem: {},
|
|
|
+ dataItem: '{}',
|
|
|
choosedGoodsList: [],
|
|
|
commonService: app.globalData['commonService'],
|
|
|
inventoryService: app.globalData['inventoryService'],
|
|
|
@@ -41,8 +41,7 @@ Page({
|
|
|
{ name: 'confirm', title: '结算', color: '#CAA977' }
|
|
|
],
|
|
|
contentList: [
|
|
|
- { code: 'need', title: mixins.$t("totalAmount"), type: 'str' },
|
|
|
- { code: 'amount', content: 0, type: 'number' },
|
|
|
+ { code: 'amount', content: 0, type: 'number' ,title: mixins.$t("totalAmount")},
|
|
|
{ type: 'count', code: 'count', quantity: 0 }
|
|
|
]
|
|
|
},
|
|
|
@@ -179,8 +178,8 @@ Page({
|
|
|
sumAmt += (res.priceStandard * res.itemQty)
|
|
|
sumQty += res.itemQty
|
|
|
})
|
|
|
- contentList[1].content = sumAmt
|
|
|
- contentList[2].quantity = sumQty
|
|
|
+ contentList[0].content = sumAmt
|
|
|
+ contentList[1].quantity = sumQty
|
|
|
this.setData({
|
|
|
contentList: contentList
|
|
|
})
|