| | |
| | | <th>货号</th> |
| | | <th>SKU</th> |
| | | <th>重量(克)</th> |
| | | <th>赠送积分</th> |
| | | <th>积分最大<br />可抵金额</th> |
| | | <!-- <th>赠送积分</th> |
| | | <th>积分最大<br />可抵金额</th> --> |
| | | <th>库存</th> |
| | | <th><i class="required-color">*</i>销售价</th> |
| | | <th>经销商价格</th> |
| | | <th>成本价</th> |
| | | <th>市场价</th> |
| | | <th>一级返现</th> |
| | | <th>二级返现</th> |
| | | <th>三级返现</th> |
| | | <th>指导零售价</th> |
| | | |
| | | <th>经销商用户购买返现</th> |
| | | <th>普通用户购买返现</th> |
| | | <!-- <th>二级返现</th> |
| | | <!-- <th>三级返现</th> --> --> |
| | | <th>冻结库存</th> |
| | | <th>操作</th> |
| | | </tr> |
| | |
| | | <td> |
| | | <input type="number" name="product[weight][]" value="{{item.weight}}" placeholder="重量" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <td> |
| | | <!-- <td> |
| | | <input type="number" name="product[points][]" value="{{item.points}}" placeholder="积分" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <td> |
| | | </td> --> |
| | | <!-- <td> |
| | | <input type="text" name="product[pointsDeduction][]" value="{{item.pointsDeduction}}" placeholder="金额" class="layui-input layui-inline-1"> |
| | | </td> |
| | | </td> --> |
| | | <td class="have-add-td"> |
| | | <input type="number" name="product[stock][]" value="{{item.stock}}" placeholder="库存" class="layui-input layui-inline-1 goods-stock"> |
| | | </td> |
| | |
| | | <input type="text" name="product[price][]" value="{{item.price}}" placeholder="销售价" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <td> |
| | | |
| | | <input type="text" name="product[distributionPrice][]" value="{{item.distributionPrice||'0'}}" placeholder="经销商价格" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <td> |
| | | <input type="text" name="product[costprice][]" value="{{item.costprice}}" placeholder="成本价" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <td> |
| | | <input type="text" name="product[mktprice][]" value="{{item.mktprice}}" placeholder="市场价" class="layui-input layui-inline-1"> |
| | | <input type="text" name="product[mktprice][]" value="{{item.mktprice}}" placeholder="指导零售价" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <td> |
| | | <input type="text" name="product[levelOne][]" value="{{item.levelOne}}" placeholder="一级返现" class="layui-input layui-inline-1"> |
| | | <input type="text" name="product[distributionCutMoney][]" value="{{item.distributionCutMoney||'0'}}" placeholder="经销商购买返现" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <td> |
| | | <input type="text" name="product[cutMoney][]" value="{{item.cutMoney||'0'}}" placeholder="普通用户购买返现" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <!-- <td> |
| | | <input type="text" name="product[levelTwo][]" value="{{item.levelTwo}}" placeholder="二级返现" class="layui-input layui-inline-1"> |
| | | </td> |
| | | <td> |
| | | <input type="text" name="product[levelThree][]" value="{{item.levelThree}}" placeholder="三级返现" class="layui-input layui-inline-1"> |
| | | </td> |
| | | </td> --> |
| | | <td> |
| | | {{item.freezeStock}} |
| | | </td> |
| | |
| | | <div class="layui-input-inline"> |
| | | <button type="button" class="layui-btn layui-btn-warm layui-btn-sm" lay-active="getGenerateSpecBtn"><i class="layui-icon layui-icon-export"></i>生成SKU货品列表</button> |
| | | </div> |
| | | <div class="layui-input-inline"> |
| | | <!-- <div class="layui-input-inline"> |
| | | <button type="button" class="aKeySetBtn layui-btn layui-btn-warm layui-btn-sm"> |
| | | <i class="layui-icon layui-icon-set"></i>一键设置 |
| | | </button> |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | | </div> |
| | | <div id="more_spec"></div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">市场价</label> |
| | | <label class="layui-form-label">指导零售价</label> |
| | | <div class="layui-input-inline layui-inline-2"> |
| | | <input class="layui-input" id="oneKeySetMktPrice"> |
| | | </div> |
| | |
| | | productModel.levelThree = field['product[levelThree][' + i + ']']; |
| | | productModel.pointsDeduction = field['product[pointsDeduction][' + i + ']']; |
| | | productModel.points = field['product[points][' + i + ']']; |
| | | //添加 百分兵法 |
| | | productModel.distributionPrice = field['product[distributionPrice][' + i + ']']; |
| | | productModel.distributionCutMoney = field['product[distributionCutMoney][' + i + ']']; |
| | | productModel.cutMoney = field['product[cutMoney][' + i + ']']; |
| | | products.push(productModel); |
| | | |
| | | } |
| | | //会员价格模型 |
| | | var gradePrice = []; |