Commit 473ca7be by 张立顺

Merge branch 'dev_v4.31.0_1031' of http://192.168.3.233:8090/saas_plus/dj-car-li…

…fe-system into dev_v4.31.0_1031
2 parents c31cb9d8 9ba27063
......@@ -410,7 +410,7 @@ export default {
//获取转账金额
getAmount() {
var infoForm = deepClone(this.infoForm)
if (!infoForm.merchantId || !infoForm.reconciliationDate || !infoForm.sceneType || infoForm.expenseType.length == 0) {
if (!infoForm.merchantId || !infoForm.reconciliationDate || (!infoForm.sceneType && infoForm.sceneType != '0') || infoForm.expenseType.length == 0) {
return
}
......
......@@ -386,7 +386,7 @@ export default {
this.searchFormSearch.statuses[0] = this.searchFormSearch.status
delete this.searchFormSearch.status
}
if (this.searchFormSearch.sceneType) {
if (this.searchFormSearch.sceneType || this.searchFormSearch.sceneType == '0') {
this.searchFormSearch.sceneTypes[0] = this.searchFormSearch.sceneType
delete this.searchFormSearch.sceneType
}
......
......@@ -56,7 +56,7 @@
{{ isSend ? sendMsg + '秒后,重试' : '获取验证码' }}
</el-button>
<p v-show="showtips">
已向尾号为{{ infoForm.withdrawPhone ? infoForm.withdrawPhone.slice(-4) : '' }}的手机号发送验证码,验证码30分钟内有效
已向尾号为{{ infoForm.administrators ? infoForm.administrators.slice(-4) : '' }}的手机号发送验证码,验证码30分钟内有效
</p>
</el-form-item>
<el-form-item label="备注:"
......
......@@ -72,8 +72,8 @@ export default {
searchForm: {
withdrawTradeNo: '',
merchantName: '',
merchantId: '',
merchantIds: [],
merchantIdFuzzy: '',
// merchantIds: [],
status: '',
statuses: [],
withdrawalDate: ''
......@@ -93,7 +93,7 @@ export default {
isClear: true
}, {
label: '商户号',
name: 'merchantId',
name: 'merchantIdFuzzy',
type: 'input',
inputType: 'number',
maxlength: '20',
......@@ -212,10 +212,10 @@ export default {
this.searchFormSearch.withdrawEndTimeStr = Util.dateFormate(this.searchFormSearch.withdrawalDate[1], 'YYYY-MM-DD') + ' 23:59:59'
delete this.searchFormSearch.withdrawalDate
}
if (this.searchFormSearch.merchantId) {
this.searchFormSearch.merchantIds[0] = this.searchFormSearch.merchantId
delete this.searchFormSearch.merchantId
}
// if (this.searchFormSearch.merchantId) {
// this.searchFormSearch.merchantIds[0] = this.searchFormSearch.merchantId
// delete this.searchFormSearch.merchantId
// }
if (this.searchFormSearch.status) {
this.searchFormSearch.statuses[0] = this.searchFormSearch.status
delete this.searchFormSearch.status
......@@ -246,8 +246,8 @@ export default {
this.searchForm = {
withdrawTradeNo: '',
merchantName: '',
merchantId: '',
merchantIds: [],
merchantIdFuzzy: '',
// merchantIds: [],
status: '',
statuses: [],
withdrawalDate: ''
......@@ -273,11 +273,11 @@ export default {
params[statuses] = params.statuses[0]
delete params.statuses
}
if (params.merchantIds.length > 0) {
const merchantIds = `merchantIds[0]`
params[merchantIds] = params.merchantIds[0]
delete params.merchantIds
}
// if (params.merchantIds.length > 0) {
// const merchantIds = `merchantIds[0]`
// params[merchantIds] = params.merchantIds[0]
// delete params.merchantIds
// }
// 去除为null的值
for (const key in params) {
if (params[key] === null || params[key] === '' || params[key].length == 0) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!