diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/agencyfund/agencyfundAdd.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/agencyfund/agencyfundAdd.vue index 46634de98c..d77f07aefc 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/agencyfund/agencyfundAdd.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/agencyfund/agencyfundAdd.vue @@ -399,7 +399,8 @@ export default { vinNo: '', orgPath: '', state: '', - purchaseSystemSid: '' + purchaseSystemSid: '', + staffDeptSid: '' }, rules: { collectionMoney: [{ required: true, message: '收款金额不能为空', trigger: 'blur' }], @@ -587,8 +588,13 @@ export default { this.$message({ showClose: true, type: 'error', message: '请选择采购系统' }) return } + if (this.formobj.staffDeptName === '') { + this.$message({ showClose: true, type: 'error', message: '请选择销售部门' }) + return + } this.listQuery.orgPath = window.sessionStorage.getItem('defaultOrgPath') this.listQuery.purchaseSystemSid = this.formobj.purchaseSystemSid + this.listQuery.staffDeptSid = this.formobj.staffDeptSid this.listQuery.state = '1' listAll(this.listQuery).then((res) => { if (res.success) { @@ -609,7 +615,8 @@ export default { vinNo: '', orgPath: '', state: '', - purchaseSystemSid: '' + purchaseSystemSid: '', + staffDeptSid: '' } this.getlist() }, @@ -887,7 +894,8 @@ export default { vinNo: '', orgPath: '', state: '', - purchaseSystemSid: '' + purchaseSystemSid: '', + staffDeptSid: '' } this.list1 = [] this.list2 = []