Commit 6068c389 by wangyanjiao

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

parent 77eb2061
......@@ -221,6 +221,10 @@ export default {
{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 {
brtbenl4blk: "",
bddgrp: {
rec: {
advdocflg:"",
advdocflg: "",
docflg: "", // 单据类型 .bddgrp.rec.docflg
rcvdat: "", // 到单日期 .bddgrp.rec.rcvdat
predat: "", // 到单日期 .bddgrp.rec.predat
......@@ -169,8 +169,8 @@ export default class Bdtdcr {
},
docgrdm: {
docdsclab: "", // Label of document description .bdtp.docgrdm.docdsclab
docgrdp:"",
docgrd:"",
docgrdp: "",
docgrd: "",
},
},
rejtype: "", // 退单方式 .rejtype
......
......@@ -10,8 +10,8 @@
</el-form-item>
</c-col>
</c-row>
<el-form-item label="快递单号">
<c-input type="textarea" :disabled="false" :rows="2" v-model="model.expmno" maxlength="120" show-word-limit
<el-form-item label="快递单号" v-if="model.bddgrp.rec.advdocflg=='X'">
<c-input type="textarea" :rows="2" v-model="model.expmno" maxlength="120" show-word-limit
placeholder="请输入单号"></c-input>
</el-form-item>
<!-- <c-row>
......
......@@ -511,7 +511,7 @@
<c-col :span="12">
<c-col>
<el-form-item label="通知日期" prop="bddgrp.rec.orddat">
<el-form-item label="通知日期" prop="bddgrp.rec.orddat" >
<c-date-picker
type="date"
v-model="model.bddgrp.rec.orddat"
......@@ -611,6 +611,7 @@
v-model="model.rejtype"
style="width: 100%"
placeholder="请选择退单方式"
:disabled="model.bddgrp.rec.advdocflg!='X'"
>
<el-option
v-for="item in codes.rejtype"
......
......@@ -38,6 +38,11 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
......@@ -72,6 +77,7 @@ import Default from "~/model/Bdtdcr/Default";
import Check from "~/model/Bdtdcr/Check";
import Utlp from "./Utlp";
import Brtdcrd from "./Brtdcrd";
import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp";
//import Setpan from "./Setpan";
import Setpan from "~/views/Public/Setpan";
......@@ -86,6 +92,7 @@ export default {
"m-brtdcrd": Brtdcrd,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"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