Commit 86f9cf7a by liaoxing

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents e395955f 5473f062
...@@ -118,10 +118,10 @@ let checkObj = { ...@@ -118,10 +118,10 @@ let checkObj = {
{ type: 'date', required: false, message: '输入正确的日期' }, { type: 'date', required: false, message: '输入正确的日期' },
], ],
'setmod.docamt': [ // 'setmod.docamt': [
{ type: 'string', required: false, message: '必输项' }, // { type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, // { max: 18, message: '整数位不能超过14位' },
], // ],
'setmod.redamt': [ 'setmod.redamt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, message: '整数位不能超过14位' },
......
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
// if (model.cldgrp.col.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.cldgrp.col));
// }
// if (model.cldgrp.pre.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.cldgrp.pre));
// }
// if (model.cldgrp.dro.pts.extkey) {
// ptsptaList.push(this.buildPtspta(model.cldgrp.dro));
// }
let dataObj = {
rec: {
objtyp: 'CLD',
objinr: model.cldgrp.rec.inr,
ownref: model.cldgrp.rec.ownref,
opndat: model.cldgrp.rec.opndat,
expdat: model.cldgrp.rec.expdat,
branchInr: model.cldgrp.rec.branchinr,
nam: model.cldgrp.rec.nam,
oridre: model.cldgrp.rec.oridre,
},
cbsMap: {
MAX: model.cldgrp.cbs.max,
OPN1: model.cldgrp.cbs.opn1,
// MAC: model.bcdgrp.cbs.mac,
// MAC2: model.bcdgrp.cbs.mac2,
// OPC2: model.bcdgrp.cbs.opc2,
// CNF: model.bcdgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
// rec: {
// objtyp: 'BCD',
// objinr: model.bcdgrp.rec.inr,
// ownref: model.bcdgrp.rec.ownref,
// },
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
// rec: {
// objtyp: 'BCD',
// objinr: model.bcdgrp.rec.inr,
// ownref: model.bcdgrp.rec.ownref,
// // swiftflg: model.gitp.swiftflg,
// },
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import buildFn from './buildCommons.js';
import setmod from '~/components/business/setmod/event';
import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/event';
import limitbody from '~/components/business/limitbody/event';
import doctre from '~/components/business/doctre/event';
import Utils from "~/utils"
export default {
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
// trnmod:{
// trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
// }
}
const res = await Api.post('/service/cltset/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
cldgrp:{
rec:{
inr: this.$route.query.inr
}
},
});
if (!res.data) {
return
}
this.copyValueFromVoData(this.model, res.data)
this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
if (Utils.typeOf(model[key]) === 'Object') {
this.copyValueFromVoData(model[key], data[key])
} else {
this.$set(model, key, data[key])
}
}
})
},
async tabClick(tab) {
if (this.isInDisplay) {
return;
}
let name = tab.name;
switch (name) {
case 'ccvpan':
let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
this.processLiaccv(ccvpanRequest);
break;
case 'engp':
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
break;
case 'docpan':
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》编号-----获取编号
async queryOwnref() {
let params = {
ptainr: this.model.bcdgrp.dre.pts.ptainr,
businessType: 'IC',
tbl: 'IC',
};
const loading = this.loading();
let res = await Api.post('/service/cltdav/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.bcdgrp.rec.ownref = res.data;
}
},
// 获取弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.cldgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
// 选中弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.cldgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
purposChange(key, value) {
this.handleChangeForm(key, value);
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
botp: {
swiftflg: this.model.botp.swiftflg,
},
bcdgrp: {
rec: {
purpos: this.model.bcdgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/cltdav/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
buildLiaccv () {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
oldamt: this.model.liaccv.oldamt,
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 业务信息=》基本信息=》编号-----获取编号
async queryOwnref() {
let params = {
ptainr: this.model.cldgrp.col.pts.ptainr,
businessType: 'CL',
tbl: 'CL',
};
const loading = this.loading();
let res = await Api.post('/service/cltdav/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.cldgrp.rec.ownref = res.data;
}
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
reqParams = buildFn.buildSetglg(this.model, this.trnName);
this.calcPayDetail(reqParams)
break
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
return
}
}
},
};
import Utils from "~/utils"
/**
* Cctset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"setmod.dspflg" :null,
"mtabut.coninf.conexedat" :null,
"setmod.docamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Cltset {
constructor() {
this.data = {
bptbck: {
bptbckg: [], // .bptbck.bptbckg
},
liaall: new Pub().data.Liaall,
cldgrp: {
rec: {
inr:"",
branchinr:"",
ownref: "", // Batch No. .cldgrp.rec.ownref
colref: "", // Coll.bank ref. .cldgrp.rec.colref
colptynam: "", // Coll.bank name .cldgrp.rec.colptynam
credat: "", // Date of creation .cldgrp.rec.credat
count: "", // Item Count .cldgrp.rec.count
chktyp: "", // Type of Draft .cldgrp.rec.chktyp
colflg: "", // Payemnt Disposition .cldgrp.rec.colflg
},
cbs: {
max: {
cur: "", // Draft Amount .cldgrp.cbs.max.cur
amt: "", // Draft Amount .cldgrp.cbs.max.amt
},
opn1: {
cur: "", // Open Amount .cldgrp.cbs.opn1.cur
amt: "", // Open Amount .cldgrp.cbs.opn1.amt
},
},
},
cltp0: {
recget: {
sdamod: {
seainf: "", // .cltp0.recget.sdamod.seainf
},
},
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Event from "~/model/Litcan/Event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
//"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="内容" name="sel">
<c-content>
<m-sel :model="model" :codes="codes" />
</c-content>
</el-collapse-item>
<!-- <el-collapse-item-->
<!-- title="附加金额"-->
<!-- name="aamp"-->
<!-- v-if="model.litp.aamp.aammod.addamtflg"-->
<!-- >-->
<!-- &lt;!&ndash; 附加金额 &ndash;&gt;-->
<!-- <m-aamp :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item title="详情" name="detp">-->
<!-- &lt;!&ndash; 详情 &ndash;&gt;-->
<!-- <m-detp :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item title="当事人" name="ptyp">-->
<!-- &lt;!&ndash; 当事人 &ndash;&gt;-->
<!-- <m-ptyp :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item title="货物" name="dogp">-->
<!-- &lt;!&ndash; 货物 &ndash;&gt;-->
<!-- <m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item title="单据" name="dorp">-->
<!-- &lt;!&ndash; 单据 &ndash;&gt;-->
<!-- <m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item title="附加条款" name="adcp">-->
<!-- &lt;!&ndash; 附加条款 &ndash;&gt;-->
<!-- <m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item-->
<!-- title="仅适用于指定银行的特殊付款条款"-->
<!-- name="spcrcvp"-->
<!-- v-if="model.lidgrp.rec.spcrcbflg"-->
<!-- >-->
<!-- <m-spcrcvp :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item-->
<!-- title="存在受益人的特殊付款条款"-->
<!-- name="spcbenp"-->
<!-- v-if="model.lidgrp.rec.spcbenflg"-->
<!-- >-->
<!-- <m-spcbenp :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
</el-collapse>
</div>
</template>
<script>
import Sel from "./Sel";
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Cltset/Event";
import Content from "@/components/Content";
export default {
components: {
"m-sel": Sel,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["sel"]
}
},
methods: {
...Event,
}
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="打包托收解包">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="表外记账" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</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">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000002 -->
<!-- <el-tab-pane label="内容" name="sel">-->
<!-- <m-sel :model="model" :codes="codes" />-->
<!-- </el-tab-pane>-->
<!--PD000529 -->
<!-- <el-tab-pane label="报文和面函" name="docpan">-->
<!-- <content>-->
<!-- <m-docpan :model="model" :codes="codes" />-->
<!-- </content>-->
<!-- </el-tab-pane>-->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<!-- <el-tab-pane label="提示信息" name="coninfp">-->
<!-- <content>-->
<!-- <m-coninfp :model="model" :codes="codes" />-->
<!-- </content>-->
<!-- </el-tab-pane>-->
<!--PD000000 -->
<!-- <el-tab-pane label="账务" name="setpan">-->
<!-- <content>-->
<!-- <m-setpan :model="model" :codes="codes" />-->
<!-- </content>-->
<!-- </el-tab-pane>-->
<!--PD000001 -->
<!-- <el-tab-pane label="分录信息" name="glepan">-->
<!-- <content>-->
<!-- <m-glepan :model="model" :codes="codes" />-->
<!-- </content>-->
<!-- </el-tab-pane>-->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<!-- <el-button size="small">备忘录</el-button>-->
<!-- <el-button size="small">影像信息</el-button>-->
<!-- <el-button size="small">保存模板</el-button>-->
<!-- <el-button size="small">使用模板</el-button>-->
<!-- <el-button size="small">制裁信息</el-button>-->
<!-- <el-button size="small">拆分报文</el-button>-->
<!-- <el-button size="small">提示</el-button>-->
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Cltset from "../model";
import operationFunc from "~/mixin/operationFunc";
import Check from "../model/check";
import event from "../event";
// import Sel from "./Sel";
import Engp from "~/components/business/engp/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/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";
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
export default {
name: "Cltset",
components: {
// "m-sel": Sel,
"m-setmod": Setmod,
"m-engp": Engp,
"m-glentry": Glentry,
"m-docpan": Docpan,
"m-doctre": Doctre,
// "m-coninfp": Coninfp,
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
},
provide() {
return {
root: this
}
},
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
activeNames: ["engp"],
tabVal: "ovwp",
trnName: "cltset",
model: new Cltset().data,
rules: Check,
codes: {
...CodeTable,
},
}
},
methods: {
// tabClick() {
// }
},
created: async function () {
// console.log("进入cltset交易");
// let rtnmsg = await this.init(this.$route.query)
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data);
// //TODO 处理数据逻辑
// if (this.isInDisplay) {
// this.restoreDisplay();
// }
// this.model.bptbck.bptbckg = rtnmsg.data.ccdbatg;
// console.log(this.model.bptbck.bptbckg);
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
},
mounted() {
this.init();
},
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -81,7 +81,7 @@ export default class Letdav { ...@@ -81,7 +81,7 @@ export default class Letdav {
totdat: '', totdat: '',
advdat: '', advdat: '',
disdat: '', disdat: '',
totamt: '', totamt: '0.00',
nam: '', nam: '',
docprbrol: '', docprbrol: '',
}, },
......
...@@ -86,7 +86,9 @@ export default class Letdrv { ...@@ -86,7 +86,9 @@ export default class Letdrv {
matdat: '', matdat: '',
dscinsflg: '', dscinsflg: '',
nam: '', nam: '',
docprbrol: '' docprbrol: '',
etyextkey: '',
totamt: '0.00'
}, },
cbs: { cbs: {
opn1: { opn1: {
...@@ -99,7 +101,7 @@ export default class Letdrv { ...@@ -99,7 +101,7 @@ export default class Letdrv {
}, },
max: { max: {
cur: '', cur: '',
amt: '0.00' amt: '3.00'
}, },
max2: { max2: {
cur:'', cur:'',
......
...@@ -479,14 +479,13 @@ ...@@ -479,14 +479,13 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-ptap1 <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '交单行', title: '交单行',
grp: 'bedgrp', grp: 'bedgrp',
rol: 'prb', rol: 'prb',
}" }"
:noRef="false"
:disabled="!(model.bedgrp.rec.docprbrol=='PRB')" :disabled="!(model.bedgrp.rec.docprbrol=='PRB')"
:isAdrblk="true" :isAdrblk="true"
:disabledExtkey="model.bedgrp.rec.docprbrol=='BEN'" :disabledExtkey="model.bedgrp.rec.docprbrol=='BEN'"
...@@ -494,7 +493,7 @@ ...@@ -494,7 +493,7 @@
queryGridEtyPromptDialogData('PRB', 'C') queryGridEtyPromptDialogData('PRB', 'C')
" "
> >
</c-ptap1> </c-ptap>
<!-- <c-ptap--> <!-- <c-ptap-->
...@@ -596,7 +595,7 @@ import Ptap from "~/views/Public/Ptap"; ...@@ -596,7 +595,7 @@ import Ptap from "~/views/Public/Ptap";
import Ptap1 from "~/views/Public/Ptap1"; import Ptap1 from "~/views/Public/Ptap1";
export default { export default {
components: {"c-ptsmsg": Ptsmsg, "c-ptap": Ptap, "c-ptap1": Ptap1}, components: {"c-ptap": Ptap,"c-ptsmsg": Ptsmsg,},
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
...@@ -641,7 +640,7 @@ export default { ...@@ -641,7 +640,7 @@ export default {
}, },
maxamt:{ maxamt:{
get:function (){ get:function (){
this.model.bedgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt // this.model.bedgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt
return this.model.bedgrp.cbs.max.amt return this.model.bedgrp.cbs.max.amt
}, },
// set:function (newVal){ // set:function (newVal){
......
...@@ -89,6 +89,8 @@ const Business = [ ...@@ -89,6 +89,8 @@ const Business = [
{ path: 'cctdav', component: () => import('~/business/cctdav/views'), name: 'cctdav', meta: { title: '光票托收开立' }}, { path: 'cctdav', component: () => import('~/business/cctdav/views'), name: 'cctdav', meta: { title: '光票托收开立' }},
{ path: 'cltdav', component: () => import('~/business/cltdav/views'), name: 'cltdav', meta: { title: '打包托收开立' }}, { path: 'cltdav', component: () => import('~/business/cltdav/views'), name: 'cltdav', meta: { title: '打包托收开立' }},
{ path: 'clttra', component: () => import('~/business/clttra/views'), name: 'clttra', meta: { title: '打包托收催收' }}, { path: 'clttra', component: () => import('~/business/clttra/views'), name: 'clttra', meta: { title: '打包托收催收' }},
{ path: 'cltset', component: () => import('~/business/cltset/views'), name: 'cltset', meta: { title: '打包托收解包' }},
{ path: 'ccttra', component: () => import('~/business/ccttra/views'), name: 'ccttra', meta: { title: '光票托收催收' }}, { path: 'ccttra', component: () => import('~/business/ccttra/views'), name: 'ccttra', meta: { title: '光票托收催收' }},
] ]
......
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