|
|
|
@ -24,14 +24,15 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
|
<div class="idCard" @click="popUp('密码器')"> |
|
|
|
|
<p>请输入密码</p> |
|
|
|
|
<p>请设置密码</p> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="存期" prop="depositTerm"> |
|
|
|
|
<el-select disabled v-model="form.depositTerm" placeholder="请选择" ref="depositTerm"> |
|
|
|
|
<el-option label="1年" value="1年"> </el-option> |
|
|
|
|
<el-option label="3年" value="3年"> </el-option> |
|
|
|
|
<el-option label="5年" value="5年"> </el-option> |
|
|
|
|
<el-form-item label="续存标识" prop="extendDepositTarget"> |
|
|
|
|
<el-select disabled v-model="form.extendDepositTarget" placeholder="请选择" ref="extendDepositTarget"> |
|
|
|
|
<el-option label="不续存" value="不续存"> </el-option> |
|
|
|
|
<el-option label="续存1年" value="续存1年"> </el-option> |
|
|
|
|
<el-option label="续存3年" value="续存3年"> </el-option> |
|
|
|
|
<el-option label="续存5年" value="续存5年"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
@ -50,20 +51,15 @@ |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="凭证号码" required> |
|
|
|
|
<div class="idCard" @click="popUp('输入器')"> |
|
|
|
|
<p>请填凭证号码</p> |
|
|
|
|
<div class="idCard" @click="popUp('刷卡器')"> |
|
|
|
|
<p>请刷银行卡</p> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="月存金额" prop="monthDeposit"> |
|
|
|
|
<el-input :value="form.monthDeposit" @input="val => ismoney(val, form, 'monthDeposit')" ref="monthDeposit" ></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="续存标识" prop="extendDepositTarget"> |
|
|
|
|
<el-select disabled v-model="form.extendDepositTarget" placeholder="请选择" ref="extendDepositTarget"> |
|
|
|
|
<el-option label="不续存" value="不续存"> </el-option> |
|
|
|
|
<el-option label="续存1年" value="续存1年"> </el-option> |
|
|
|
|
<el-option label="续存3年" value="续存3年"> </el-option> |
|
|
|
|
<el-option label="续存5年" value="续存5年"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
<el-form-item label="客户经理" prop="customerManage"> |
|
|
|
|
<el-input :value="form.customerManage" @input="val => checkHanzi(val, form, 'customerManage')" ref="customerManage" ></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
@ -73,7 +69,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:'', |
|
|
|
@ -140,24 +136,67 @@ export default{ |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
myTable: { |
|
|
|
|
158: { |
|
|
|
|
prop: 'certificateType',//证件类型 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
160: { |
|
|
|
|
prop: 'clientNumber',//客户号 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
myTable2: { |
|
|
|
|
161: { |
|
|
|
|
prop: 'customerName',//客户姓名 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
162: { |
|
|
|
|
prop: 'currency',//币种 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
163: { |
|
|
|
|
prop: 'currencyMark',//钞汇标识 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
164: { |
|
|
|
|
prop: 'voucherType',//凭证类型 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
168: { |
|
|
|
|
prop: 'voucherType',//月存金额 |
|
|
|
|
type: '3' |
|
|
|
|
}, |
|
|
|
|
169: { |
|
|
|
|
prop: 'voucherType',//客户经理 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
170: { |
|
|
|
|
prop: 'customerManage',//续存标识 |
|
|
|
|
type: '1' |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
this.getFormData() |
|
|
|
|
this.$refs.clientNumber.focus() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
popUp(text) { |
|
|
|
|
this.$store.commit('system/changePop',{show:true,text}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getFormData(){ |
|
|
|
|
const parentId = '0,5,26,59,155' |
|
|
|
|
autoPlay2(parentId, this.form, this.myTable2, this.myTable) |
|
|
|
|
}, |
|
|
|
|
submitForm() { |
|
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
|
// 验证通过逻辑写在这 |
|
|
|
|
this.$message({ |
|
|
|
|
message: '验证成功', |
|
|
|
|
center: true |
|
|
|
|
}); |
|
|
|
|
this.visible = true; |
|
|
|
|
const parentId = '0,5,26,59,155' |
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable) |
|
|
|
|
}, this.$refs)); |
|
|
|
|
}, |
|
|
|
|
ismoney: ismoney, |
|
|
|
|