|
@@ -201,10 +201,13 @@ export default {
|
|
|
this.$refs.ruleForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
const params = Object.assign({}, _this.form)
|
|
|
+<<<<<<< HEAD
|
|
|
if (params.creditWarnLimit >= params.creditLimit) {
|
|
|
_this.$message.warning('结算提醒金额需要小于授信额度')
|
|
|
return
|
|
|
}
|
|
|
+=======
|
|
|
+>>>>>>> 099acb7acfa483cfbefb59cea751df80b8ef9b7c
|
|
|
if (this.shelfInfo) {
|
|
|
console.log(this.shelfInfo, 'this.nowData')
|
|
|
params.shelfSn = this.shelfInfo.shelfSn
|
|
@@ -216,6 +219,10 @@ export default {
|
|
|
params.bondFlag = this.settleInfo.bondFlag
|
|
|
params.id = this.settleInfo.id
|
|
|
}
|
|
|
+ if (params.creditWarnLimit >= params.creditLimit) {
|
|
|
+ _this.$message.warning('结算提醒金额需要小于授信额度')
|
|
|
+ return
|
|
|
+ }
|
|
|
_this.spinning = true
|
|
|
shelfSettleRuleSave(params).then(res => {
|
|
|
if (res.status == 200) {
|