|
|
@@ -157,6 +157,17 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="layui-form-item">
|
|
|
+ <label class="layui-form-label">是否到付</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input type="radio" name="collect_on_delivery" v-model="formData.collect_on_delivery"
|
|
|
+ :checked="formData.collect_on_delivery == 0 ? true : false" value="0" title="否"
|
|
|
+ lay-filter="collect_on_delivery">
|
|
|
+ <input type="radio" name="collect_on_delivery" v-model="formData.collect_on_delivery"
|
|
|
+ :checked="formData.collect_on_delivery == 1 ? true : false" value="1" title="是"
|
|
|
+ lay-filter="collect_on_delivery">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="layui-form-item" style="margin-top: 10px">
|
|
|
<label class="layui-form-label">排序</label>
|
|
|
<div class="layui-input-block">
|
|
|
@@ -208,6 +219,7 @@
|
|
|
sort: 0,
|
|
|
name: '',
|
|
|
appoint_check: 0,
|
|
|
+ collect_on_delivery: 0,
|
|
|
},
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -290,7 +302,7 @@
|
|
|
});
|
|
|
},
|
|
|
render: function () {
|
|
|
- var that = this, radioRule = ['appoint_check', 'type'];
|
|
|
+ var that = this, radioRule = ['appoint_check', 'type', 'collect_on_delivery'];
|
|
|
that.$nextTick(function () {
|
|
|
layList.form.render();
|
|
|
radioRule.map(function (val) {
|
|
|
@@ -342,6 +354,7 @@
|
|
|
type: that.formData.type,
|
|
|
name: that.formData.name,
|
|
|
appoint: that.formData.appoint_check,
|
|
|
+ collect_on_delivery: that.formData.collect_on_delivery,
|
|
|
}, function (res) {
|
|
|
layList.msg(res.msg, function () {
|
|
|
parent.layer.close(parent.layer.getFrameIndex(window.name));
|