uu
This commit is contained in:
parent
ac0e1d114c
commit
3284386b5e
@ -162,12 +162,12 @@
|
|||||||
<u-row justify="end">
|
<u-row justify="end">
|
||||||
<view style="display: inline-block;white-space: nowrap;" class="mt-10 pb-30">
|
<view style="display: inline-block;white-space: nowrap;" class="mt-10 pb-30">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-button @click="handleDialogClick(feedModal)" shape="circle" :plain="true"
|
<u-button v-if="item.status!=3" @click="handleDialogClick(feedModal)" shape="circle" :plain="true"
|
||||||
custom-style="height: 54rpx;margin-left: 20rpx;">反馈异常</u-button>
|
custom-style="height: 54rpx;margin-left: 20rpx;">反馈异常</u-button>
|
||||||
|
|
||||||
<u-button :disabled="item.confirmStatus==2" @click="confirmJinCang(item.inNo)" shape="circle" type="primary"
|
<u-button :disabled="item.status==3" @click="confirmJinCang(item.inNo)" shape="circle" type="primary"
|
||||||
custom-style="height: 54rpx;margin-left: 20rpx;">
|
custom-style="height: 54rpx;margin-left: 20rpx;">
|
||||||
{{item.confirmStatus==2?'已确认进仓':'进仓确认'}}
|
{{item.status==3?'已确认进仓':'进仓确认'}}
|
||||||
</u-button>
|
</u-button>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
@ -181,8 +181,8 @@
|
|||||||
<u-button @click="handleDownloadPdf()" :plain="true" size="large" shape="circle" custom-style="margin: 0 10rpx;height:80rpx;font-size: 30rpx;"
|
<u-button @click="handleDownloadPdf()" :plain="true" size="large" shape="circle" custom-style="margin: 0 10rpx;height:80rpx;font-size: 30rpx;"
|
||||||
>下载PDF
|
>下载PDF
|
||||||
</u-button>
|
</u-button>
|
||||||
<u-button :disabled="billInfo.confirmStatus==2" @click="confirmJinCang()" type="primary" size="large" shape="circle" custom-style="margin: 0 10rpx;height:80rpx;font-size: 30rpx;"
|
<u-button :disabled="billInfo.status==3" @click="confirmJinCang()" type="primary" size="large" shape="circle" custom-style="margin: 0 10rpx;height:80rpx;font-size: 30rpx;"
|
||||||
>{{billInfo.confirmStatus==2?'已确认进仓':'确认可发货'}}
|
>{{billInfo.status==3?'已确认进仓':'确认可发货'}}
|
||||||
</u-button>
|
</u-button>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
@ -281,10 +281,9 @@
|
|||||||
debugger
|
debugger
|
||||||
},
|
},
|
||||||
async confirmJinCang(inNo) {
|
async confirmJinCang(inNo) {
|
||||||
// "confirmStatus": "1-确认 2-部分确认"
|
let confirmStatus = '2' // 部分入仓
|
||||||
let confirmStatus = '2'
|
|
||||||
if(!inNo) {
|
if(!inNo) {
|
||||||
confirmStatus = '1'
|
confirmStatus = '1' // 全部入仓
|
||||||
inNo = this.billInfo.inNo
|
inNo = this.billInfo.inNo
|
||||||
}
|
}
|
||||||
let res = await apiService.cusConfirmWsIn({ inNo, confirmStatus, _loading: true })
|
let res = await apiService.cusConfirmWsIn({ inNo, confirmStatus, _loading: true })
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user