master
wangxubin@yeah.net 3 years ago
parent 86e2d02cfd
commit 13f18d8194

@ -46,7 +46,7 @@ module.exports = {
} }
}, },
// Various Dev Server settingsss // Various Dev Server settingsss
host: "192.168.31.193", // can be overwritten by process.env.HOST host: "192.168.31.194", // can be overwritten by process.env.HOST
port: 3000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined port: 3000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false, autoOpenBrowser: false,
errorOverlay: true, errorOverlay: true,

@ -389,6 +389,7 @@ export default {
rowRecList: [], rowRecList: [],
copyPayList: [], copyPayList: [],
routeNumber: null, routeNumber: null,
copyAccountList:[]
}; };
}, },
methods: { methods: {
@ -664,10 +665,22 @@ export default {
this.sumAmont(); this.sumAmont();
}, },
openRec(row) { openRec(row) {
this.recForm = JSON.parse(JSON.stringify(row));   /*
this.rowRecList = JSON.parse(JSON.stringify(row.rechargeAccountList));        第二次进来row.rechargeAccountList会被不知名清空
this.editProIndex = row.index;        第一次进来的时候给copyAccountList赋值,因为具有缓存效果不会被清空,当row.rechargeAccountList为空数组的时候将copyAccountList赋值给rowRecList
//conslole.log( this.editProIndex)       */
      if(!this.copyAccountList.length){
        this.copyAccountList = row.rechargeAccountList
      }
      this.recForm = JSON.parse(JSON.stringify(row));
      if(!row.rechargeAccountList.length){
        // ,
        this.rowRecList = [...this.copyAccountList]
      }else{
        //
        this.rowRecList = JSON.parse(JSON.stringify(row.rechargeAccountList));
      }
      this.editProIndex = row.index;
}, },
recashData(v) { recashData(v) {
this.list = v.list; this.list = v.list;

Loading…
Cancel
Save