Commit 53880a10 by WH

修复前端letdrw前端缺陷问题

parent b1fa0d3c
......@@ -3,8 +3,8 @@ import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Letdrw{
constructor () {
export default class Letdrw {
constructor() {
this.data = {
betp: {
......@@ -27,6 +27,7 @@ export default class Letdrw{
defdet: ''
},
rec: {
inr: '',
tenmaxday: '',
nomton: '',
expplc: '',
......@@ -150,6 +151,7 @@ export default class Letdrw{
intdis: ''
},
rec: {
inr: '',
rcvdat: '',
doctypcod: '',
ownref: '',
......@@ -166,13 +168,15 @@ export default class Letdrw{
},
cbs: {
opn2: {
cur: ''
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
},
max2: {
cur: '',
amt: ''
}
},
......
......@@ -352,6 +352,9 @@
rol: 'ben',
}"
:disabled="true"
@keyup.enter.native="
queryGridEtyPromptDialogData('BEN', 'C')
"
>
</c-ptap>
</c-col>
......@@ -365,6 +368,9 @@
rol: 'iss',
}"
:disabled="true"
@keyup.enter.native="
queryGridEtyPromptDialogData('ISS', 'B')
"
>
</c-ptap>
</c-col>
......@@ -378,6 +384,9 @@
rol: 'apl',
}"
:disabled="true"
@keyup.enter.native="
queryGridEtyPromptDialogData('APL', 'C')
"
>
</c-ptap>
</c-col>
......
......@@ -18,13 +18,13 @@
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -34,15 +34,15 @@
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
<m-engp :model="model" :codes="codes"/>
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
<m-setpan :model="model" :codes="codes"/>
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
<m-glepan :model="model" :codes="codes"/>
</el-collapse-item>
</el-collapse>
</div>
......@@ -51,53 +51,43 @@
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
<m-addbcb :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<!-- 数据回填效果 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
<script>
import Api from '~/service/Api'
import CodeTable from '~/config/CodeTable'
import Letdrw from '~/model/Letdrw'
import commonProcess from '~/mixin/commonProcess'
import commonFuncs from '~/mixin/commonFuncs'
import Check from '~/model/Letdrw/Check'
import Default from '~/model/Letdrw/Default'
import Pattern from '~/model/Letdrw/Pattern'
......@@ -119,6 +109,8 @@ import Doctre from '~/views/Public/Doctre'
import Engp from '~/views/Public/Engp'
import Limitbody from '~/views/Public/Limitbody'
import Glepan from "~/views/Public/Glepan";
import operationFunc from "@/mixin/operationFunc";
import event from "@/business/letdrw/event";
export default {
name: 'Letdrw',
......@@ -139,14 +131,14 @@ export default {
'm-doctre': Doctre,
'm-srmp': Srmp,
'm-limitbody': Limitbody,
"m-glepan":Glepan,
"m-glepan": Glepan,
},
provide() {
return {
root: this,
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: 'ovwp',
......@@ -156,8 +148,50 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
codes: {...CodeTable},
activeNames: ["engp"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
}
},
methods: {
......@@ -178,7 +212,7 @@ export default {
this.restoreDisplay()
}
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
this.$notify.error({title: '错误', message: '服务请求失败!'})
}
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment