更新9.29

This commit is contained in:
许允枞 2024-09-29 13:59:54 +08:00
parent 8f34536411
commit 029cb2d6f4
2 changed files with 9 additions and 3 deletions

View File

@ -712,8 +712,14 @@ export default {
this.open1 = false this.open1 = false
this.queryParams.page = 1 this.queryParams.page = 1
this.getList() this.getList()
} else { } else if (res.data == 2){
this.$message.error("修改失败,手机号已存在") this.$message.error("共享副卡-不限额,暂不支持修改")
} else if (res.data == 3){
this.$message.error("当前车队卡剩余额度不足,无法扣除")
} else if (res.data == 4){
this.$message.error("当前车队卡剩余额度不足,无法扣除")
} else if (res.data == 5){
this.$message.error("当前副卡剩余额度不足,无法扣除")
} }
}) })
} }

View File

@ -67,7 +67,7 @@
parameterType="java.lang.Integer"> parameterType="java.lang.Integer">
select SUM(remaining_credit_limit) select SUM(remaining_credit_limit)
from fleet_member from fleet_member
where fleet_id = #{fleetId} and secondary_card_type = 2 where fleet_id = #{fleetId} and secondary_card_type != 1
</select> </select>
</mapper> </mapper>