Commit cde20a43 by 潘际乾

账务第二个表格的detail弹框优化

parent 245486e4
......@@ -65,7 +65,6 @@ export default {
const obj = {}
for (let i = 0; i < lines.length; i++) {
let line = lines[i];
line = line.replace(/Quote/g, "\"");
if (etyReg.test(line)) {
const gs = line.match(etyReg)
const columnName = gs[1]
......
......@@ -172,15 +172,13 @@ export default {
},
methods:{
},
mounted:async function(){
created:async function(){
console.log("进入ditopn交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
console.log(rtnmsg)
Utils.copyValueFromVO(this.model,rtnmsg.data)
console.log(this.model);
if(this.isInDisplay){
this.restoreDisplay()
}
......
......@@ -292,7 +292,7 @@
</el-table-column>
</c-table>
</c-col>
<setpan-dialog v-if="dialogVisible2" :visible="dialogVisible2" :model="model" :idx="index" :codes="codes"/>
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes"/>
<c-col :span="24" style="text-align: left">
<el-form-item label="Settlement:" label-width="100px">
</el-form-item>
......@@ -403,7 +403,6 @@ export default {
data() {
return {
dialogVisible: false,
dialogVisible2: false,
dialog: {
payee: "",
ptydbt: "",
......@@ -449,10 +448,12 @@ export default {
},
// 第三个表格
detail2(index, row) {
this.executeRule("det").then(res=>{
this.dialogVisible2 = true;
this.index = index;
this.dialog2 = row
const that = this;
that.executeRule("det").then(res=>{
that.$refs.setpanDialog.visiable = true;
that.$refs.setpanDialog.formData = Object.assign({}, that.model.setmod.setfeg.setfel[index]);
that.index = index;
that.dialog2 = row
})
},
},
......
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