|
@@ -179,14 +179,15 @@
|
|
|
max-height="410"
|
|
|
style="font-size: 12px;"
|
|
|
@selection-change="handleSelectionChange"
|
|
|
+ @row-click="rowSelect"
|
|
|
:cell-class-name="cellClassName"
|
|
|
:row-key="getRowKeys"
|
|
|
ref="table"
|
|
|
v-el-table-infinite-scroll="load"
|
|
|
:infinite-scroll-disabled="loadDisabled"
|
|
|
>
|
|
|
- <el-table-column show-overflow-tooltip type="selection" :reserve-selection="true"/>
|
|
|
- <el-table-column show-overflow-tooltip label="序号" type="index" align="center" width="50px"/>
|
|
|
+ <el-table-column show-overflow-tooltip type="selection" :reserve-selection="true" fixed="left"/>
|
|
|
+ <el-table-column show-overflow-tooltip label="序号" type="index" align="center" width="50px" fixed="left"/>
|
|
|
<el-table-column show-overflow-tooltip label="行号" align="center" prop="rowNo">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.rowNo = scope.$index + 1 + "0" }}
|
|
@@ -754,7 +755,9 @@ export default {
|
|
|
} else if (this.pageStu == 'add') {
|
|
|
this.loading = false
|
|
|
this.basicForm.demandPersonal = this.$store.state.user.name
|
|
|
+ this.basicForm.demandPersonalName = this.$store.state.user.nickName
|
|
|
this.basicForm.demandDept = this.$store.state.user.deptId
|
|
|
+ this.basicForm.demandDeptName = this.$store.state.user.deptName
|
|
|
if (this.basicForm.demandPersonal) { this.reBackRefer('CONTACTS_PARAM', this.basicForm.demandPersonal, '需求人员') }
|
|
|
if (this.basicForm.demandDept) { this.reBackRefer('DEPT_PARAM', this.basicForm.demandDept) }
|
|
|
}
|
|
@@ -850,7 +853,9 @@ export default {
|
|
|
this.basicForm.source = '4'
|
|
|
this.basicForm.isCustomerSpecified = 'N'
|
|
|
this.basicForm.demandPersonal = this.$store.state.user.name
|
|
|
+ this.basicForm.demandPersonalName = this.$store.state.user.nickName
|
|
|
this.basicForm.demandDept = this.$store.state.user.deptId
|
|
|
+ this.basicForm.demandDeptName = this.$store.state.user.deptName
|
|
|
if (this.basicForm.demandPersonal) { this.reBackRefer('CONTACTS_PARAM', this.basicForm.demandPersonal, '需求人员') }
|
|
|
if (this.basicForm.demandDept) { this.reBackRefer('DEPT_PARAM', this.basicForm.demandDept) }
|
|
|
this.basicForm.puDemandItemList.forEach(item => {
|
|
@@ -1055,6 +1060,9 @@ export default {
|
|
|
})
|
|
|
console.log('选中数组', this.ids)
|
|
|
},
|
|
|
+ rowSelect(row) {
|
|
|
+ this.$refs.table.toggleRowSelection(row);
|
|
|
+ },
|
|
|
// 点击预留单展示
|
|
|
showReserved() {
|
|
|
this.dialog.config = true
|
|
@@ -1653,7 +1661,7 @@ export default {
|
|
|
background: #f11616;
|
|
|
}
|
|
|
::v-deep .el-table__row > td {
|
|
|
- border: none;
|
|
|
+ border-right: none;
|
|
|
}
|
|
|
.pltzTxt{
|
|
|
text-align: right;
|