Przeglądaj źródła

优化询价管理表格,移除单位必填验证和多余表头插槽

yusheng 8 miesięcy temu
rodzic
commit
de5c52c40e

+ 2 - 8
src/views/bpm/handleTask/components/inquiryManage/inquiryTable.vue

@@ -350,11 +350,6 @@
         <el-form-item
           style="margin-bottom: 20px"
           :prop="'resultList.' + scope.$index + '.purchaseUnitId'"
-          :rules="{
-            required: true,
-            message: '请选择单位',
-            trigger: 'change'
-          }"
         >
           <el-select
             v-model="scope.row.purchaseUnitId"
@@ -519,7 +514,6 @@
       prop: 'purchaseUnit',
       label: '单位',
       slot: 'purchaseUnit',
-      headerSlot: 'headerTotalCount',
       align: 'center'
     },
     {
@@ -930,8 +924,8 @@
         this.getNotaxSinglePrice();
         this.$forceUpdate();
       },
-            //计算不含税单价
-            getNotaxSinglePrice() {
+      //计算不含税单价
+      getNotaxSinglePrice() {
         this.form.resultList.forEach((item, index) => {
           if (item.singlePrice && item.taxRate) {
             this.$set(