|
|
|
@ -48,16 +48,24 @@ Scene({ |
|
|
|
this.data.fileList.push({ url: element}) |
|
|
|
} |
|
|
|
} |
|
|
|
if(app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0){ |
|
|
|
if(result.data.outboundDeliveryOrder.status == 0){ |
|
|
|
this.data.auditable = true |
|
|
|
} |
|
|
|
} |
|
|
|
this.setData({ |
|
|
|
safeBottom: app.globalData.safeBottom, |
|
|
|
poundInfo: result.data.weightNote, |
|
|
|
orderInfo: result.data.outboundDeliveryOrder, |
|
|
|
form: result.data.outboundDeliveryOrderSettlementInfo, |
|
|
|
auditable: this.data.auditable, |
|
|
|
fileList: this.data.fileList |
|
|
|
}) |
|
|
|
} else { |
|
|
|
if(app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0 && result.data.outboundDeliveryOrder.status == 0){ |
|
|
|
this.data.auditable = true |
|
|
|
if(app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0){ |
|
|
|
if(result.data.outboundDeliveryOrder.status == 0){ |
|
|
|
this.data.auditable = true |
|
|
|
} |
|
|
|
} |
|
|
|
this.setData({ |
|
|
|
safeBottom: app.globalData.safeBottom, |
|
|
|
|