Explorar el Código

前端 检斤更新sdy

zhongtianhaoyuan hace 3 años
padre
commit
8058b09cf6
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      src/views/houseSelfCollect/weightCheck.vue

+ 4 - 4
src/views/houseSelfCollect/weightCheck.vue

@@ -131,7 +131,7 @@
               label="皮重(公斤)"
               label="皮重(公斤)"
               span="1"
               span="1"
               prop="tare"
               prop="tare"
-              v-if="this.tpyeNo == 2"
+              v-if="information == '皮重'"
             >
             >
               <ws-input
               <ws-input
                 v-model="weighingList.tare"
                 v-model="weighingList.tare"
@@ -142,13 +142,13 @@
                 :disabled="disabled"
                 :disabled="disabled"
                 />
                 />
             </ws-form-item>
             </ws-form-item>
-            <el-button type="primary" v-if="this.tpyeNo == 2" @click="openPort">重新获取</el-button>
+            <el-button type="primary" v-if="information == '皮重'" @click="openPort">重新获取</el-button>
             <div class="formItem">
             <div class="formItem">
               <ws-form-item
               <ws-form-item
                 label="扣杂(公斤)"
                 label="扣杂(公斤)"
                 span="1"
                 span="1"
                 prop="buckleWeightRatio"
                 prop="buckleWeightRatio"
-                v-if="this.tpyeNo == 2"
+                v-if="information == '皮重'"
               >
               >
                 <ws-input
                 <ws-input
                   v-model="weighingList.buckleMiscellaneous"
                   v-model="weighingList.buckleMiscellaneous"
@@ -163,7 +163,7 @@
                 label="净重(公斤)"
                 label="净重(公斤)"
                 span="1"
                 span="1"
                 prop="netWeight"
                 prop="netWeight"
-                v-if="this.tpyeNo == 2"
+                v-if="information == '皮重'"
               >
               >
                 <ws-input
                 <ws-input
                   v-model="weighingList.netWeight"
                   v-model="weighingList.netWeight"