Browse Source

修改BUG

branch_ccpg_220107
songnan.zhang 3 years ago
parent
commit
bb8fa37451
  1. 5
      vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue
  2. 34
      vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue

5
vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue

@ -297,7 +297,10 @@ export default {
dialogTableVisible: false, dialogTableVisible: false,
zflist: null, zflist: null,
zuofei: [], zuofei: [],
getRowKeys: (row) => { getRowKeys:
(row) => {
return row.id; //id return row.id; //id
}, },
expands: [], //id expands: [], //id

34
vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue

@ -201,7 +201,11 @@
</div> </div>
</div> </div>
<div> <div>
<el-dialog title="作废信息" append-to-body="true" :visible.sync="dialogTableVisible"> <el-dialog
title="作废信息"
append-to-body="true"
:visible.sync="dialogTableVisible"
>
<el-table :data="zflist"> <el-table :data="zflist">
<el-table-column <el-table-column
property="billNum" property="billNum"
@ -240,7 +244,7 @@
></el-table-column> ></el-table-column>
</el-table> </el-table>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="text" @click="dialogTableVisible = false" <el-button type="text" @click="dialogTableVisible = false"
>取消</el-button >取消</el-button
> >
<el-button type="primary" @click="handleDelete"> </el-button> <el-button type="primary" @click="handleDelete"> </el-button>
@ -295,8 +299,9 @@ export default {
}; };
return { return {
crmType: "M100Online-MB", crmType: "M100Online-MB",
dialogTableVisible :false, dialogTableVisible: false,
zflist:null, zuofei: [],
zflist: null,
getRowKeys: (row) => { getRowKeys: (row) => {
return row.id; //id return row.id; //id
}, },
@ -566,20 +571,14 @@ export default {
this.listQuery this.listQuery
) )
.then((response) => { .then((response) => {
response.items.forEach((item)=>{ response.items.forEach((item) => {
if(item.printType == 0) if (item.printType == 0) {
{
item.printType = "正常打印"; item.printType = "正常打印";
} } else if (item.printType == 1) {
else if(item.printType == 1)
{
item.printType = "重打"; item.printType = "重打";
} } else {
else
{
item.printType = "补打"; item.printType = "补打";
} }
}); });
this.list = response.items; this.list = response.items;
this.totalCount = response.totalCount; this.totalCount = response.totalCount;
@ -680,7 +679,7 @@ export default {
}) })
.catch(() => {}); .catch(() => {});
}, },
// //
handleDelete() { handleDelete() {
//debugger; //debugger;
let params = this.zuofei; let params = this.zuofei;
@ -698,10 +697,9 @@ export default {
type: "success", type: "success",
duration: 2000, duration: 2000,
}); });
}); });
this.dialogTableVisible = false; this.dialogTableVisible = false;
this.getList(); this.getList();
}, },
//- //-
// handleDelete(row) { // handleDelete(row) {

Loading…
Cancel
Save