Commit 1076500a by liuxin

获取参考号更新model

parent 3077e60f
...@@ -6,7 +6,7 @@ export default { ...@@ -6,7 +6,7 @@ export default {
let rtnmsg = await this.executeRule("botp.butgetref") let rtnmsg = await this.executeRule("botp.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.bodgrp.rec.ownref = rtnmsg.data.bodgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -423,7 +423,7 @@ export default { ...@@ -423,7 +423,7 @@ export default {
let rtnmsg = await this.executeRule("bptmod.butgetref") let rtnmsg = await this.executeRule("bptmod.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.bpdgrp.rec.ownref = rtnmsg.data.bpdgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -7,7 +7,7 @@ export default { ...@@ -7,7 +7,7 @@ export default {
let rtnmsg = await this.executeRule("bptmod.finmod.dinmod.dget") let rtnmsg = await this.executeRule("bptmod.finmod.dinmod.dget")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.bptmod.finmod.dinmod.dinjdm = rtnmsg.data.bptmod_finmod_dinmod_dinjdm this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
let rtnmsg = await this.executeRule("bptmod.butgetref") let rtnmsg = await this.executeRule("bptmod.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.bpdgrp.rec.ownref = rtnmsg.data.bpdgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -7,7 +7,7 @@ export default { ...@@ -7,7 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.cpdgrp.rec.ownref = rtnmsg.data.cpdgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -6,7 +6,7 @@ export default { ...@@ -6,7 +6,7 @@ export default {
let rtnmsg = await this.executeRule("detp.butgetref") let rtnmsg = await this.executeRule("detp.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref; this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -6,7 +6,7 @@ export default { ...@@ -6,7 +6,7 @@ export default {
let rtnmsg = await this.executeRule("detp.butgetref") let rtnmsg = await this.executeRule("detp.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref; this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -5,7 +5,7 @@ export default { ...@@ -5,7 +5,7 @@ export default {
let rtnmsg = await this.executeRule("ditp.butgetref") let rtnmsg = await this.executeRule("ditp.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -7,7 +7,7 @@ export default { ...@@ -7,7 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.ledgrp.rec.ownref = rtnmsg.data.ledgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -7,7 +7,7 @@ export default { ...@@ -7,7 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.ledgrp.rec.ownref = rtnmsg.data.ledgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.brdgrp.rec.ownref=rtnmsg.data.brdgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -14,7 +14,7 @@ export default { ...@@ -14,7 +14,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.lidgrp.rec.ownref=rtnmsg.data.lidgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -7,7 +7,7 @@ export default { ...@@ -7,7 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.trdgrp.rec.ownref = rtnmsg.data.trdgrp_rec_ownref this.updateModel(rtnmsg.data)
this.$message({ this.$message({
type: 'success', type: 'success',
message: '获取成功!' message: '获取成功!'
......
...@@ -934,6 +934,13 @@ export default { ...@@ -934,6 +934,13 @@ export default {
txtdbt: "", txtdbt: "",
CG00005: "", CG00005: "",
}, },
newdialog: {
payee: "",
ptydbt: "",
txtpay: "",
txtdbt: "",
CG00005: "",
},
dialog2: { dialog2: {
feetxtinf: "", feetxtinf: "",
feetxt: "", feetxt: "",
...@@ -965,7 +972,7 @@ export default { ...@@ -965,7 +972,7 @@ export default {
methods: { methods: {
//第一个表格 //第一个表格
addRowSetfol() { addRowSetfol() {
let newRow = { ...this.dialog }; let newRow = { ...this.newdialog };
this.model.setmod.setfog.setfol.splice(0, 0, newRow); this.model.setmod.setfog.setfol.splice(0, 0, newRow);
this.defaultFunction(); this.defaultFunction();
}, },
...@@ -990,7 +997,6 @@ export default { ...@@ -990,7 +997,6 @@ export default {
detail1(index, row) { detail1(index, row) {
this.executeDefault("setfel.det").then(res => { this.executeDefault("setfel.det").then(res => {
this.dialogVisible = true; this.dialogVisible = true;
console.log(row)
this.dialog = row; this.dialog = row;
this.index = index; this.index = index;
}) })
......
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