Commit 6169472c by WF1020

gitame,gitcrj,gitcrq修改

parent 262a7d61
...@@ -7,12 +7,12 @@ export default class Gitame { ...@@ -7,12 +7,12 @@ export default class Gitame {
amebutc: { amebutc: {
chkast: '', chkast: '',
}, },
swiadd:{ swiadd: {
amedat:'', amedat: '',
amenbr:'', amenbr: '',
ameamt:'', ameamt: '',
newamt:'', newamt: '',
newcur:'', newcur: '',
}, },
ametxtflgc: '', ametxtflgc: '',
ametxt: '', ametxt: '',
...@@ -30,14 +30,14 @@ export default class Gitame { ...@@ -30,14 +30,14 @@ export default class Gitame {
prtflg: '', prtflg: '',
plateflg: '', plateflg: '',
amebut: { amebut: {
chkast: '' chkast: '',
}, },
oldmacamt: '', oldmacamt: '',
cre767flg: '' cre767flg: '',
}, },
addbcb: { addbcb: {
gitamermk: '', gitamermk: '',
gitamecho: '' gitamecho: '',
}, },
gidgrp: { gidgrp: {
blk: { blk: {
...@@ -70,7 +70,7 @@ export default class Gitame { ...@@ -70,7 +70,7 @@ export default class Gitame {
addamtcovc: '', addamtcovc: '',
deltoadrc: '', deltoadrc: '',
apprultxt: '', apprultxt: '',
orcplcc: '' orcplcc: '',
}, },
ctr: { ctr: {
pts: new Pts().data, pts: new Pts().data,
...@@ -79,7 +79,7 @@ export default class Gitame { ...@@ -79,7 +79,7 @@ export default class Gitame {
wahnum: '', wahnum: '',
remark: '', remark: '',
bustyp: '', bustyp: '',
segtyp: '' segtyp: '',
}, },
con: { con: {
pts: new Pts().data, pts: new Pts().data,
...@@ -99,7 +99,7 @@ export default class Gitame { ...@@ -99,7 +99,7 @@ export default class Gitame {
gidcxm: { gidcxm: {
benefi: '', benefi: '',
cxmflg: '', cxmflg: '',
warran: '' warran: '',
}, },
rec: { rec: {
acc: '', acc: '',
...@@ -172,7 +172,7 @@ export default class Gitame { ...@@ -172,7 +172,7 @@ export default class Gitame {
jurlawc: '', jurlawc: '',
gartyp: '', gartyp: '',
orccurc: '', orccurc: '',
vrfdat: '' vrfdat: '',
}, },
adv: { adv: {
pts: new Pts().data, pts: new Pts().data,
...@@ -180,36 +180,36 @@ export default class Gitame { ...@@ -180,36 +180,36 @@ export default class Gitame {
cbs: { cbs: {
opn1: { opn1: {
cur: '', cur: '',
amt: '' amt: '',
}, },
mac2: { mac2: {
cur: '', cur: '',
amt: '' amt: '',
}, },
opn2: { opn2: {
cur: '', cur: '',
amt: '' amt: '',
}, },
opc2: { opc2: {
cur: '', cur: '',
amt: '' amt: '',
}, },
max: { max: {
cur: '', cur: '',
amt: '' amt: '',
}, },
max2: { max2: {
cur: '', cur: '',
amt: '' amt: '',
}, },
mac: { mac: {
cur: '', cur: '',
amt: '' amt: '',
} },
}, },
apl: { apl: {
pts: new Pts().data, pts: new Pts().data,
} },
}, },
trnmod: { trnmod: {
swiadd: { swiadd: {
...@@ -248,8 +248,8 @@ export default class Gitame { ...@@ -248,8 +248,8 @@ export default class Gitame {
newamtc: '', newamtc: '',
addamtflgc: '', addamtflgc: '',
ameblk: '', ameblk: '',
reqcan: '' reqcan: '',
} },
}, },
oldgidgrp: { oldgidgrp: {
blk: { blk: {
...@@ -258,20 +258,20 @@ export default class Gitame { ...@@ -258,20 +258,20 @@ export default class Gitame {
gidtxt: '', gidtxt: '',
dtaappexpdat: '', dtaappexpdat: '',
exptxt: '', exptxt: '',
liatxtc: '' liatxtc: '',
}, },
rec: { rec: {
expdat: '', expdat: '',
liadat: '', liadat: '',
liatypc: '', liatypc: '',
exptyp: '' exptyp: '',
}, },
cbs: { cbs: {
max: { max: {
cur: '', cur: '',
amt: '' amt: '',
} },
} },
}, },
gitp: { gitp: {
chkpreper: '', chkpreper: '',
...@@ -283,39 +283,39 @@ export default class Gitame { ...@@ -283,39 +283,39 @@ export default class Gitame {
prepercmodflg: '', prepercmodflg: '',
covgodsrvmodflg: '', covgodsrvmodflg: '',
covgodc: { covgodc: {
chkast: '' chkast: '',
}, },
gidtxt: '', gidtxt: '',
liatxtcmodflg: '', liatxtcmodflg: '',
usr: { usr: {
extkey: '' extkey: '',
}, },
chkgidtxtc: '', chkgidtxtc: '',
prepermodflg: '', prepermodflg: '',
aacp: { aacp: {
aacmod: { aacmod: {
addamtflg: '' addamtflg: '',
} },
}, },
chargic: { chargic: {
chkast: '' chkast: '',
}, },
gidtxtmodflg: '', gidtxtmodflg: '',
gtx: { gtx: {
gidtxt: '' gidtxt: '',
}, },
covgodsrvcmodflg: '', covgodsrvcmodflg: '',
chargi: { chargi: {
chkast: '' chkast: '',
}, },
covgod: { covgod: {
chkast: '' chkast: '',
}, },
chkgidtxt: '', chkgidtxt: '',
dzbhflg: '', dzbhflg: '',
chkpreperc: '', chkpreperc: '',
oldgtxgidtxt: '', oldgtxgidtxt: '',
inc760: '' inc760: '',
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
import Api from "~/service/Api"; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import event from '../event' import event from '../event'
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
......
...@@ -19,7 +19,6 @@ import event from '../event' ...@@ -19,7 +19,6 @@ import event from '../event'
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Addbcb1 from "./Addbcb1"; import Addbcb1 from "./Addbcb1";
export default { export default {
components: { components: {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
...@@ -32,7 +31,6 @@ export default { ...@@ -32,7 +31,6 @@ export default {
return { return {
activeNames: ["addbcb1"], activeNames: ["addbcb1"],
}; };
}, },
methods: { methods: {
}, },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000003 : 货物税号 DE!--> <!-- S0000003 : 货物税号 DE!-->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
......
...@@ -101,7 +101,6 @@ import Engp from "~/components/business/engp/views"; ...@@ -101,7 +101,6 @@ import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Ccvpan from "~/components/business/ccvpan/views"; import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views"; import Glentry from "~/components/business/glentry/views";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<el-form-item label="银行指令" prop="instxt"> <el-form-item label="银行指令" prop="instxt">
<c-input type="textarea" v-model="model.instxt" maxlength="65" <c-input type="textarea" v-model="model.instxt" maxlength="65"
:rows="8" :rows="8"
show-word-limit placeholder="请输入银行指令" ></c-input> show-word-limit placeholder="请输入银行指令" >
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
<el-collapse-item title="银行指令" name="gitbin"> <el-collapse-item title="银行指令" name="gitbin">
<m-gitbin :model="model" :codes="codes" /> <m-gitbin :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod <m-setmod
:model="model" :model="model"
......
...@@ -51,27 +51,28 @@ ...@@ -51,27 +51,28 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<div class="eibs-tab">
<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> </c-content>
<el-collapse-item title="结算" name="setpan"> </el-tab-pane>
<!-- 结算 -->
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<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" />
</el-collapse-item>
</el-collapse>
</div>
</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>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp"> <el-tab-pane label="备查/附言" name="coninfp">
<c-content> <c-content>
...@@ -108,50 +109,34 @@ ...@@ -108,50 +109,34 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty" @select-ety="selectGridEtyPromptData"
> >
</c-grid-ety-prompt-dialog> </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-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Gitset from "~/model/Gitset"; import Gitset from "../model";
import commonProcess from "~/mixin/commonProcess"; import operationFunc from "~/mixin/operationFunc";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitset/Check";
import Default from "~/model/Gitset/Default";
import Pattern from "~/model/Gitset/Pattern";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Engp from "~/views/Public/Engp"; import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan"; import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views"; import Setpan from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Setmod from "~/components/business/setmod/views";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Glepan from "~/views/Public/Glepan";
import Ccvpan from "~/views/Public/Ccvpan";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Cnyp from "./Cnyp"; import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan"; import Shisuan from "./Shisuan";
import event from '../event';
export default { export default {
name: "Gitset", name: "Gitset",
...@@ -167,94 +152,72 @@ export default { ...@@ -167,94 +152,72 @@ export default {
"m-cnyp": Cnyp, "m-cnyp": Cnyp,
"m-shisuan": Shisuan, "m-shisuan": Shisuan,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-setmod":Setmod,
"m-glentry":Glentry
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "gitset", trnName: "gitset",
model: new Gitset().data, model: new Gitset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
activeNames: ["engp","coninfp"], activeNames: ["engp"],
activeNames1: ["limitbody"], promptData: {
}; title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
}, },
watch:{ {
"model.setmod.doccur":{ prop: 'inr',
immediate:true, label: 'Address Number'
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
}, },
"model.mtabut.clsflg":{ {
immediate:true, prop: 'branch',
handler(){ label: 'Branch Code'
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
}, },
{
prop: 'bchName',
label: 'Branch Name'
}, },
methods: { {
myTabClick(tab) { prop: 'adrName',
this.tabClick(tab); label: 'Address Name'
const name = tab.name; },
let rulePath; {
if(name === 'basp'){ prop: 'adr1',
rulePath = "bopmod.dbcp.basp" label: 'Address1'
} },
if(name === 'basp1'){ {
rulePath = "bopmod.dbfp.basp" prop: 'locCty',
} label: 'City'
if(name === 'outp'){
rulePath = "cnybop.outp"
}
if (name === "cips") {
rulePath = "trnmod.cipmod.cips"
}
// if(name === 'det756'){
// rulePath = "setmod.setglg.setgll(2).sespay.det756"
// }
// if (name === "det202cv") {
// rulePath = "setmod.setglg.setgll(2).sespay.det202cv"
// }
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
}, },
{
prop: 'locZip',
label: 'Zip'
}, },
created: async function () { {
console.log("进入gitset交易"); prop: 'bicCode',
let rtnmsg = await this.init({}); label: 'BIC'
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
} }
} else { ],
this.$notify.error({ title: "错误", message: "服务请求失败!" }); data: []
} }
};
},
methods: {
},
mounted () {
this.init()
}, },
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<el-collapse-item title="取消信息" name="canp"> <el-collapse-item title="取消信息" name="canp">
<m-canp :model="model" :codes="codes" /> <m-canp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -30,10 +30,7 @@ export default { ...@@ -30,10 +30,7 @@ export default {
}, },
methods: { methods: {
...Event,
handleChange(val) {
console.log(val);
},
}, },
created: function () {}, created: function () {},
}; };
......
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