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

Loading…
Cancel
Save