auto_cars close price_floor

This commit is contained in:
qianhy
2023-03-27 15:25:35 +08:00
parent be77d9c53e
commit f97a3bef37
3 changed files with 7 additions and 6 deletions
+1
View File
@@ -348,6 +348,7 @@ class Cars extends HD_Controller{
// 'price_car' => $row['price_car']
// );
$row['price_floor'] && $row['price_floor'] = 0;
$this->data = $row;
return $this->show_json(SYS_CODE_SUCCESS);
+1 -1
View File
@@ -6,6 +6,7 @@
<span></span>
</div>
</div>
<!--
<div class="am-form-group wp50 fl">
<label class="am-para-label">车辆底价:</label>
<div class="am-para-input">
@@ -13,7 +14,6 @@
<span></span>
</div>
</div>
<!--
<div class="am-form-group wp50 fl">
<label class="am-para-label">定金:</label>
<div class="am-para-input">
+5 -5
View File
@@ -50,8 +50,8 @@
<span>ID</span>
</th>
<th width="30%"><span>裸车报价</span></th>
<th width="30%"><span>车辆底价</span></th>
<!--
<th width="30%"><span>车辆底价</span></th>
<th width="7%"><span>定金</span></th>
<th width="7%"><span>保险报价</span></th>
<th width="7%"><span>精品报价</span></th>
@@ -61,13 +61,13 @@
<th width="9%"><span>一级分销佣金</span></th>
<th width="9%"><span>二级分销佣金</span></th>
-->
<th width=""><span>操作</span></th>
<th width="7%"><span>操作</span></th>
</tr>
</thead>
<tbody>
<template v-for="(v,i) in lists">
<tr class="tl">
<td colspan="4">车型:<span style="font-weight: 600;color:#FF7F50;">{{v.title}}</span></td>
<td colspan="3">车型:<span style="font-weight: 600;color:#FF7F50;">{{v.title}}</span></td>
</tr>
<tr >
<td>
@@ -76,8 +76,8 @@
</td>
<template v-if="1==v.edit">
<td><input style="width: 100%" type="text" name="price_car" v-model="info_edit.price_car" placeholder=""></td>
<td><input style="width: 100%" type="text" name="price_floor" v-model="info_edit.price_floor" placeholder=""></td>
<!--
<td><input style="width: 100%" type="text" name="price_floor" v-model="info_edit.price_floor" placeholder=""></td>
<td><input style="width: 100%" type="text" name="price_book" v-model="info_edit.price_book" placeholder=""></td>
<td><input style="width: 100%" type="text" name="price_insure" v-model="info_edit.price_insure" placeholder=""></td>
<td><input style="width: 100%" type="text" name="price_fine" v-model="info_edit.price_fine" placeholder=""></td>
@@ -90,8 +90,8 @@
</template>
<template v-else>
<td @dblclick="set_edit(i,1)">{{v.price_car}}</td>
<td @dblclick="set_edit(i,1)">{{v.price_floor}}</td>
<!--
<td @dblclick="set_edit(i,1)">{{v.price_floor}}</td>
<td @dblclick="set_edit(i,1)">{{v.price_book}}</td>
<td @dblclick="set_edit(i,1)">{{v.price_insure}}</td>
<td @dblclick="set_edit(i,1)">{{v.price_fine}}</td>