Ver código fonte

Merge branch 'master_test'

howie 2 anos atrás
pai
commit
58373063f9
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      src/views/supply/policy/components/retail_form.vue

+ 3 - 1
src/views/supply/policy/components/retail_form.vue

@@ -1679,7 +1679,9 @@ export default {
         this.policyList = res.data.records;
         console.log( res.data.records);
         if (this.policyList.length) {
-          this.handlePolicy(res.data.records[0].id)
+          this.screenForm.saleTypeCode = ''
+          this.screenForm.specifications = ''
+          this.handlePolicy(this.screenForm.policyId)
         // const type =  this.policyList.find(e=>e.code==this.screenForm.policyId).type
 
         // if (type === "PROVISION") {