黄梓星 1 vuosi sitten
vanhempi
commit
b1e5cf9220
1 muutettua tiedostoa jossa 13 lisäystä ja 13 poistoa
  1. 13 13
      src/views/purchase/DemandSummary/index.vue

+ 13 - 13
src/views/purchase/DemandSummary/index.vue

@@ -275,14 +275,14 @@
           <el-table-column show-overflow-tooltip label="采购员" align="center" prop="buyerName" width="150px">
             <template slot-scope="scope">
                 <el-input readonly :disabled="scope.row.status !== '1' || lineDisable" size="mini" v-model="scope.row.buyerName">
-                  <el-button size="mini" :disabled="scope.row.status !== '1' || lineDisable" slot="append" icon="el-icon-more" @click="chooseSon(scope.$index, 'CONTACTS_PARAM', true, '采购员')"></el-button>
+                  <el-button size="mini" :disabled="scope.row.status !== '1' || lineDisable" slot="append" icon="el-icon-more" @click="chooseSon(scope.$index, 'CONTACTS_PARAM', true, '明细采购员')"></el-button>
                 </el-input>
             </template>
           </el-table-column>
           <el-table-column show-overflow-tooltip label="默认采购组织" align="center" prop="purchaseOrgName" width="280px">
             <template slot-scope="scope">
                 <el-input readonly :disabled="scope.row.status !== '1' || lineDisable" size="mini" v-model="scope.row.purchaseOrgName">
-                  <el-button size="mini" :disabled="scope.row.status !== '1' || lineDisable" slot="append" icon="el-icon-more" @click="chooseSon(scope.$index, 'ORG_PARAM', true, '默认采购组织')"></el-button>
+                  <el-button size="mini" :disabled="scope.row.status !== '1' || lineDisable" slot="append" icon="el-icon-more" @click="chooseSon(scope.$index, 'ORG_PARAM', true, '明细默认采购组织')"></el-button>
                 </el-input>
             </template>
           </el-table-column>
@@ -460,11 +460,11 @@ export default {
       allSelection: [],
       // 子表index
       tableIndex: null,
-      referConditionMx: {
-        type: '',
-        isPage: true,
-        title: ''
-      }
+      // referConditionMx: {
+      //   type: '',
+      //   isPage: true,
+      //   title: ''
+      // }
     }
   },
   created() {
@@ -732,12 +732,12 @@ export default {
         this.orgOptions = selection
         this.queryParams.purchaseOrg = selection[0].id
       }
-      if (this.referConditionMx.title == '采购员') {
+      if (this.referCondition.title == '明细采购员') {
         console.log('选择进了吗',this.tableList)
         this.tableList[this.tableIndex].buyer = selection[0].code
         this.tableList[this.tableIndex].buyerName = selection[0].name
       }
-      if (this.referConditionMx.title == '默认采购组织') {
+      if (this.referCondition.title == '明细默认采购组织') {
         console.log('选择进了吗',this.tableList)
         this.tableList[this.tableIndex].purchaseOrg = selection[0].id
         this.tableList[this.tableIndex].purchaseOrgName = selection[0].name
@@ -765,10 +765,10 @@ export default {
         // 明细行选择业务部门参照带出业务部门数据
     chooseSon(index, type, isPage, title) {
       this.tableIndex = index
-      this.referConditionMx.type = type
-      this.referConditionMx.isPage = isPage
-      this.referConditionMx.title = title
-      this.$refs.refer.init(this.referConditionMx)
+      this.referCondition.type = type
+      this.referCondition.isPage = isPage
+      this.referCondition.title = title
+      this.$refs.refer.init(this.referCondition)
     }
   }
 }