Browse Source

每月无形资产明细使用人查询参数调整为xmId

ljb 6 months ago
parent
commit
a32a58606b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/yf-cost-manage/basic-data-setting/wxzc-details.vue

+ 3 - 3
src/views/yf-cost-manage/basic-data-setting/wxzc-details.vue

@@ -254,11 +254,11 @@ export default window.$crudCommon({
       return { id, xmId, assetId, zcbm: zcbm_form, userUnicode, userName, yearAndMonth: this.params.yearAndMonth };
       return { id, xmId, assetId, zcbm: zcbm_form, userUnicode, userName, yearAndMonth: this.params.yearAndMonth };
     },
     },
     handleProjectChange(data) {
     handleProjectChange(data) {
-      this.getCyPersonListFunc(data.xmmc);
+      this.getCyPersonListFunc(data.id);
     },
     },
     // 获取项目参研人员列表
     // 获取项目参研人员列表
-    getCyPersonListFunc(xmmc) {
-      getCyPersonList(1, 99999, { xmmc, yearAndMonth: this.params.yearAndMonth }).then(({ data }) => {
+    getCyPersonListFunc(xmId) {
+      getCyPersonList(1, 99999, { xmId, yearAndMonth: this.params.yearAndMonth }).then(({ data }) => {
         if (data.code == 200) {
         if (data.code == 200) {
           let list = data.data.records && data.data.records.length ? data.data.records[0].technicianList : [];
           let list = data.data.records && data.data.records.length ? data.data.records[0].technicianList : [];
           this.cyPersonList = list.map(item => {
           this.cyPersonList = list.map(item => {