Selaa lähdekoodia

自选领用出库重量修改判断

huang_an 2 vuotta sitten
vanhempi
commit
fe67c93e23

+ 2 - 0
src/views/bpm/handleTask/components/selectedCollectionOutbound/outsourcingOutbound.vue

@@ -286,9 +286,11 @@
               <el-table-column label="重量" prop="weight">
                 <template slot-scope="{ row, $index }">
                   <el-input
+                    v-if="row.weightUnit == row.measuringUnit"
                     @input="wrapWeightChange($event, row)"
                     v-model="row.weight"
                   ></el-input>
+                  <span v-else>{{ row.weight }}</span>
                 </template>
               </el-table-column>
               <el-table-column