Browse Source

修改bug

chenrui 2 months ago
parent
commit
4c40806ec2

+ 9 - 1
src/views/allocationManagement/transferOut/basicInfoModal.vue

@@ -76,7 +76,13 @@
               prop="productTypeSn2"
               :required="form.costTypeName=='促销费用'"
             >
-              <productTypeAll :isAll="true" placeholder="请选择费用归属品类(单选,至少选到二级或三级)" showAllType @change="changeProductType" v-model="productType" id="allocateBill-basicInfo-productType"></productTypeAll>
+              <productTypeAll
+                :isAll="true"
+                placeholder="请选择费用归属品类(单选,至少选到二级或三级)"
+                showAllType
+                @change="changeProductType"
+                v-model="productType"
+                id="allocateBill-basicInfo-productType"></productTypeAll>
             </a-form-model-item>
           </a-col>
           <a-col :md="12" :sm="24">
@@ -349,6 +355,8 @@ export default {
         this.allocateTypeVal = []
         this.productType = []
         this.attachList = []
+        this.rules.productBrandSn = []
+        this.rules.productTypeSn2 = []
         this.form.attachmentList = ''
         this.$refs.attachList.setFileList('')
         this.form = {

+ 2 - 0
src/views/expenseManagement/expenseReimbursement/baseDataModal.vue

@@ -233,6 +233,8 @@ export default {
         title: '', // 主题
         content: '' // 费用说明
       }
+      this.rules.productBrandSn = []
+      this.rules.productTypeSn2 = []
       this.productType = []
       this.attachList = []
       this.form.expenseAccountFilesList = ''