| | |
| | | <label class="layui-form-label febs-form-item-require">商品编号:</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" name="goodsNo" lay-verify="required" |
| | | placeholder="" autoComplete="off" class="layui-input"> |
| | | placeholder="" autoComplete="off" class="layui-input" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">推销员返积分比例</label> |
| | | <label class="layui-form-label">推销员返积分比例(%)</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" name="staticMulti" placeholder="请输入推销员返积分比例" autocomplete="off" class="layui-input"> |
| | | </div> |
| | |
| | | // return layedit.sync(indexUpdate); |
| | | // } |
| | | // }); |
| | | |
| | | formSelects.render(); |
| | | const E = window.wangEditor; |
| | | const editor = new E('#toolbar-container', '#text-container'); // 传入两个元素 |
| | | editor.config.showLinkImg = false; |
| | |
| | | |
| | | var category = xmSelect.render({ |
| | | el: '#goods-category', |
| | | language: 'zn', |
| | | language: 'zh', |
| | | prop : { |
| | | value : 'id', |
| | | children : 'child' |
| | |
| | | data: [] |
| | | }) |
| | | |
| | | febs.get(ctx + 'admin/goodsCategory/categoryTree', null, function(res) { |
| | | category.update({ |
| | | data : res.data, |
| | | autoRow: true, |
| | | }); |
| | | |
| | | // initValue(); |
| | | }) |
| | | |
| | | var couponRule = xmSelect.render({ |
| | | el: '#coupon-rule', |
| | | language: 'zn', |
| | | language: 'zh', |
| | | prop : { |
| | | value : 'id', |
| | | children : 'child' |
| | |
| | | data: [] |
| | | }) |
| | | |
| | | febs.get(ctx + 'admin/goods/couponTreeSet', null, function(res) { |
| | | couponRule.update({ |
| | | data : res.data, |
| | | autoRow: true, |
| | | }); |
| | | |
| | | initValue(); |
| | | }) |
| | | |
| | | var carriageRule = xmSelect.render({ |
| | | el: '#carriage-rule', |
| | | language: 'zn', |
| | | language: 'zh', |
| | | prop : { |
| | | value : 'id', |
| | | children : 'child' |
| | |
| | | }); |
| | | }) |
| | | |
| | | febs.get(ctx + 'admin/goods/couponTreeSet', null, function(res) { |
| | | couponRule.update({ |
| | | data : res.data, |
| | | autoRow: true, |
| | | }); |
| | | }) |
| | | |
| | | febs.get(ctx + 'admin/goodsCategory/categoryTree', null, function(res) { |
| | | category.update({ |
| | | data : res.data, |
| | | autoRow: true, |
| | | }); |
| | | initValue(); |
| | | }) |
| | | |
| | | formSelects.render(); |
| | | |
| | | |
| | | var tableSkuData = []; |
| | | var tableIns = table.render({ |