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)
       }