Browse Source

滞留增加提示

dev-xx
马远东 7 months ago
parent
commit
d0af8356b0
  1. 18
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue

18
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -4604,6 +4604,16 @@ if($useStore.getters && $useStore.getters.permission){
},
//
retention(row){
ElMessageBox.confirm(
'是否确认滞留操作?',
'提示',
{
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}
)
.then(() => {
let data={
barcode:row.orderPackageCode,
deliveryId:this.deliverydata.id,
@ -4613,11 +4623,19 @@ if($useStore.getters && $useStore.getters.permission){
$_retentionScan(data).then(res=>{
console.log(res,'res');
if(res.data.code ==200){
ElMessage({
message: '滞留成功',
type: 'success',
})
this.getWrapdetails(this.wpage);
}
}).catch(()=>{
this.loading=false
})
})
.catch(() => {})
},
//
Batchpackages(){

Loading…
Cancel
Save