|
|
@ -17,7 +17,7 @@ |
|
|
|
<!--标题按钮部分结束--> |
|
|
|
<!--Start 新增修改部分--> |
|
|
|
<div class="listconadd"> |
|
|
|
<div class="titwu"><span>车辆调价申请</span></div> |
|
|
|
<div class="titwu"><span>车型调价申请</span></div> |
|
|
|
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02"> |
|
|
|
<el-row class="rowStyle"> |
|
|
|
<el-col :span="12" class="colStyle"> |
|
|
@ -36,7 +36,7 @@ |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div class="title"> |
|
|
|
<div>车辆列表</div> |
|
|
|
<div>车型列表</div> |
|
|
|
<el-button type="primary" size="mini" icon="el-icon-plus" @click="addCommodity()">选择车型</el-button> |
|
|
|
</div> |
|
|
|
<el-table :key="tableKey" :data="formobj.baseModelModpriceModels" :index="index" border style="width: 100%"> |
|
|
@ -168,13 +168,13 @@ export default { |
|
|
|
this.formobj.createOrgSid = createOrgSid |
|
|
|
this.formobj.createBySid = window.sessionStorage.getItem('userSid') |
|
|
|
this.formobj.applyPeoName = window.sessionStorage.getItem('name') |
|
|
|
this.viewTitle = '【新增】车辆调价申请' |
|
|
|
this.viewTitle = '【新增】车型调价申请' |
|
|
|
}, |
|
|
|
showEdit(row) { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['form_obj'].clearValidate() |
|
|
|
}) |
|
|
|
this.viewTitle = '【编辑】车辆调价申请' |
|
|
|
this.viewTitle = '【编辑】车型调价申请' |
|
|
|
console.log('编辑回显', row.sid) |
|
|
|
req.fetchBySid(row.sid).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|