Просмотр исходного кода

保单上传页面默认字段为[]

lihongxiao 2 лет назад
Родитель
Сommit
7257796ddb

+ 0 - 2
src/views/Task/External/ExternalOrders.vue

@@ -105,8 +105,6 @@ export default {
             deptName:this.$route.query.data.deptname
         }
             this.$refs.Ktletter.policyNumberForm=this.$route.query.data
-
-           
             this.$refs.Ktletter.obtainProtocol(this.$route.query.data)
         }
         else{

+ 4 - 0
src/views/Task/daikeComponents/KtLetter.vue

@@ -7587,6 +7587,10 @@ export default {
       this.imageUploaddialogVisible = true;
     },
     policyUpload() {
+      this.policyNumberForm.jqPolicyList= !this.policyNumberForm.jqPolicyList?[]: this.policyNumberForm.jqPolicyList
+      this.policyNumberForm.jqSignList=!this.policyNumberForm.jqSignList ?[]: this.policyNumberForm.jqSignList
+      this.policyNumberForm.syPolicyList=!this.policyNumberForm.syPolicyList?[]: this.policyNumberForm.syPolicyList
+      this.policyNumberForm.noPolicyList=!this.policyNumberForm.noPolicyList ?[]: this.policyNumberForm.noPolicyList
       this.policyUploaddialogVisible = true;
     },
     cancelorder(item) {