1
duhe
2024-04-11 a1b35b4512889bc1e85abd5421a122e37b276440
1
1个文件已修改
14 ■■■■■ 已修改文件
WebTM/views/销售管理/销售订单/Add_Edit_Xs_SeOrderBillList.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/ÏúÊÛ¹ÜÀí/ÏúÊÛ¶©µ¥/Add_Edit_Xs_SeOrderBillList.html
@@ -1804,10 +1804,12 @@
                //#endregion
                //#region å­è¡¨ æ•°æ®æ£€éªŒ
                var RowCount = 0;
                for (var i = 0; i < option.data.length; i++) {
                    if (option.data[i]["HMaterID"] == "0") {
                        continue;
                    }
                    RowCount++;
                    if (option.data[i]["HUnitID"] == "0") {
                        layer.msg("第" + i + "行:计量单位未选择!");
@@ -1969,6 +1971,10 @@
                    //    layer.msg("第" + i + "行:开票数量请输入大于0的数字!");
                    //    return false;
                    //}
                }
                if (RowCount == 0) {
                    layer.msg("保存失败,子表至少需要存在一行记录选择了物料!");
                    return false;
                }
                //#endregion
@@ -2474,7 +2480,7 @@
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (HDataEmp != {}) {
                                    if (typeof (HDataEmp.HItemID) != "undefined") {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "HMaterID": HDataEmp.HItemID
@@ -2517,7 +2523,7 @@
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (HDataEmp != {}) {
                                    if (typeof (HDataEmp.HItemID) != "undefined") {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "HUnitID": HDataEmp.HItemID
@@ -2556,7 +2562,7 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }, end: function () {
                                    if (HDataEmp != {}) {
                                    if (typeof (HDataEmp.HItemID) != "undefined") {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "订单等级名称": HDataEmp.订单等级
@@ -3111,9 +3117,7 @@
            function set_HBillMoney(HEarnestRate) {
                var HBillMoney = 0;
                for (var i = 0; i < option.data.length; i++) {
                    if (option.data[i]["HisStockGoods"] == "false") {
                        HBillMoney += option.data[i]["HlineTotal"] * 1;
                    }
                }