Commit 7498dfd4 by xionglin

brtsnd

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