|
|
@ -51,11 +51,7 @@ |
|
|
|
<span>开户行</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="formobj.bankName" placeholder="请选择" clearable filterable> |
|
|
|
<el-option v-for="item in bank_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item><el-input v-model="formobj.bankName" clearable placeholder="" class="addinputw"></el-input></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="tleftb"> |
|
|
|
<span>银行账号</span> |
|
|
@ -73,7 +69,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import { fetchDetailsBySid, save } from '@/api/kaipiaoxinxi/openTicket' |
|
|
|
import { typeValues, getOrgSidByPath,fetchBySid } from '@/api/dictcommons/dictcommons' |
|
|
|
import { getOrgSidByPath,fetchBySid } from '@/api/dictcommons/dictcommons' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'kaipiaoxinxiAdd', |
|
|
@ -82,7 +78,6 @@ export default { |
|
|
|
viewTitle: '', |
|
|
|
index: 0, |
|
|
|
tableKey: 0, |
|
|
|
bank_list: [], |
|
|
|
// 表单数据 |
|
|
|
formobj: { |
|
|
|
sid: '', // 一条数据的sid |
|
|
@ -103,11 +98,6 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
typeValues({ type: 'bank' }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.bank_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj.useOrgSid = resp.data |
|
|
|