Commit 5d8297a9 by chenwenbin

// 表外记账,费用账务,会计分录前后端联调优化

parent 27389ee3
...@@ -386,12 +386,6 @@ export default { ...@@ -386,12 +386,6 @@ export default {
methods: { methods: {
saveDialog() { saveDialog() {
this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData); this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData);
this.$nextTick(()=>{
this.executeRule("setmod.glemod.glepan").then((res) => {
//TODO 处理数据逻辑
if (res.respCode == SUCCESS) this.updateModel(res.data)
})
})
this.visiable = false; this.visiable = false;
}, },
beforeClose(done) { beforeClose(done) {
......
...@@ -1491,6 +1491,7 @@ export default { ...@@ -1491,6 +1491,7 @@ export default {
saveDialog3() { saveDialog3() {
this.detpDialogVisible = false; this.detpDialogVisible = false;
this.model.setmod.setglg.setgll.splice(this.index, 1, this.dialog3); this.model.setmod.setglg.setgll.splice(this.index, 1, this.dialog3);
this.changeDsp(this.index, 'changeDsp');
}, },
async handleDetail(index, row) { async handleDetail(index, row) {
const that = this; const that = this;
...@@ -1514,6 +1515,8 @@ export default { ...@@ -1514,6 +1515,8 @@ export default {
that.$refs.detpDialog.visiable = true; that.$refs.detpDialog.visiable = true;
that.detpDialogVisible = true; that.detpDialogVisible = true;
that.dialog3.setgll = {};
// const rule = "setmod.setglg.setgll(" + (index + 1) + ").det"; // const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
// let rtnmsg = await this.executeRule(rule); // let rtnmsg = await this.executeRule(rule);
// if (rtnmsg.respCode == SUCCESS) { // if (rtnmsg.respCode == SUCCESS) {
...@@ -1561,12 +1564,7 @@ export default { ...@@ -1561,12 +1564,7 @@ export default {
} }
}, },
async accucrChange(index) { async accucrChange(index) {
let code = 'changeDsp'; this.changeDsp(index, 'changeDsp');
this.$emit('changeSetmodModel', {
code,
index: (index + 1),
list: this.stmData3
})
/*let rtnmsg = await this.executeRule( /*let rtnmsg = await this.executeRule(
'setmod.setglg.setgll(' + (index + 1) + ').acccur' 'setmod.setglg.setgll(' + (index + 1) + ').acccur'
); );
...@@ -1582,12 +1580,7 @@ export default { ...@@ -1582,12 +1580,7 @@ export default {
}*/ }*/
}, },
async fmtaccamtChange(index) { async fmtaccamtChange(index) {
let code = 'changeDsp'; this.changeDsp(index, 'changeDsp');
this.$emit('changeSetmodModel', {
code,
index: (index + 1),
list: this.stmData3
})
/* let rtnmsg = await this.executeRule( /* let rtnmsg = await this.executeRule(
'setmod.setglg.setgll(' + (index + 1) + ').fmtaccamt' 'setmod.setglg.setgll(' + (index + 1) + ').fmtaccamt'
); );
......
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