Commit a53193a3 by 王志慧

fixed

1 parent a742cff4
......@@ -29,7 +29,7 @@
<GLDialog class="gl-form-page gl-form-min" :title="isRefuse != 2 ? '审核' : '驳回'" mode="mid" :visible.sync="showPassDialog" :close-on-click-modal="false" :before-close="clearSelect">
<el-form ref="form" :model="form" label-width="154px">
<el-form-item :label="isRefuse != 2 ? '备注:' : '驳回原因:'">
<el-input type="textarea" v-model="form.remark" :rows="3"></el-input>
<el-input type="textarea" v-model="form.remark" :rows="3" maxlength="50"></el-input>
</el-form-item>
<span class="describe" v-if="isRefuse != 2">审核通过后,转账业务单据自动流转至财务确认。</span>
</el-form>
......@@ -189,7 +189,7 @@ export default {
fn: '驳回'
},
condition: row => {
return row.status == 0
return row.status == 0||row.status == 1
},
listeners: {
click: row => {
......@@ -412,10 +412,9 @@ export default {
},
watch: {
'searchForm.customerPhone'(newVal) {
if(isNaN(Number(newVal))) {
this.searchForm.customerPhone=newVal.replace(/[^\d]/g,'')
}
if (isNaN(Number(newVal))) {
this.searchForm.customerPhone = newVal.replace(/[^\d]/g, '')
}
}
},
mounted() {
......@@ -531,10 +530,16 @@ export default {
getAdmin() {
this.$apis.withdraw.getAdmin({}).then(res => {
this.payForm.admin = `${res.name} ${res.phone}`
console.log(this.payForm)
})
},
comfirmCheck() {
if (this.isRefuse == 2 && this.form.remark == '') {
this.$message({
message: '请输入驳回原因',
type: 'error'
})
return
}
this.checkLoading = true
let { isRefuse } = this,
Methods = this.isRefuse == 2 ? 'integralOut' : 'integralApprove',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!