소스 검색

修改销售授权承运商

zouzhd 3 년 전
부모
커밋
e65daba45a
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      src/views/appoint/components/saleContract/saleOrderSteelEmpower.vue

+ 10 - 0
src/views/appoint/components/saleContract/saleOrderSteelEmpower.vue

@@ -266,6 +266,16 @@ export default {
             this.getSpanArr(this.selectionList);
           }
         });
+        //若没有承运商可选
+        if(this.carrierNameOptions[0].length==0){
+          //初始化
+          this.carrierNameOptions = [];
+          this.axios
+          .get("/api/v1/uc/getNoListCarrier")
+          .then((res)=>{
+              this.carrierNameOptions.push(res.data.data)
+          });
+        }
       });
     },
     onInput(val){