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
......
...@@ -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