处理 渠道订单管理,待确认企业订单配置 添加数据返回不清空

pull/13/head
李飞 2 years ago
parent 49b394a6ae
commit 1b98e15389
  1. 2
      src/views/finance/oilCompanyMatch/OilCompanyMatchAdd.vue
  2. 6
      src/views/finance/oilCompanyMatch/OilCompanyMatchList.vue

@ -16,7 +16,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :xs="gridNum.cols.xs" :sm="gridNum.cols.sm" :md="gridNum.cols.md" :lg="gridNum.cols.lg" :xl="gridNum.cols.xl"> <el-col :xs="gridNum.cols.xs" :sm="gridNum.cols.sm" :md="gridNum.cols.md" :lg="gridNum.cols.lg" :xl="gridNum.cols.xl">
<el-form-item label="匹配额度" prop="matchAmount"> <el-form-item label="匹配额度1" prop="matchAmount">
<el-input v-model="oilCompanyMatch.matchAmount" type="number" clearable /> <el-input v-model="oilCompanyMatch.matchAmount" type="number" clearable />
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -184,6 +184,7 @@
title="添加" title="添加"
:visible.sync="addDialog" :visible.sync="addDialog"
width="55%" width="55%"
v-if="addDialog"
> >
<OilCompanyMatchAdd @getByPage="getByPage" @closeDialog="closeDialog" /> <OilCompanyMatchAdd @getByPage="getByPage" @closeDialog="closeDialog" />
</el-dialog> </el-dialog>
@ -220,6 +221,7 @@
title="修改" title="修改"
:visible.sync="updateDialog" :visible.sync="updateDialog"
width="55%" width="55%"
v-if="addDialog"
> >
<OilCompanyMatchUpdate <OilCompanyMatchUpdate
v-if="updateDialog" v-if="updateDialog"
@ -571,7 +573,7 @@ export default {
], ],
addDialog: false, // addDialog: false, //
updateDialog: false, // updateDialog: false, //
oilCompanyMatch: {}, oilCompanyMatch: null,
}; };
}, },
computed: { computed: {
@ -701,8 +703,8 @@ export default {
this.getByPage(); this.getByPage();
}, },
toAdd() { toAdd() {
//
this.oilCompanyMatch = {}; this.oilCompanyMatch = {};
//
this.addDialog = true; this.addDialog = true;
}, },
toUpdate(id) { toUpdate(id) {

Loading…
Cancel
Save