diff --git a/src/components/XyDialog/index.vue b/src/components/XyDialog/index.vue index 7b7d66a..e80b322 100644 --- a/src/components/XyDialog/index.vue +++ b/src/components/XyDialog/index.vue @@ -9,7 +9,7 @@ export default { }, width:{ type:Number, - default:55 + default:58 }, isShow:{ type:Boolean, diff --git a/src/views/contract/contractEdit.vue b/src/views/contract/contractEdit.vue index e4cd731..219de87 100644 --- a/src/views/contract/contractEdit.vue +++ b/src/views/contract/contractEdit.vue @@ -1303,7 +1303,7 @@ export default { }); return; } - if (i._inputMoney > ((Number(i.money) || Number(i.update_money)) - Number(i.has_money_total))) { + if ((i._inputMoney > ((Number(i.money) || Number(i.update_money)) - Number(i.has_money_total))) || (i._inputMoney > ((Number(i.money) || Number(i.update_money)) - Number(i.use_money_total)))) { this.$message({ type: "warning", message: `【${i.year}】${i.name} 使用金额大于剩余预算!`, diff --git a/src/views/finance/components/examineRegistration.vue b/src/views/finance/components/examineRegistration.vue index 3eb8c89..ef30439 100644 --- a/src/views/finance/components/examineRegistration.vue +++ b/src/views/finance/components/examineRegistration.vue @@ -174,12 +174,13 @@