|
|
@@ -9,7 +9,7 @@
|
|
|
</view>
|
|
|
<view class="info-cell">
|
|
|
<view class="cell-label"> 日期</view>
|
|
|
- <view class="cell-value"> {{ putData.updateTime.substr(5,11) }}</view>
|
|
|
+ <view class="cell-value"> {{ putData.updateTime?putData.updateTime.substr(5,11):'' }}</view>
|
|
|
</view>
|
|
|
<view class="info-cell">
|
|
|
<view class="cell-label"> 制单人</view>
|
|
|
@@ -162,7 +162,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
async putEvent() {
|
|
|
- await confirmOrderApi(this.orderSn);
|
|
|
+ uni.showLoading({mask:true})
|
|
|
+ await confirmOrderApi(this.orderSn)
|
|
|
+ uni.hideLoading()
|
|
|
await this.initData();
|
|
|
wx.showToast({ title: "入库成功" })
|
|
|
},
|