Răsfoiți Sursa

需求人员更改不生效问题

黄梓星 1 an în urmă
părinte
comite
0727f6717f
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      src/views/purchase/PurchaseDemandList/add.vue

+ 2 - 0
src/views/purchase/PurchaseDemandList/add.vue

@@ -559,6 +559,7 @@ export default {
         customerCode: '',
         customerPrincipal: '',
         demandPersonal: '',
+        demandPersonalName: '',
         demandDept: '',
         demandDeptName: '',
         planType: '1',
@@ -1110,6 +1111,7 @@ export default {
       if(this.referCondition.type == 'CONTACTS_PARAM' && this.referCondition.title == '需求人员') {
         this.personOptions = selection
         this.basicForm.demandPersonal = selection[0].code
+        this.basicForm.demandPersonalName = selection[0].name
       }
       if(this.referCondition.type == 'CONTACTS_PARAM' && this.referCondition.title == '采购员') {
         this.purchaseManOptions = selection