liyg 2 년 전
부모
커밋
73d9eb9afd
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/views/appoint/components/saleContract/addTransportPrice.vue

+ 6 - 0
src/views/appoint/components/saleContract/addTransportPrice.vue

@@ -518,6 +518,12 @@ export default {
           message: "请输入运输距离!",});
         return;
       }
+      if (!this.form1.priceValue){
+        this.$message({
+          type: "warning",
+          message: "请输入运价!",});
+        return;
+      }
       for (let i = 0; i < this.selectionList.length; i++) {
         this.carrierIdArray.push(this.selectionList[i].carrierId)
       }