Commit 70c67cd7 by 张立顺

fix bug

1 parent 26468291
......@@ -232,7 +232,7 @@ Page({
this.getOrderDetail(options.orderCode)
this.showFlag(options.orderCode)
this.setData({
orderCode: options.orderCode
orderCode: options.orderCode,
})
}
},
......@@ -249,7 +249,7 @@ Page({
this.getOrderDetail(options.orderCode)
this.showFlag(options.orderCode)
this.setData({
orderCode: options.orderCode
orderCode: options.orderCode,
})
}
let userInfo = wx.$util.getUserInfo()
......@@ -319,7 +319,8 @@ Page({
async getOrderDetail(orderCode) {
let _this = this
let { signatureSwitch, baseConfigData, allNoConstruction } = _this.data
let { signatureSwitch, baseConfigData } = _this.data
let allNoConstruction = true
const positionTypeList = (await getPositionList()) || []
wx.$util.showLoading('加载中...')
......@@ -371,13 +372,11 @@ Page({
let total_price = 0
let warrantyCardList = []
for (var i = 0; i < data?.subOrderList?.length; i++) {
if (true) {
}
let e = data?.subOrderList[i]
// 判断是否全为无需施工
if (e.constructionStatus != 3) {
allNoConstruction = false
console.log(e.constructionStatus, 'e.constructionStatus');
}
total_price += e.totalPrice
e.price = Number(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!