|
|
@ -67,12 +67,18 @@ Scene({ |
|
|
this.data.auditable = true |
|
|
this.data.auditable = true |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
var activeNames = ['1'] |
|
|
|
|
|
if(result.data.outboundDeliveryOrder.status == 2){ |
|
|
|
|
|
activeNames = ['2'] |
|
|
|
|
|
} else if(result.data.outboundDeliveryOrder.status == 3){ |
|
|
|
|
|
activeNames = ['2', '1'] |
|
|
|
|
|
} |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
safeBottom: app.globalData.safeBottom, |
|
|
safeBottom: app.globalData.safeBottom, |
|
|
poundInfo: result.data.weightNote, |
|
|
poundInfo: result.data.weightNote, |
|
|
orderInfo: result.data.outboundDeliveryOrder, |
|
|
orderInfo: result.data.outboundDeliveryOrder, |
|
|
auditable: this.data.auditable, |
|
|
auditable: this.data.auditable, |
|
|
activeNames: result.data.outboundDeliveryOrder.status >= 2 ? ['2'] : ['1'] |
|
|
|
|
|
|
|
|
activeNames: activeNames |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
wx.hideLoading() |
|
|
wx.hideLoading() |
|
|
|