Commit a9544dbb by SunJie

elcs

parent d63fbb0e
......@@ -819,7 +819,7 @@ function checkDidgrpApcPtsDihdigN1002(rule, value, callback) {
*/
function checkDidgrpAdvPtsExtkeyN100(rule, value, callback) {
const that = this;
that.exeuteCheck("didgrp.adv.pts.extkey").then(res => {
that.executeRule("didgrp.adv.pts.extkey").then(res => {
//TODO
callback()
})
......
......@@ -355,7 +355,6 @@ export default {
window.sessionStorage.docXML= rtnmsg.data.litapll1blk
}
else if(row.pandsc=="elcs.101.001.01"){
console.log(rtnmsg.data.trnmod_trndoc_doceot[index].doctxt);
window.sessionStorage.docXML = ''
window.sessionStorage.docTXT = ''
rtnmsg.data.trnmod_trndoc_doceot[index].doctxt.rows.forEach(element => {
......
......@@ -356,6 +356,7 @@
? dialog.rcv.adrelc
: dialog.rcv.pts.dizzhii
"
:disabled="title == 'MT799'"
type="textarea"
:rows="2"
/>
......@@ -423,7 +424,7 @@
</el-table>
</el-form-item>
</el-col>
<el-col
<el-col v-if="title != 'MT799'"
><el-form-item label="Letter Date">
<el-date-picker
type="date"
......@@ -462,9 +463,7 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button
type="primary"
@click="saveDialog"
<el-button type="primary" @click="saveDialog"
>确 定</el-button
>
<el-button @click="centerDialogVisible = false"
......@@ -479,13 +478,14 @@
<script>
import Event from "~/model/Ditopn/Event";
import Input from "../../../components/Input.vue";
import Api from "~/service/Api";
import Utils from "~/utils/index";
export default {
components: { Input },
props: ["model", "codes"],
data() {
return {
index:0,
index: 0,
title: "",
dialog: {
rcv: {
......@@ -509,13 +509,23 @@ export default {
};
},
methods: {
...Event,
saveDialog() {
this.centerDialogVisible = false;
console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index,1,this.dialog);
}
},
...Event,
saveDialog() {
this.centerDialogVisible = false;
console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
let res = Api.post(
"ditopn/executeRule/trnmod.trndoc.doccur.butaddok",
Utils.flatObject(this.model)
);
if(res.data.respCode=="AAAAAA"){
//TODO
}else{
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created: function () {},
};
</script>
......
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