uu
This commit is contained in:
parent
1b24e8610c
commit
c5092feb65
@ -129,3 +129,8 @@ export const getWarehouseInInfo = (data = {})=> {
|
|||||||
export const scanCheckBillCode = (data = {})=> {
|
export const scanCheckBillCode = (data = {})=> {
|
||||||
return coreRequest(url.scanCheckBillCode, data, {})
|
return coreRequest(url.scanCheckBillCode, data, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 进仓单异常反馈
|
||||||
|
export const reportBatchWsInError = (data = {})=> {
|
||||||
|
return coreRequest(url.reportBatchWsInError, data, {})
|
||||||
|
}
|
||||||
|
|||||||
@ -65,6 +65,7 @@ export default {
|
|||||||
cusConfirmWsIn: `/oms2c/emisWarehouseIn/cusConfirmWsIn`, // 确认进仓单
|
cusConfirmWsIn: `/oms2c/emisWarehouseIn/cusConfirmWsIn`, // 确认进仓单
|
||||||
querySappNotifyTplList: `/oms2c/common/querySappNotifyTplList`, // 小程序订阅消息模板列表
|
querySappNotifyTplList: `/oms2c/common/querySappNotifyTplList`, // 小程序订阅消息模板列表
|
||||||
getOnlineKefuH5Url: `/oms2c/common/getOnlineKefuH5Url`, // 获取客服消息链接
|
getOnlineKefuH5Url: `/oms2c/common/getOnlineKefuH5Url`, // 获取客服消息链接
|
||||||
|
reportBatchWsInError: `/oms2c/emisWarehouseIn/reportBatchWsInError`, // 进仓单异常反馈
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -155,11 +155,18 @@
|
|||||||
></u-image>
|
></u-image>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view v-if="item.abnormalDesc" class="dt-item font-28">
|
||||||
|
<view>
|
||||||
|
<text class="pr-20 clr-sub">异常反馈备注:</text>
|
||||||
|
<text class="clr-prm">{{item.abnormalDesc}}</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<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 v-if="item.confirmStatus!=1" @click="handleDialogClick(feedModal)" shape="circle" :plain="true"
|
<u-button v-if="item.confirmStatus!=1" @click="handleFeedDialogClick(item)" shape="circle" :plain="true"
|
||||||
custom-style="height: 54rpx;margin-left: 20rpx;">反馈异常</u-button>
|
custom-style="height: 54rpx;margin-left: 20rpx;">反馈异常</u-button>
|
||||||
|
|
||||||
<u-button v-if="billInfo.stockInFlag == 1" :disabled="item.confirmStatus==1" @click="confirmJinCang(item.inNo)" shape="circle" type="primary"
|
<u-button v-if="billInfo.stockInFlag == 1" :disabled="item.confirmStatus==1" @click="confirmJinCang(item.inNo)" shape="circle" type="primary"
|
||||||
@ -188,9 +195,9 @@
|
|||||||
</tpx-layout>
|
</tpx-layout>
|
||||||
|
|
||||||
|
|
||||||
<tpx-com-dialog v-model:show="feedModal.show" title="反馈内容" @onSure="handleSubmitFeed">
|
<tpx-com-dialog ref="feedDialogRef" v-model:show="feedModal.show" title="反馈内容">
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
<u-input placeholder="请输入" custom-style="height: 56rpx;font-size: 28rpx;"></u-input>
|
<u-input v-model="feedModal.data.abnormalDesc" placeholder="请输入" custom-style="height: 56rpx;font-size: 28rpx;"></u-input>
|
||||||
</template>
|
</template>
|
||||||
</tpx-com-dialog>
|
</tpx-com-dialog>
|
||||||
</tpx-page>
|
</tpx-page>
|
||||||
@ -223,7 +230,12 @@
|
|||||||
billInfo: {},
|
billInfo: {},
|
||||||
postInfo: {},
|
postInfo: {},
|
||||||
feedModal: {
|
feedModal: {
|
||||||
show: false
|
show: false,
|
||||||
|
data: {
|
||||||
|
inNo: '',
|
||||||
|
serialNo: '',
|
||||||
|
abnormalDesc: ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -261,8 +273,23 @@
|
|||||||
}
|
}
|
||||||
this.pageLoading = false
|
this.pageLoading = false
|
||||||
},
|
},
|
||||||
handleDialogClick(curModal){
|
async handleFeedDialogClick(item){
|
||||||
curModal.show = !curModal.show
|
this.feedModal.data = { }
|
||||||
|
let bl = await this.$refs.feedDialogRef.getConfirmResult()
|
||||||
|
if(bl) {
|
||||||
|
if(this.feedModal.data?.abnormalDesc) {
|
||||||
|
let params = {
|
||||||
|
inNo: this.billInfo.inNo,
|
||||||
|
serialNo: item.serialNo,
|
||||||
|
...this.feedModal.data,
|
||||||
|
_loading: true,
|
||||||
|
}
|
||||||
|
await apiService.reportBatchWsInError(params)
|
||||||
|
this.showToast('操作成功')
|
||||||
|
} else {
|
||||||
|
this.showToast('请输入反馈内容')
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handleCopyWareHouse(){
|
handleCopyWareHouse(){
|
||||||
let { intoWarehouseName, intoWarehouseContact,intoWarehousePhone, intoWarehouseAddress } = this.postInfo
|
let { intoWarehouseName, intoWarehouseContact,intoWarehousePhone, intoWarehouseAddress } = this.postInfo
|
||||||
@ -288,6 +315,7 @@
|
|||||||
let res = await apiService.cusConfirmWsIn({ inNo, confirmStatus, _loading: true })
|
let res = await apiService.cusConfirmWsIn({ inNo, confirmStatus, _loading: true })
|
||||||
this.initData()
|
this.initData()
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user