Browse Source

出货单详情

feature/v2.3
xpz2018 4 years ago
parent
commit
92ef71c0f8
2 changed files with 15 additions and 1 deletions
  1. 10
      pages/process/outside-info/index.js
  2. 6
      pages/process/outside-info/index.wxml

10
pages/process/outside-info/index.js

@ -66,6 +66,12 @@ Scene({
imageList.push({url: result.data.orderImageList[index]})
}
}
var paymentImageList = []
if(result.data.paymentImageList && result.data.paymentImageList.length){
for (let index = 0; index < result.data.paymentImageList.length; index++) {
paymentImageList.push({url: result.data.paymentImageList[index]})
}
}
if(this.data.status || this.data.status == 0){
result.data.paymentOrderInfo.receivableStatus = this.data.status
}
@ -80,7 +86,9 @@ Scene({
form: result.data,
admin: app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0,
agent: this.data.agent,
imageList,safeBottom: app.globalData.safeBottom
imageList,
paymentImageList,
safeBottom: app.globalData.safeBottom
})
}).catch(err => {
wx.hideLoading()

6
pages/process/outside-info/index.wxml

@ -218,6 +218,12 @@
</view>
<van-uploader file-list="{{ imageList }}" deletable="{{false}}" show-upload="{{false}}" />
</view>
<view class="bg-white" style="padding: 24rpx 32rpx 20rpx 32rpx" wx:if="{{paymentImageList.length}}">
<view class="flex flex-justify" style="padding-bottom: 24rpx">
<view class="flex flex-center text-black">支付凭证</view>
</view>
<van-uploader file-list="{{ paymentImageList }}" deletable="{{false}}" show-upload="{{false}}" />
</view>
</view>
<submit-layout wx:if="{{form && admin && form.orderStatus == 3}}">

Loading…
Cancel
Save