Commit bc23aa8a by 闫泽浩

letcan 缺陷修复

parent 87819ef4
......@@ -99,6 +99,20 @@ export default class Letcan {
},
rmbrol: '',
},
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.ledgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -52,6 +52,7 @@ export default {
let dataObj = {
rec: {
objtyp: 'LED',
objinr: model.ledgrp.rec.objinr,
ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat,
......
......@@ -288,16 +288,16 @@ let checkObj = {
],
"ledgrp.drw.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 350, message: "长度不能超过35" }
],
"ledgrp.drw.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 350, message: "长度不能超过35" }
],
"ledgrp.drw.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 350, message: "长度不能超过35" }
],
"ledgrp.rec.shpfro": [
......
......@@ -198,7 +198,7 @@
style="width: 100%"
placeholder="请选择类型"
disabled
:code="codes.lcrtyp"
:code="codes.lcrtyp1"
>
</c-select>
</el-form-item>
......
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