移动系统liao
2024-05-13 d7fec17e093788d71dcd89bb0d94030a9f6ecfae
CoreCms.Net.Web.Admin/wwwroot/views/good/goods/edit.html
@@ -183,7 +183,7 @@
                                1、选择对应的【商品类型】,将进入多SKU货品模式。同时如果类别有参数,也将进行显示设置。<br/>
                                2、设置多SKU后,商品本身的价格只做对外展示用,实际以进入商品详情选择不同货品为准。<br/>
                                3、货品SKU组合属性值只支持:中文、英文、数字、大写符号,小写符号三个(-、/、.))<br/>
                                4、货号必须为SN字母开头<br/>
                                4、货品编码必须为SN字母开头<br/>
                                5、如果不设置单货品重量,将默认使用商品重量为1个单位的重量。
                            </blockquote>-->
@@ -309,22 +309,23 @@
            <tr>
                <th>默认货品</th>
                <th>图片</th>
                <th>货号</th>
                <th>货品编码</th>
                <th>SKU</th>
                <th>重量(克)</th>
                <!-- <th>赠送积分</th>
                <th>积分最大<br />可抵金额</th> -->
                <th>库存</th>
                <th>库存数量</th>
                <th>冻结库存</th>
                <th style="width: 60px;">建议零售价</th>
                <th><i class="required-color">*</i>销售价</th>
                <th>经销商价格</th>
                <th>成本价</th>
                <th>指导零售价</th>
                <th>经销商价</th>
                <th>成本价</th>
                
                <th>经销商用户购买返现</th>
                <th>普通用户购买返现</th>
                <th style="width: 60px;">推广经销商采购返现</th>
                <th>推广用户购买返现</th>
                <!-- <th>二级返现</th>
                <!-- <th>三级返现</th> --> -->
                <th>冻结库存</th>
                <th>操作</th>
            </tr>
        </thead>
@@ -356,7 +357,7 @@
                    </div>
                </td>
                <td>
                    <input type="text" name="product[sn][]" value="{{item.sn}}" placeholder="货号" class="layui-input layui-inline-3">
                    <input type="text" name="product[sn][]" value="{{item.sn}}" placeholder="货品编码" class="layui-input layui-inline-3">
                </td>
                <td>
                    <input type="hidden" name="product[spesDesc][]" value="{{item.spesDesc}}" placeholder="SKU" class="layui-input">
@@ -375,23 +376,27 @@
                    <input type="number" name="product[stock][]" value="{{item.stock}}" placeholder="库存" class="layui-input layui-inline-1 goods-stock">
                </td>
                <td>
                    {{item.freezeStock}}
                </td>
                <td>
                    <input type="text" name="product[mktprice][]" value="{{item.mktprice}}" placeholder="建议零售价" class="layui-input layui-inline-1">
                </td>
                <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">
                    <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[distributionCutMoney][]" value="{{item.distributionCutMoney||'0'}}" placeholder="推广经销商采购返现" class="layui-input layui-inline-1">
                </td>
                <td>
                    <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">
                    <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">
@@ -399,9 +404,7 @@
                <td>
                    <input type="text" name="product[levelThree][]" value="{{item.levelThree}}" placeholder="三级返现" class="layui-input layui-inline-1">
                </td> -->
                <td>
                    {{item.freezeStock}}
                </td>
                <td>
                    <a class="layui-btn layui-btn-danger layui-btn-xs del-class" lay-active="delTr">删除</a>
                </td>
@@ -1299,7 +1302,7 @@
                form.verify({
                    money: [/((^[1-9]\d*)|^0)(\.\d{0,2}){0,1}$/, '请输入金额'],
                    verifybn: [/^[\S]{0,30}$/, '商品编码最大只允许输入30位字符,且不能出现空格'],
                    verifysn: [/^[\S]{0,30}$/, '货号最大只允许输入30位字符,且不能出现空格'],
                    verifysn: [/^[\S]{0,30}$/, '货品编码最大只允许输入30位字符,且不能出现空格'],
                    verifyname: [/^.{0,200}$/, '商品名称最大只允许输入200位字符'],
                    verifybrief: [/^.{0,255}$/, '商品简介最大只允许输入255位字符,且不能出现空格'],
                    verifyimageIds: [/^[\S]{0,255}$/, '默认图片 图片id最大只允许输入255位字符,且不能出现空格'],