|
|
|
@ -24,12 +24,13 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="票据类型" prop="billType"> |
|
|
|
|
<el-select v-model="form.billType" placeholder="请选择" ref="billType"> |
|
|
|
|
<el-option label="银行本票" value="银行本票"> </el-option> |
|
|
|
|
<el-option label="银行支票" value="银行支票"> </el-option> |
|
|
|
|
<el-option label="银行汇票" value="银行汇票"> </el-option> |
|
|
|
|
<el-option label="银行承兑汇票" value="银行承兑汇票"> </el-option> |
|
|
|
|
<el-option label="商业承兑汇票" value="商业承兑汇票"> </el-option> |
|
|
|
|
<el-option label="其他" value="其他"> </el-option> |
|
|
|
|
<el-option v-for="item in billTypeSelect" :label="item.itemId" :key="item.itemId" >{{ item.description }}</el-option> |
|
|
|
|
<!-- <el-option :label="119">银行本票</el-option> |
|
|
|
|
<el-option :label="120">银行承兑汇票</el-option> |
|
|
|
|
<el-option :label="136">银行汇票</el-option> |
|
|
|
|
<el-option :label="137" value="银行承兑汇票"> </el-option> |
|
|
|
|
<el-option :label="商业承兑汇票" value="商业承兑汇票"> </el-option> |
|
|
|
|
<el-option :label="其他" value="其他"> </el-option> --> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="交换行号" prop="exchangeNumber"> |
|
|
|
@ -101,6 +102,7 @@ |
|
|
|
|
<script> |
|
|
|
|
import { mapState } from 'vuex' |
|
|
|
|
import { myValidate, ismoney, inputListen, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js' |
|
|
|
|
import { getSubjectInfo } from '@/api/http.js' |
|
|
|
|
import MyTitle from '@/components/myTitle' |
|
|
|
|
export default { |
|
|
|
|
name: 'index', |
|
|
|
@ -110,6 +112,7 @@ export default { |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
text:'存款',/* 顶部文字 */ |
|
|
|
|
billTypeSelect: [], |
|
|
|
|
form:{ |
|
|
|
|
// 必填项 |
|
|
|
|
shroffAccountNumber: '', // 本行收款账号 |
|
|
|
@ -302,6 +305,7 @@ export default { |
|
|
|
|
this.form.insertDate = tmpFunc() |
|
|
|
|
this.form.exchangeNumber = 20082289056288 |
|
|
|
|
this.form.exchangeName = '交换行名' |
|
|
|
|
this.getSubjectInfo() |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,359' |
|
|
|
@ -316,6 +320,15 @@ export default { |
|
|
|
|
autoPlay(parentId, this.form, this.myTable2, this.myTable) |
|
|
|
|
}, this.$refs)); |
|
|
|
|
}, |
|
|
|
|
async getSubjectInfo() { |
|
|
|
|
const { data: { items } } = await getSubjectInfo({ |
|
|
|
|
subject_id: 57 |
|
|
|
|
}) |
|
|
|
|
this.billTypeSelect.push(...items) |
|
|
|
|
}, |
|
|
|
|
// export const getSubjectInfo= (params) => { |
|
|
|
|
// return get( '/judgment/lcSubject/getSubjectInfo',params) |
|
|
|
|
// } |
|
|
|
|
getFocus() { |
|
|
|
|
if(!this.form.shroffAccountNumber) { |
|
|
|
|
this.$message({ |
|
|
|
|