Commit 5aee7059 by WH

Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110

parents 6519243e 235ff5e1
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
root: this root: this
} }
}, },
mixins: [event,operationFunc,], mixins: [event,operationFunc],
data(){ data(){
return { return {
tabVal: "ovwp", tabVal: "ovwp",
......
...@@ -75,7 +75,7 @@ export default class Brteus { ...@@ -75,7 +75,7 @@ export default class Brteus {
advtyp: '', advtyp: '',
docsta: '', docsta: '',
ownref: '', ownref: '',
totamt: '', totamt: '0',
totdat: '', totdat: '',
advdat: '', advdat: '',
stadat: '', stadat: '',
...@@ -119,6 +119,7 @@ export default class Brteus { ...@@ -119,6 +119,7 @@ export default class Brteus {
expdat: '', expdat: '',
ownref: '', ownref: '',
branchinr:"00000014", branchinr:"00000014",
inr: '',
}, },
cbs: { cbs: {
opn1: { opn1: {
......
...@@ -27,7 +27,8 @@ export default { ...@@ -27,7 +27,8 @@ export default {
} }
let dataObj = { let dataObj = {
rec: { rec: {
objtyp: 'lid', objtyp: 'brd',
objinr:model.brdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
opndat: model.brdgrp.rec.opndat, opndat: model.brdgrp.rec.opndat,
expdat: model.brdgrp.rec.expdat, expdat: model.brdgrp.rec.expdat,
......
...@@ -59,6 +59,8 @@ export default class Brtudp { ...@@ -59,6 +59,8 @@ export default class Brtudp {
} }
}, },
rec: { rec: {
inr:'',
branchinr:'',
tenmaxday: '', tenmaxday: '',
predat: '', predat: '',
relgodflg: '', relgodflg: '',
...@@ -239,6 +241,8 @@ export default class Brtudp { ...@@ -239,6 +241,8 @@ export default class Brtudp {
}, },
lidgrp: { lidgrp: {
rec: { rec: {
inr: '',
branchinr: '',
expdat: '', expdat: '',
ownref: '' ownref: ''
}, },
......
...@@ -196,28 +196,6 @@ export default class Letame { ...@@ -196,28 +196,6 @@ export default class Letame {
}, },
rmbrol: '' rmbrol: ''
}, },
trnmod: {
swiadd: {
newnomtop: '',
shpfro: '',
shpper: '',
amedat: '',
pordis: '',
addamtcov: '',
newnomton: '',
amenbr: '',
addamt: '',
amecur: '',
newshpdat: '',
newamt: '',
shpto: '',
newexpdat: '',
ameamt: '',
newcur: '',
porloa: '',
nomspc: ''
}
},
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
......
...@@ -64,19 +64,16 @@ ...@@ -64,19 +64,16 @@
</div> </div>
</template> </template>
<script> <script>
import Api from '~/service/Api' import event from '../event'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
export default { export default {
inject: ['root'], inject: ["root"],
props: ['model', 'codes'], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data() { data() {
return {} return {}
}, },
methods: { ...Event }, methods: {},
created: function () {}, created: function () {},
} }
</script> </script>
......
...@@ -67,19 +67,16 @@ ...@@ -67,19 +67,16 @@
</div> </div>
</template> </template>
<script> <script>
import Api from '~/service/Api' import event from '../event'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
export default { export default {
inject: ['root'], inject: ["root"],
props: ['model', 'codes'], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data() { data() {
return {} return {}
}, },
methods: { ...Event }, methods: {},
created: function () { }, created: function () { },
} }
</script> </script>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="出口信用证修改"> <c-page title="出口信用证修改">
<el-form <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:model="model" :validate-on-rule-change="false">
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
...@@ -23,32 +16,28 @@ ...@@ -23,32 +16,28 @@
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<m-setmod <!-- 表外记账 -->
:model="model" <m-engp :model="model" :codes="codes" />
:codes="codes" </c-content>
@changeSetmodModel="changeSetmodModel" </el-tab-pane>
/>
</c-content>
</el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-glentry :model="model" :codes="codes" /> <m-setmod :model="model" :codes="codes" @changeSetmodModel="changeSetmodModel" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb"> <el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
...@@ -69,60 +58,39 @@ ...@@ -69,60 +58,39 @@
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
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-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Addbcb from "./Addbcb";
import Api from '~/service/Api'
import CodeTable from '~/config/CodeTable'
import Letame from '~/model/Letame'
import commonProcess from '~/mixin/commonProcess'
import commonFuncs from "~/mixin/commonFuncs"
import Check from '~/model/Letame/Check'
import Default from '~/model/Letame/Default'
import Pattern from '~/model/Letame/Pattern'
import Amep from './Amep'
import Ovwp from './Ovwp'
import Detp from './Detp'
import Aamp from './Aamp'
import Ptyp from './Ptyp'
import Ovwp1 from './Ovwp1'
import Inspame from './Inspame' import event from '../event';
import operationFunc from "~/mixin/operationFunc";
import Doxpame from "~/views/Public/Doxpame"; import CodeTable from "~/config/CodeTable";
import Engp from "~/views/Public/Engp"; import formRules from '../model/check';
import Setpan from '~/views/Public/Setpan'; import Letame from "../model";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from '~/views/Public/Doctre';
import Limitbody from '~/views/Public/Limitbody';
import Amep from './Amep';
import Ovwp from './Ovwp';
import Detp from './Detp';
import Aamp from './Aamp';
import Ptyp from './Ptyp';
import Ovwp1 from './Ovwp1';
import Inspame from './Inspame';
import Addbcb from "./Addbcb";
// import Doxpame from "~/components/business/doxpame/views";
import Engp from "~/components/business/engp/views";
// import Setpan from "~/components/business/setpan/views";
// import Glepan from "~/components/business/glepan/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
export default { export default {
...@@ -130,15 +98,16 @@ export default { ...@@ -130,15 +98,16 @@ export default {
components: { components: {
'm-amep': Amep, 'm-amep': Amep,
'm-ovwp': Ovwp, 'm-ovwp': Ovwp,
'm-ovwp1': Ovwp1,
'm-detp': Detp, 'm-detp': Detp,
'm-aamp': Aamp, 'm-aamp': Aamp,
"m-addbcb": Addbcb, "m-addbcb": Addbcb,
'm-ptyp': Ptyp, 'm-ptyp': Ptyp,
"m-doxpame": Doxpame, // "m-doxpame": Doxpame,
'm-inspame': Inspame, 'm-inspame': Inspame,
'm-engp': Engp, 'm-engp': Engp,
'm-setpan': Setpan, // 'm-setpan': Setpan,
'm-glepan': Glepan, // 'm-glepan': Glepan,
'm-coninfp': Coninfp, 'm-coninfp': Coninfp,
'm-docpan': Docpan, 'm-docpan': Docpan,
'm-doctre': Doctre, 'm-doctre': Doctre,
...@@ -149,40 +118,23 @@ export default { ...@@ -149,40 +118,23 @@ export default {
root: this, root: this,
} }
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [event, operationFunc],
data() { data() {
return { return {
tabVal: 'ovwp', tabVal: 'ovwp',
trnName: 'letame', trnName: 'letame',
model: new Letame().data, model: new Letame().data,
checkRules: Check, rules: formRules,
defaultRules: Default, codes: {
pattern: Pattern, ...CodeTable
rules: null, },
codes: { ...CodeTable }, activeNames: ["setpan"],
activeNames: ["engp"],
} }
}, },
methods: { methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
}, },
created: async function () { mounted() {
console.log('进入letame交易') this.init()
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
}, },
} }
</script> </script>
......
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