|
|
@ -49,6 +49,11 @@ |
|
|
|
<span>{{ scope.row.useOrgName }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="采购系统" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.purchaseSystemName }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="销售部门" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.staffDeptName }}</span> |
|
|
@ -169,6 +174,7 @@ export default { |
|
|
|
tableKey: 0, |
|
|
|
list: [], |
|
|
|
sids: [], |
|
|
|
multipleSelection: [], |
|
|
|
listLoading: false, |
|
|
|
listQuery: { |
|
|
|
current: 1, |
|
|
@ -232,6 +238,7 @@ export default { |
|
|
|
// 获取数据sid |
|
|
|
handleSelectionChange(row) { |
|
|
|
const aa = [] |
|
|
|
this.multipleSelection = row |
|
|
|
row.forEach(element => { |
|
|
|
aa.push(element.sid) |
|
|
|
}) |
|
|
@ -283,6 +290,12 @@ export default { |
|
|
|
}, |
|
|
|
toCarryDown() { |
|
|
|
if (this.sids.length > 0) { |
|
|
|
for (var i = 0; i < this.multipleSelection.length; i++) { |
|
|
|
if (this.multipleSelection[i].staffSid !== this.multipleSelection[this.multipleSelection.length - 1].staffSid || this.multipleSelection[i].purchaseSystemSid !== this.multipleSelection[this.multipleSelection.length - 1].purchaseSystemSid) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择同一采购系统和销售专员的记录' }) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
this.viewState = 2 |
|
|
|
var title = '已认款' |
|
|
|
this.$refs['divAdd'].showAdd(title, this.sids) |
|
|
|