去掉分期必填

This commit is contained in:
老叶
2022-06-06 16:05:26 +08:00
parent 0207310823
commit c843abb7bf
+3 -6
View File
@@ -219,12 +219,6 @@ Page({
icon: 'none'
})
}
else if(!this.data.price_loan||this.data.num == ''){
wx.showToast({
title: '请选择分期期数',
icon: 'none'
})
}
else if(!this.data.notify_file_obj.src){
wx.showToast({
title: '请上传按揭通知函',
@@ -249,6 +243,9 @@ Page({
if(that.data.lend_file_obj.value){
params['lend_file'] = that.data.lend_file_obj.value;
}
if(that.data.num){
params['num'] = that.data.num;
}
_.apiQuery.putAppLoan(params).then(res => {
that.setData({