diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/acceptedmoney.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/acceptedmoney.vue
index 6627894d05..c2df800aba 100644
--- a/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/acceptedmoney.vue
+++ b/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/acceptedmoney.vue
@@ -49,6 +49,11 @@
{{ scope.row.useOrgName }}
+
+
+ {{ scope.row.purchaseSystemName }}
+
+
{{ scope.row.staffDeptName }}
@@ -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)
diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/simpledeposit.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/simpledeposit.vue
index dccab80019..44a22db3dc 100644
--- a/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/simpledeposit.vue
+++ b/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/simpledeposit.vue
@@ -51,6 +51,11 @@
{{ scope.row.useOrgName }}
+
+
+ {{ scope.row.purchaseSystemName }}
+
+
{{ scope.row.staffDeptName }}
@@ -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)