| | |
| | | <span>以往订单>=</span> |
| | | <input type="text" name="totalCount_{{d.index}}" required lay-verify="required|num" placeholder="正整数" |
| | | autocomplete="off" value="{{ d.totalCount }}" class="layui-input totalCount"> |
| | | <span>单,限制提交</span> |
| | | <input type="text" name="perCount_{{d.index}}" required lay-verify="required|num" placeholder="正整数" |
| | | autocomplete="off" value="{{ d.perCount }}" class="layui-input"> |
| | | <span>单,限制提交:</span> |
| | | |
| | | <span>超佣享</span> |
| | | <input type="text" name="perCountCyx_{{d.index}}" required lay-verify="required|num" placeholder="正整数" |
| | | autocomplete="off" value="{{ d.perCountCyx }}" class="layui-input"> |
| | | <span>单,</span> |
| | | |
| | | <span>爆品社</span> |
| | | <input type="text" name="perCountBps_{{d.index}}" required lay-verify="required|num" placeholder="正整数" |
| | | autocomplete="off" value="{{ d.perCountBps }}" class="layui-input"> |
| | | <span>单,</span> |
| | | |
| | | <span>卡金额</span> |
| | | <input type="text" name="perCountUnknown_{{d.index}}" required lay-verify="required|num" placeholder="正整数" |
| | | autocomplete="off" value="{{ d.perCountUnknown }}" class="layui-input"> |
| | | <span>单</span> |
| | | |
| | | <span class="layui-icon layui-icon-close delete"></span> |
| | |
| | | laytpl($('#payMoneyTemplate').html()).render({ |
| | | "index": index, |
| | | "totalCount": "", |
| | | "perCount": "" |
| | | "perCountCyx": "", |
| | | "perCountBps": "", |
| | | "perCountUnknown": "", |
| | | }, function(html) { |
| | | $("#add").parent().parent().before(html); |
| | | }); |
| | |
| | | laytpl($('#payMoneyTemplate').html()).render({ |
| | | "index": i + 1, |
| | | "totalCount": item.totalCount, |
| | | "perCount": item.perCount |
| | | "perCountCyx": item.perCountCyx, |
| | | "perCountBps": item.perCountBps, |
| | | "perCountUnknown": item.perCountUnknown, |
| | | }, function(html) { |
| | | $("#add").parent().parent().before(html); |
| | | $(".delete").bind("click", function(e) { |
| | |
| | | let index = key.replace("totalCount_", ""); |
| | | params.push({ |
| | | "totalCount": data.field[key], |
| | | "perCount": data.field["perCount_" + index] |
| | | "perCountCyx": data.field["perCountCyx_" + index], |
| | | "perCountBps": data.field["perCountBps_" + index], |
| | | "perCountUnknown": data.field["perCountUnknown_" + index] |
| | | }); |
| | | } |
| | | } |