ccj 3 년 전
부모
커밋
5e0e72f469
3개의 변경된 파일49개의 추가작업 그리고 38개의 파일을 삭제
  1. 36 36
      src/views/houseSelfCollect/customerManagementAdd.vue
  2. 12 1
      src/views/houseSelfCollect/weightCheck.vue
  3. 1 1
      vue.config.js

+ 36 - 36
src/views/houseSelfCollect/customerManagementAdd.vue

@@ -360,13 +360,13 @@
           })
           return
         }
-          if (!this.imageUrl2) {
-          this.$message({
-            message: '请上传身份证反面',
-            type: 'warning',
-          })
-          return
-        }
+        //   if (!this.imageUrl2) {
+        //   this.$message({
+        //     message: '请上传身份证反面',
+        //     type: 'warning',
+        //   })
+        //   return
+        // }
           if (!this.imageUrl3) {
           this.$message({
             message: '请上传银行卡正面',
@@ -374,13 +374,13 @@
           })
           return
         }
-          if (!this.imageUrl4) {
-          this.$message({
-            message: '请上传银行卡反面',
-            type: 'warning',
-          })
-          return
-        }
+        //   if (!this.imageUrl4) {
+        //   this.$message({
+        //     message: '请上传银行卡反面',
+        //     type: 'warning',
+        //   })
+        //   return
+        // }
         if (!this.customerList.customerName) {
           this.$message({
             message: '请输入姓名',
@@ -388,7 +388,7 @@
           })
           return
         }
-           if (!this.customerList.customerNumberCard) {
+           if (!this.customerList.bankCard) {
           this.$message({
             message: '请输入输入银行卡号',
             type: 'warning',
@@ -409,20 +409,20 @@
           })
           return
         }
-         if (!this.customerList.payeeName) {
-          this.$message({
-            message: '请输入收款人姓名',
-            type: 'warning',
-          })
-          return
-        } 
-         if (!this.customerList.payeeNumberCard) {
-          this.$message({
-            message: '请输入收款人身份证号',
-            type: 'warning',
-          })
-          return
-        }
+        //  if (!this.customerList.payeeName) {
+        //   this.$message({
+        //     message: '请输入收款人姓名',
+        //     type: 'warning',
+        //   })
+        //   return
+        // } 
+        //  if (!this.customerList.payeeNumberCard) {
+        //   this.$message({
+        //     message: '请输入收款人身份证号',
+        //     type: 'warning',
+        //   })
+        //   return
+        // }
          if (this.customerList.payeeNumberCard.length != 18) {
           this.$message({
             message: '收款人身份证号输入有误,请重新输入',
@@ -444,13 +444,13 @@
           })
           return
         }
-        if (!this.customerList.compAddress) {
-          this.$message({
-            message: '请输入联系地址',
-            type: 'warning',
-          })
-          return
-        }
+        // if (!this.customerList.compAddress) {
+        //   this.$message({
+        //     message: '请输入联系地址',
+        //     type: 'warning',
+        //   })
+        //   return
+        // }
         // 验证码校验
         GetCustomerCodeJY({
             phone: this.customerList.customerPhone,

+ 12 - 1
src/views/houseSelfCollect/weightCheck.vue

@@ -77,6 +77,7 @@
             </ws-form-item>
             <ws-form-item label="毛重(公斤)" span="1" prop="grossWeight">
               <ws-input
+                v-if="this.tpyeNo != 2"
                 v-model="weighingList.grossWeight"
                 @input="calculation"
                 placeholder="未获取到毛重"
@@ -84,6 +85,15 @@
                 size="small"
                 :disabled="disabled"
               />
+              <ws-input
+                v-else
+                v-model="weighingList.grossWeight"
+                @input="calculation"
+                placeholder="未获取到毛重"
+                maxlength="100"
+                size="small"
+                disabled
+              />
             </ws-form-item>
             <el-button
               type="primary"
@@ -103,7 +113,7 @@
                 placeholder="未获取到皮重"
                 maxlength="100"
                 size="small"
-                :disabled="!disabled"
+                :disabled="disabled"
                 />
             </ws-form-item>
             <el-button type="primary" v-if="this.tpyeNo == 2" @click="openPort">重新获取</el-button>
@@ -225,6 +235,7 @@ export default {
     }
     if (this.tpyeNo == 1) {
       this.information = '毛重'
+      this.weighingList.tare = 0
     } else if (this.tpyeNo == 2) {
       this.information = '皮重'
     }

+ 1 - 1
vue.config.js

@@ -141,7 +141,7 @@ module.exports = {
         // target: 'https://product-server.winsea.com/', //目标地址
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
-        target: 'http://192.168.1.112:8090/',
+        target: 'http://192.168.1.103:9100/',
         // target: 'http://192.168.1.112:8090/',
         // target: 'http://192.168.1.121:8090/',
         // target: 'http://192.168.1.119:8090/',