订单未接单,不允许修改

This commit is contained in:
wuteng 2025-10-08 17:30:23 +08:00
parent ce7c906bb5
commit ac70feeebe

View File

@ -1654,8 +1654,11 @@ methods: {
this.sendSiteSelectCount =0;
if(this.billCode && this.billCode!=undefined) {
this.loading = true;
getWaybillDetail(this.billCode).then(response => {
getWaybillDetail(this.billCode).then(response => {
if(response.data.orderStatus=='0'){
this.$modal.msgError('未接单,不允许修改');
return;
}
if(this.$store.getters.ownerSiteCode!='88888'&&this.action!='got'){
if(this.$store.getters.ownerSiteCode!=response.data.sendSiteCode){
this.$modal.msgError('此单归属不允许修改');