Commit 6068c389 by wangyanjiao

代码格式化&优化bdtdcr页面布局及事件

parent 77eb2061
...@@ -221,6 +221,10 @@ export default { ...@@ -221,6 +221,10 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
......
...@@ -12,7 +12,7 @@ export default class Bdtdcr { ...@@ -12,7 +12,7 @@ export default class Bdtdcr {
brtbenl4blk: "", brtbenl4blk: "",
bddgrp: { bddgrp: {
rec: { rec: {
advdocflg:"", advdocflg: "",
docflg: "", // 单据类型 .bddgrp.rec.docflg docflg: "", // 单据类型 .bddgrp.rec.docflg
rcvdat: "", // 到单日期 .bddgrp.rec.rcvdat rcvdat: "", // 到单日期 .bddgrp.rec.rcvdat
predat: "", // 到单日期 .bddgrp.rec.predat predat: "", // 到单日期 .bddgrp.rec.predat
...@@ -169,8 +169,8 @@ export default class Bdtdcr { ...@@ -169,8 +169,8 @@ export default class Bdtdcr {
}, },
docgrdm: { docgrdm: {
docdsclab: "", // Label of document description .bdtp.docgrdm.docdsclab docdsclab: "", // Label of document description .bdtp.docgrdm.docdsclab
docgrdp:"", docgrdp: "",
docgrd:"", docgrd: "",
}, },
}, },
rejtype: "", // 退单方式 .rejtype rejtype: "", // 退单方式 .rejtype
......
...@@ -2,74 +2,74 @@ import Api from "~/service/Api" ...@@ -2,74 +2,74 @@ import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" import Pub from "../Public"
export default class Bdteus{ export default class Bdteus {
constructor () { constructor() {
this.data = { this.data = {
// //XMLPanel brtapll1的内置block // //XMLPanel brtapll1的内置block
// private String brtapll1blk= NULLSTR; // private String brtapll1blk= NULLSTR;
// //XMLPanel brtprbl1的内置block // //XMLPanel brtprbl1的内置block
// private String brtprbl1blk= NULLSTR; // private String brtprbl1blk= NULLSTR;
brtprbl1blk:"", //XMLPanel brtprbl1的内置block brtprbl1blk: "", //XMLPanel brtprbl1的内置block
brtapll1blk:"",//XMLPanel brtapll1的内置block brtapll1blk: "",//XMLPanel brtapll1的内置block
strinf:"", // 说明 .strinf strinf: "", // 说明 .strinf
bddgrp:{ bddgrp: {
rec:{ rec: {
ownref:"", // 单据参考号 .bddgrp.rec.ownref ownref: "", // 单据参考号 .bddgrp.rec.ownref
nam:"", // Name of Bill Contract .bddgrp.rec.nam nam: "", // Name of Bill Contract .bddgrp.rec.nam
rcvdat:"", // 到单日期 .bddgrp.rec.rcvdat rcvdat: "", // 到单日期 .bddgrp.rec.rcvdat
docflg:"", // 单据类型 .bddgrp.rec.docflg docflg: "", // 单据类型 .bddgrp.rec.docflg
docsta:"", // 单据状态 .bddgrp.rec.docsta docsta: "", // 单据状态 .bddgrp.rec.docsta
matdat:"", // Maturity Date .bddgrp.rec.matdat matdat: "", // Maturity Date .bddgrp.rec.matdat
tenmaxday:"", // 单据到期日 .bddgrp.rec.tenmaxday tenmaxday: "", // 单据到期日 .bddgrp.rec.tenmaxday
stadat:"", // Start Date .bddgrp.rec.stadat stadat: "", // Start Date .bddgrp.rec.stadat
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // 单据金额 .bddgrp.cbs.max.cur cur: "", // 单据金额 .bddgrp.cbs.max.cur
amt:"", // 单据金额 .bddgrp.cbs.max.amt amt: "", // 单据金额 .bddgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // 单据余额 .bddgrp.cbs.opn1.cur cur: "", // 单据余额 .bddgrp.cbs.opn1.cur
amt:"", // Balance .bddgrp.cbs.opn1.amt amt: "", // Balance .bddgrp.cbs.opn1.amt
}, },
}, },
apl:{ apl: {
pts:new Pts().data, pts: new Pts().data,
}, },
ben:{ ben: {
pts:new Pts().data, pts: new Pts().data,
}, },
prb:{ prb: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
didgrp:{ didgrp: {
rec:{ rec: {
ownref:"", // 信用证参考号 .didgrp.rec.ownref ownref: "", // 信用证参考号 .didgrp.rec.ownref
expdat:"", // Date of Expiry .didgrp.rec.expdat expdat: "", // Date of Expiry .didgrp.rec.expdat
}, },
cbs:{ cbs: {
opn1:{ opn1: {
cur:"", // Currency .didgrp.cbs.opn1.cur cur: "", // Currency .didgrp.cbs.opn1.cur
amt:"", // Balance .didgrp.cbs.opn1.amt amt: "", // Balance .didgrp.cbs.opn1.amt
}, },
}, },
}, },
bdtp:{ bdtp: {
didget:{ didget: {
sdamod:{ sdamod: {
seainf:"", // .bdtp.didget.sdamod.seainf seainf: "", // .bdtp.didget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd
}, },
}, },
recget:{ recget: {
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf:"", // .bdtp.recget.sdamod.seainf seainf: "", // .bdtp.recget.sdamod.seainf
}, },
}, },
matp:{ matp: {
mattxtlab:"", // Label for MATTXT .bdtp.matp.mattxtlab mattxtlab: "", // Label for MATTXT .bdtp.matp.mattxtlab
}, },
}, },
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
...@@ -159,25 +159,25 @@ export default class Bdteus{ ...@@ -159,25 +159,25 @@ export default class Bdteus{
// }, // },
// }, // },
// }, // },
mtabut:{ mtabut: {
coninf:{ coninf: {
oitinf:{ oitinf: {
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{ oit: {
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
}, },
}, },
oitset:{ oitset: {
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{ oit: {
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
}, },
}, },
conexedat:"", // 执行日期 .mtabut.coninf.conexedat conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr:{ usr: {
extkey:"", // User ID .mtabut.coninf.usr.extkey extkey: "", // User ID .mtabut.coninf.usr.extkey
}, },
}, },
}, },
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<el-form-item label="快递单号"> <el-form-item label="快递单号" v-if="model.bddgrp.rec.advdocflg=='X'">
<c-input type="textarea" :disabled="false" :rows="2" v-model="model.expmno" maxlength="120" show-word-limit <c-input type="textarea" :rows="2" v-model="model.expmno" maxlength="120" show-word-limit
placeholder="请输入单号"></c-input> placeholder="请输入单号"></c-input>
</el-form-item> </el-form-item>
<!-- <c-row> <!-- <c-row>
......
...@@ -511,7 +511,7 @@ ...@@ -511,7 +511,7 @@
<c-col :span="12"> <c-col :span="12">
<c-col> <c-col>
<el-form-item label="通知日期" prop="bddgrp.rec.orddat"> <el-form-item label="通知日期" prop="bddgrp.rec.orddat" >
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bddgrp.rec.orddat" v-model="model.bddgrp.rec.orddat"
...@@ -611,6 +611,7 @@ ...@@ -611,6 +611,7 @@
v-model="model.rejtype" v-model="model.rejtype"
style="width: 100%" style="width: 100%"
placeholder="请选择退单方式" placeholder="请选择退单方式"
:disabled="model.bddgrp.rec.advdocflg!='X'"
> >
<el-option <el-option
v-for="item in codes.rejtype" v-for="item in codes.rejtype"
......
...@@ -38,6 +38,11 @@ ...@@ -38,6 +38,11 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
...@@ -72,6 +77,7 @@ import Default from "~/model/Bdtdcr/Default"; ...@@ -72,6 +77,7 @@ import Default from "~/model/Bdtdcr/Default";
import Check from "~/model/Bdtdcr/Check"; import Check from "~/model/Bdtdcr/Check";
import Utlp from "./Utlp"; import Utlp from "./Utlp";
import Brtdcrd from "./Brtdcrd"; import Brtdcrd from "./Brtdcrd";
import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
//import Setpan from "./Setpan"; //import Setpan from "./Setpan";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
...@@ -86,6 +92,7 @@ export default { ...@@ -86,6 +92,7 @@ export default {
"m-brtdcrd": Brtdcrd, "m-brtdcrd": Brtdcrd,
"m-engp": Engp, "m-engp": Engp,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
......
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