Jelajahi Sumber

自选出库环境判断

huang_an 1 tahun lalu
induk
melakukan
b079e81403

+ 7 - 1
src/views/bpm/handleTask/components/selectedCollectionOutbound/outsourcingOutbound.vue

@@ -286,7 +286,10 @@
               <el-table-column label="重量" prop="weight">
                 <template slot-scope="{ row, $index }">
                   <el-input
-                    v-if="row.weightUnit == row.measuringUnit"
+                    v-if="
+                      row.weightUnit == row.measuringUnit &&
+                      clientEnvironmentId == 2
+                    "
                     @input="wrapWeightChange($event, row)"
                     v-model="row.weight"
                   ></el-input>
@@ -516,6 +519,9 @@
     computed: {
       tableHeader() {
         return tableHeader(this.formData.extInfo.assetType);
+      },
+      clientEnvironmentId() {
+        return this.$store.state.user.info.clientEnvironmentId;
       }
     },
     async mounted() {