Commit 7498dfd4 by xionglin

brtsnd

parent 21dbde91
...@@ -21,11 +21,8 @@ export default { ...@@ -21,11 +21,8 @@ export default {
...limitbody, ...limitbody,
...doctre, ...doctre,
async init () { async init () {
const params = { localStorage.removeItem('row_'+ this.trnName)
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/brtsnd/init', { const res = await Api.post('/service/brtsnd/init', {
...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
brdgrp:{ brdgrp:{
......
...@@ -44,11 +44,7 @@ export default { ...@@ -44,11 +44,7 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.nam":[ "brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
...@@ -275,12 +271,6 @@ export default { ...@@ -275,12 +271,6 @@ export default {
{max: 30,message:"长度不能超过30"} {max: 30,message:"长度不能超过30"}
], ],
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.blk.chaded":[ "brdgrp.blk.chaded":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
...@@ -289,15 +279,6 @@ export default { ...@@ -289,15 +279,6 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.acbp.ptsget.sdamod.dadsnd":[ "brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
......
...@@ -6,6 +6,12 @@ export default class Brtsnd{ ...@@ -6,6 +6,12 @@ export default class Brtsnd{
brtapll1blk:"", brtapll1blk:"",
brtapll2blk:"", brtapll2blk:"",
brtapll4blk:"", brtapll4blk:"",
gitp:"",
gidgrp:{
rec:{
branchinr:""
}
},
brdgrp:{ brdgrp:{
rec:{ rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref ownref:"", // 单据参考号 .brdgrp.rec.ownref
...@@ -117,6 +123,7 @@ export default class Brtsnd{ ...@@ -117,6 +123,7 @@ export default class Brtsnd{
rec:{ rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat expdat:"", // Date of Expiry .lidgrp.rec.expdat
branchinr:"",
}, },
cbs:{ cbs:{
opn1:{ opn1:{
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
<!-- 附加金额 --> <!-- 附加金额 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="提取附加金额" prop="brdgrp.cbs.max2.cur">
<c-select <c-select
v-model="model.brdgrp.cbs.opn2.cur" v-model="model.brdgrp.cbs.max2.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择附加金额" placeholder="请选择附加金额"
disabled disabled
......
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