|
@@ -289,7 +289,7 @@
|
|
max-height="270">
|
|
max-height="270">
|
|
<el-table-column align="center" label="" width="100">
|
|
<el-table-column align="center" label="" width="100">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button type="primary" size="small" @click="chooseItem(scope.row.recordNo)">选择</el-button>
|
|
|
|
|
|
+ <el-button type="primary" size="small" @click="chooseItem(scope.row.recordNo, scope.row.userid)">选择</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" prop="checkTime" label="工程登录日期" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" prop="checkTime" label="工程登录日期" show-overflow-tooltip></el-table-column>
|
|
@@ -564,10 +564,11 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
// 选择工程登录
|
|
// 选择工程登录
|
|
- chooseItem(id) {
|
|
|
|
|
|
+ chooseItem(id, uid) {
|
|
getHomeLoginDetail({
|
|
getHomeLoginDetail({
|
|
recordNo: id,
|
|
recordNo: id,
|
|
saleTypeId: this.mainForm.saleType,
|
|
saleTypeId: this.mainForm.saleType,
|
|
|
|
+ userId: uid
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.isShowDialog = false;
|
|
this.isShowDialog = false;
|
|
let data = res.data;
|
|
let data = res.data;
|
|
@@ -625,7 +626,7 @@ export default {
|
|
// 选择销售类型
|
|
// 选择销售类型
|
|
changeSaleType() {
|
|
changeSaleType() {
|
|
if(this.mainForm.loginNum) {
|
|
if(this.mainForm.loginNum) {
|
|
- this.chooseItem(this.mainForm.loginNum);
|
|
|
|
|
|
+ this.chooseItem(this.mainForm.loginNum, this.mainForm.loginUserId);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|