Commit a9544dbb by SunJie

elcs

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