Explorar o código

Merge branch 'master_test'

howie %!s(int64=2) %!d(string=hai) anos
pai
achega
58373063f9
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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") {