Commit ddf7bd82 authored by zhengyi's avatar zhengyi

费用申请提交bug修复

parent 12b91308
......@@ -264,7 +264,7 @@ export default {
// 查询是否有审核中的费用申请
getFeeApplicationApproveByOrderId(this.orderId).then((res) => {
if (res.data.formId) {
if (res.data) {
this.processInstanceId = res.data.formId;
/*getBatchFeeByBusinessId(res.data.orderApprovalId).then(res => {
this.list = res.data
......@@ -307,14 +307,17 @@ export default {
},
submit() {
// 判断费用申请是否有未填项
console.log("提交的费用信息列表", this.feeList)
const errList = this.feeList.filter((item) => {
console.log("金额值", item["applicationFee"])
return (
!item["feeType"] ||
!item["applicationFee"] ||
item.applicationFee == null || item.applicationFee == undefined ||
!item["applicationFeeCurrency"] ||
!item["payType"]
);
});
console.log("错误值信息", errList)
if (errList.length) {
return this.$message.error("请填写完整费用申请信息");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment