Commit 3b121d1f by WH

inflid添加通知到单的路由,litdav前端优化

parent bd153c10
......@@ -385,6 +385,10 @@ export default {
route:'/business-new/litdck'
},
{
label:'通知到单',
route:'/business-new/litdav'
},
{
label:'减额修改接收',
route:'/business-new/litdla'
},
......
......@@ -123,8 +123,8 @@ export default {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
......@@ -134,9 +134,9 @@ export default {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
};
return params
......
......@@ -121,7 +121,7 @@ export default {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey,
extkey: this.model.brdgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
......
......@@ -4,57 +4,57 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Litdav {
constructor() {
this.data = {
gitp:{
swiftflg:''
},
gidgrp:{
cbs:{
max:''
},
ghd:{
segtyp:''
},
rec:'ownref',
apc: {
pts: new Pts().data,
},
ctc: {
pts: new Pts().data,
},
bec: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
ctr: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
cnr: {
pts: new Pts().data,
},
at2: {
pts: new Pts().data,
},
},
// gitp:{
// swiftflg:''
// },
// gidgrp:{
// cbs:{
// max:''
// },
// ghd:{
// segtyp:''
// },
// rec:'ownref',
// apc: {
// pts: new Pts().data,
// },
// ctc: {
// pts: new Pts().data,
// },
// bec: {
// pts: new Pts().data,
// },
// ben: {
// pts: new Pts().data,
// },
// iss: {
// pts: new Pts().data,
// },
// adv: {
// pts: new Pts().data,
// },
// apl: {
// pts: new Pts().data,
// },
// con: {
// pts: new Pts().data,
// },
// ctr: {
// pts: new Pts().data,
// },
// atb: {
// pts: new Pts().data,
// },
// avc: {
// pts: new Pts().data,
// },
// cnr: {
// pts: new Pts().data,
// },
// at2: {
// pts: new Pts().data,
// },
// },
brdgrp: {
blk: {
......@@ -114,7 +114,14 @@ export default class Litdav {
brtp: {
aammod: {
addamtflg: ''
}
},
prbp: {
ptsget: {
sdamod: {
seainf: '',
},
},
},
},
lidgrp: {
rec: {
......
......@@ -201,6 +201,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="交单行参考号" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行参考号"></c-input>
......@@ -209,26 +210,30 @@
<c-col :span="24" :offset="0">
<el-form-item label="地址编号" prop="brdgrp.prb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
:disabled="model.brdgrp.rec.docprbrol != 'PRB'"
@keyup.enter.native="
queryGridEtyPromptDialogData('PRB', 'C')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px;padding: 0 12px"
size="small"
type="primary"
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="model.brtp.prbp.ptsget.sdamod.seainf"
icon="el-icon-search"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
style="margin: 0 0"
size="small"
type="primary"
icon="el-icon-info"
>
获取
</c-button>
</template>
</c-fullbox>
......@@ -236,13 +241,13 @@
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">
<c-input
<c-input
:rows="4"
:disabled="model.brdgrp.rec.docprbrol != 'PRB'"
type="textarea"
v-model="model.brdgrp.prb.pts.adrblk"
maxlength="80"
show-word-limit
type="textarea"
v-model="model.brdgrp.prb.pts.adrblk"
maxlength="80"
show-word-limit
placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
......
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