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 { ...@@ -410,7 +410,7 @@ export default {
//获取转账金额 //获取转账金额
getAmount() { getAmount() {
var infoForm = deepClone(this.infoForm) 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 return
} }
......
...@@ -386,7 +386,7 @@ export default { ...@@ -386,7 +386,7 @@ export default {
this.searchFormSearch.statuses[0] = this.searchFormSearch.status this.searchFormSearch.statuses[0] = this.searchFormSearch.status
delete 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 this.searchFormSearch.sceneTypes[0] = this.searchFormSearch.sceneType
delete this.searchFormSearch.sceneType delete this.searchFormSearch.sceneType
} }
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
{{ isSend ? sendMsg + '秒后,重试' : '获取验证码' }} {{ isSend ? sendMsg + '秒后,重试' : '获取验证码' }}
</el-button> </el-button>
<p v-show="showtips"> <p v-show="showtips">
已向尾号为{{ infoForm.withdrawPhone ? infoForm.withdrawPhone.slice(-4) : '' }}的手机号发送验证码,验证码30分钟内有效 已向尾号为{{ infoForm.administrators ? infoForm.administrators.slice(-4) : '' }}的手机号发送验证码,验证码30分钟内有效
</p> </p>
</el-form-item> </el-form-item>
<el-form-item label="备注:" <el-form-item label="备注:"
......
...@@ -72,8 +72,8 @@ export default { ...@@ -72,8 +72,8 @@ export default {
searchForm: { searchForm: {
withdrawTradeNo: '', withdrawTradeNo: '',
merchantName: '', merchantName: '',
merchantId: '', merchantIdFuzzy: '',
merchantIds: [], // merchantIds: [],
status: '', status: '',
statuses: [], statuses: [],
withdrawalDate: '' withdrawalDate: ''
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
isClear: true isClear: true
}, { }, {
label: '商户号', label: '商户号',
name: 'merchantId', name: 'merchantIdFuzzy',
type: 'input', type: 'input',
inputType: 'number', inputType: 'number',
maxlength: '20', maxlength: '20',
...@@ -212,10 +212,10 @@ export default { ...@@ -212,10 +212,10 @@ export default {
this.searchFormSearch.withdrawEndTimeStr = Util.dateFormate(this.searchFormSearch.withdrawalDate[1], 'YYYY-MM-DD') + ' 23:59:59' this.searchFormSearch.withdrawEndTimeStr = Util.dateFormate(this.searchFormSearch.withdrawalDate[1], 'YYYY-MM-DD') + ' 23:59:59'
delete this.searchFormSearch.withdrawalDate delete this.searchFormSearch.withdrawalDate
} }
if (this.searchFormSearch.merchantId) { // if (this.searchFormSearch.merchantId) {
this.searchFormSearch.merchantIds[0] = this.searchFormSearch.merchantId // this.searchFormSearch.merchantIds[0] = this.searchFormSearch.merchantId
delete this.searchFormSearch.merchantId // delete this.searchFormSearch.merchantId
} // }
if (this.searchFormSearch.status) { if (this.searchFormSearch.status) {
this.searchFormSearch.statuses[0] = this.searchFormSearch.status this.searchFormSearch.statuses[0] = this.searchFormSearch.status
delete this.searchFormSearch.status delete this.searchFormSearch.status
...@@ -246,8 +246,8 @@ export default { ...@@ -246,8 +246,8 @@ export default {
this.searchForm = { this.searchForm = {
withdrawTradeNo: '', withdrawTradeNo: '',
merchantName: '', merchantName: '',
merchantId: '', merchantIdFuzzy: '',
merchantIds: [], // merchantIds: [],
status: '', status: '',
statuses: [], statuses: [],
withdrawalDate: '' withdrawalDate: ''
...@@ -273,11 +273,11 @@ export default { ...@@ -273,11 +273,11 @@ export default {
params[statuses] = params.statuses[0] params[statuses] = params.statuses[0]
delete params.statuses delete params.statuses
} }
if (params.merchantIds.length > 0) { // if (params.merchantIds.length > 0) {
const merchantIds = `merchantIds[0]` // const merchantIds = `merchantIds[0]`
params[merchantIds] = params.merchantIds[0] // params[merchantIds] = params.merchantIds[0]
delete params.merchantIds // delete params.merchantIds
} // }
// 去除为null的值 // 去除为null的值
for (const key in params) { for (const key in params) {
if (params[key] === null || params[key] === '' || params[key].length == 0) { 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!