Преглед на файлове

【修改】政策订单显示问题

howie преди 2 години
родител
ревизия
196bdb9bc3
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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") {