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

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-col>
<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-form-item>
</el-col>

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

Loading…
Cancel
Save