Merge pull request '订单未接单,不允许修改' (#110) from master-dev into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-frontend/pulls/110
This commit is contained in:
wuteng 2025-10-08 17:39:46 +08:00
commit eb05a335c7

View File

@ -1655,7 +1655,10 @@ methods: {
if(this.billCode && this.billCode!=undefined) { if(this.billCode && this.billCode!=undefined) {
this.loading = true; 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!='88888'&&this.action!='got'){
if(this.$store.getters.ownerSiteCode!=response.data.sendSiteCode){ if(this.$store.getters.ownerSiteCode!=response.data.sendSiteCode){
this.$modal.msgError('此单归属不允许修改'); this.$modal.msgError('此单归属不允许修改');