Commit cde20a43 by 潘际乾

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

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