huang_an 2 年之前
父节点
当前提交
9cdf410d1f
共有 1 个文件被更改,包括 10 次插入53 次删除
  1. 10 53
      src/views/bpm/stockManagement/add.vue

+ 10 - 53
src/views/bpm/stockManagement/add.vue

@@ -863,11 +863,7 @@
               label="计量单位"
               prop="measuringUnit"
             ></el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 2 || formData.bizType == 1"
-              label="物料代号"
-              prop="materielCode"
-            >
+            <el-table-column label="物料代号" prop="materielCode">
               <template slot-scope="{ row }">
                 <el-input
                   v-if="!row.isPack"
@@ -876,11 +872,7 @@
                 <span v-else>{{ row.materielCode }}</span>
               </template>
             </el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 2 || formData.bizType == 1"
-              label="客户代号"
-              prop="clientCode"
-            >
+            <el-table-column label="客户代号" prop="clientCode">
               <template slot-scope="{ row }">
                 <el-input
                   v-if="!row.isPack"
@@ -889,22 +881,13 @@
                 <span v-else> {{ row.clientCode }}</span>
               </template>
             </el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 1"
-              label="刻码"
-              prop="engrave"
-            >
+            <el-table-column label="刻码" prop="engrave">
               <template slot-scope="{ row }">
                 <el-input v-if="!row.isPack" v-model="row.engrave"></el-input>
                 <span v-else>{{ row.engrave }}</span>
               </template>
             </el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 2 || formData.bizType == 1"
-              label="重量"
-              prop="weight"
-              width="100"
-            >
+            <el-table-column label="重量" prop="weight" width="100">
               <template slot-scope="{ row }">
                 <el-input
                   v-if="!row.isPack"
@@ -914,11 +897,7 @@
                 <span v-else>{{ row.weight }}</span>
               </template>
             </el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 2 || formData.bizType == 1"
-              label="重量单位"
-              prop="weightUtil"
-            >
+            <el-table-column label="重量单位" prop="weightUtil">
               <template slot-scope="{ row }">
                 {{ row.weightUtil }}
               </template>
@@ -1055,11 +1034,7 @@
               label="计量单位"
               prop="measuringUnit"
             ></el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 2"
-              label="物料代号"
-              prop="meterielCode"
-            >
+            <el-table-column label="物料代号" prop="meterielCode">
               <template slot-scope="{ row }">
                 <el-input
                   v-model="row.materielCode"
@@ -1068,11 +1043,7 @@
                 <span v-else>{{ row.materialCode }}</span>
               </template>
             </el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 2 || formData.bizType == 1"
-              label="客户代号"
-              prop="clientCode"
-            >
+            <el-table-column label="客户代号" prop="clientCode">
               <template slot-scope="{ row }">
                 <el-input
                   v-model="row.clientCode"
@@ -1081,33 +1052,19 @@
                 <span v-else> {{ row.clientCode }}</span>
               </template>
             </el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 1"
-              label="刻码"
-              prop="engrave"
-            >
+            <el-table-column label="刻码" prop="engrave">
               <template slot-scope="{ row }">
                 <el-input v-model="row.engrave" v-if="!row.isPack"></el-input>
                 <span v-else> {{ row.engrave }}</span>
               </template>
             </el-table-column>
-            <el-table-column
-              width="100"
-              v-if="formData.bizType == 2 || formData.bizType == 1"
-              label="重量"
-              prop="weight"
-            >
+            <el-table-column width="100" label="重量" prop="weight">
               <template slot-scope="{ row }">
                 <el-input v-model="row.weight" v-if="!row.isPack"></el-input>
                 <span v-else>{{ row.weight }}</span>
               </template>
             </el-table-column>
-            <el-table-column
-              v-if="formData.bizType == 2 || formData.bizType == 1"
-              label="重量单位"
-              prop="weightUnit"
-              width="100"
-            >
+            <el-table-column label="重量单位" prop="weightUnit" width="100">
             </el-table-column>
             <el-table-column label="质检结果" prop="result" width="120">
               <template slot-scope="{ row }">