预算计划

master
lion 5 months ago
parent 87f19361a0
commit 32799b8b44

@ -352,24 +352,32 @@ export default {
for (let i of selections) { for (let i of selections) {
if(!i._inputMoney){ if(!i._inputMoney){
// 0 if (i._inputMoney < 0) {
if(this.isMuplite){ this.$message({
if (i._inputMoney <= 0) { type: "warning",
this.$message({ message: `${i.year}${i.name} 使用金额需要大于0`,
type: "warning", });
message: `${i.year}${i.name} 使用金额需要大于0`, return;
});
return;
}
}else{
if (i._inputMoney < 0) {
this.$message({
type: "warning",
message: `${i.year}${i.name} 使用金额需要大于0`,
});
return;
}
} }
// 0
// if(this.isMuplite){
// if (i._inputMoney <= 0) {
// this.$message({
// type: "warning",
// message: `${i.year}${i.name} 使0`,
// });
// return;
// }
// }else{
// if (i._inputMoney < 0) {
// this.$message({
// type: "warning",
// message: `${i.year}${i.name} 使0`,
// });
// 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))) {
this.$message({ this.$message({
type: "warning", type: "warning",

Loading…
Cancel
Save