Commit 3b121d1f by WH

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

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