|
|
|
@ -76,7 +76,7 @@ |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import { myValidate, checkHanzi, checkName, ismoney } from '@/utils/utilFunction.js' |
|
|
|
|
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'; |
|
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
|
export default{ |
|
|
|
|
name:'', |
|
|
|
@ -151,23 +151,75 @@ export default{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请输入起息日' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
myTable: { |
|
|
|
|
135: { |
|
|
|
|
prop: 'certificateType',//金额 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
139: { |
|
|
|
|
prop: 'clientNumber',//支取方式 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
143: { |
|
|
|
|
prop: 'clientNumber',//摘要 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
myTable2: { |
|
|
|
|
132: { |
|
|
|
|
prop: 'customerName',//客户姓名 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
133: { |
|
|
|
|
prop: 'currency',//币种 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
134: { |
|
|
|
|
prop: 'currencyMark',//钞汇标识 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
136: { |
|
|
|
|
prop: 'voucherType',//存期 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
137: { |
|
|
|
|
prop: 'customerManage',//利率 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
138: { |
|
|
|
|
prop: 'customerManage',//续存 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
141: { |
|
|
|
|
prop: 'customerManage',//存款类别 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
142: { |
|
|
|
|
prop: 'customerManage',//起息日 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
this.getFormData() |
|
|
|
|
this.$refs.customerName.focus() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getFormData(){ |
|
|
|
|
const parentId = '0,5,26,58,119' |
|
|
|
|
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,58,119' |
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable) |
|
|
|
|
}, this.$refs)); |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|