Browse Source

完善款项结转

master
yunuo970428 2 years ago
parent
commit
1800127eda
  1. 13
      anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/acceptedmoney.vue
  2. 13
      anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/simpledeposit.vue

13
anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/acceptedmoney.vue

@ -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)

13
anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/simpledeposit.vue

@ -51,6 +51,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>
@ -152,6 +157,7 @@ export default {
tableKey: 0,
list: [],
sids: [],
multipleSelection: [],
listLoading: false,
listQuery: {
current: 1,
@ -216,6 +222,7 @@ export default {
// sid
handleSelectionChange(row) {
const aa = []
this.multipleSelection = row
row.forEach(element => {
aa.push(element.sid)
})
@ -268,6 +275,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)

Loading…
Cancel
Save