| xqd
@@ -276,7 +276,7 @@
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label">热门推荐:</label>
|
|
|
<div class="layui-input-inline">
|
|
|
- <input type="checkbox" name="ishot" v-model="formData.ishot" lay-skin="primary" value="1" >
|
|
|
+ <input type="checkbox" name="ishot" lay-filter="ishot" v-model="formData.ishot" lay-skin="primary" value="1" >
|
|
|
</div>
|
|
|
<div class="layui-form-mid"></div>
|
|
|
<div class="layui-form-mid layui-word-aux"></div>
|
| xqd
@@ -284,7 +284,7 @@
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label">最新推荐:</label>
|
|
|
<div class="layui-input-inline">
|
|
|
- <input type="checkbox" name="isnew" v-model="formData.isnew" lay-skin="primary" value="1" >
|
|
|
+ <input type="checkbox" name="isnew" lay-filter="isnew" v-model="formData.isnew" lay-skin="primary" value="1" >
|
|
|
</div>
|
|
|
<div class="layui-form-mid"></div>
|
|
|
<div class="layui-form-mid layui-word-aux"></div>
|
| xqd
@@ -483,8 +483,8 @@
|
|
|
check_store_sure: [],
|
|
|
sort_order:special.sort_order || 0,
|
|
|
xuefen:special.xuefen || 0,
|
|
|
- isnew:[],
|
|
|
- ishot:[],
|
|
|
+ isnew:special.isnew || 0,
|
|
|
+ ishot:special.ishot || 0,
|
|
|
is_alone:special.pay_type == 1 ? (special.is_alone == 1 ? 1 : 0) : 0,
|
|
|
brokerage_ratio:special.pay_type == 1 ? (special.brokerage_ratio || 0) : 0,
|
|
|
brokerage_two:special.pay_type == 1 ? (special.brokerage_two || 0) : 0
|
| xqd
@@ -905,6 +905,12 @@
|
|
|
layList.form.on('radio(is_pink)', function (data) {
|
|
|
that.formData.is_pink = parseInt(data.value);
|
|
|
});
|
|
|
+ layList.form.on('checkbox(ishot)', function (data) {
|
|
|
+ that.formData.ishot = data.checked ? 1 : 0;
|
|
|
+ });
|
|
|
+ layList.form.on('checkbox(isnew)', function (data) {
|
|
|
+ that.formData.isnew = data.checked ? 1 : 0;
|
|
|
+ });
|
|
|
layList.form.on('radio(is_mer_visible)', function (data) {
|
|
|
that.formData.is_mer_visible = parseInt(data.value);
|
|
|
});
|