|
|
@ -104,9 +104,10 @@ |
|
|
|
<el-input v-model="scope.row.remarks" placeholder="" class="addinputw" clearable/> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="上装信息" header-align="center" width="100" align="center"> |
|
|
|
<el-table-column label="上装信息" header-align="center" width="180" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="primary" size="mini" @click="handleUpdate(scope.row.busVehicleApplySz, scope.$index)">编辑</el-button> |
|
|
|
<el-button type="primary" v-show="scope.row.busVehicleApplySz !== null && scope.row.busVehicleApplySz !== undefined" size="mini" @click="handleUpdate(scope.row.busVehicleApplySz, scope.$index)">编辑</el-button> |
|
|
|
<el-button type="danger" v-show="scope.row.busVehicleApplySz !== null && scope.row.busVehicleApplySz !== undefined" size="mini" @click="handleDel(scope.$index)">删除</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="上装销售指导价" align="center" width="200"> |
|
|
@ -377,6 +378,7 @@ export default { |
|
|
|
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.vehicleFunction = val.vehicleTypeValue |
|
|
|
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.costPrice = '' |
|
|
|
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.guidePrice = '' |
|
|
|
this.formobj.busVehicleApplyDetailList[index].guidePrice = '' |
|
|
|
}, |
|
|
|
handleUpdate(row, index) { |
|
|
|
if (row !== null && row !== undefined) { |
|
|
@ -386,6 +388,10 @@ export default { |
|
|
|
this.$message({ showClose: true, type: 'success', message: '请先选择上装信息' }) |
|
|
|
} |
|
|
|
}, |
|
|
|
handleDel(index) { |
|
|
|
this.formobj.busVehicleApplyDetailList[index].guidePrice = '' |
|
|
|
this.$delete(this.formobj.busVehicleApplyDetailList[index], 'busVehicleApplySz') |
|
|
|
}, |
|
|
|
backPeizhiAdd(value, index) { |
|
|
|
this.viewState = 1 |
|
|
|
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz = value |
|
|
|