|
|
|
@ -69,7 +69,7 @@ |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
|
import { myValidate, checkHanzi, checkName, ismoney } from '@/utils/utilFunction.js' |
|
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay2, autoPlay } from '@/utils/utilFunction.js'; |
|
|
|
|
export default{ |
|
|
|
|
name:'', |
|
|
|
|
props:{}, |
|
|
|
@ -135,22 +135,66 @@ export default{ |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
myTable: { |
|
|
|
|
195: { |
|
|
|
|
prop: 'certificateType',//证件类型 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
197: { |
|
|
|
|
prop: 'clientNumber',//客户号 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
myTable2: { |
|
|
|
|
198: { |
|
|
|
|
prop: 'customerName',//客户姓名 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
199: { |
|
|
|
|
prop: 'currency',//币种 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
200: { |
|
|
|
|
prop: 'currencyMark',//钞汇标识 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
201: { |
|
|
|
|
prop: 'voucherType',//凭证类型 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
// : { |
|
|
|
|
// prop: 'voucherType',//通知类型 |
|
|
|
|
// type: '1' |
|
|
|
|
// }, |
|
|
|
|
// 127: { |
|
|
|
|
// prop: 'voucherType',//存款类型 |
|
|
|
|
// type: '1' |
|
|
|
|
// }, |
|
|
|
|
// 129: { |
|
|
|
|
// prop: 'withdrawingWay',//金额 |
|
|
|
|
// type: '1' |
|
|
|
|
// }, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
this.getFormData() |
|
|
|
|
this.$refs.clientNumber.focus() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getFormData(){ |
|
|
|
|
const parentId = '0,5,26,60,193' |
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable) |
|
|
|
|
}, |
|
|
|
|
popUp(text) { |
|
|
|
|
this.$store.commit('system/changePop',{show:true,text}) |
|
|
|
|
}, |
|
|
|
|
submitForm() { |
|
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
|
// 验证通过逻辑写在这 |
|
|
|
|
this.$message({ |
|
|
|
|
message: '验证成功', |
|
|
|
|
center: true |
|
|
|
|
}); |
|
|
|
|
this.visible = true; |
|
|
|
|
const parentId = '0,5,26,60,193' |
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable) |
|
|
|
|
}, this.$refs)); |
|
|
|
|
}, |
|
|
|
|
ismoney: ismoney, |
|
|
|
|