销售订单列表增加行状态,进行下推销售出库单或在销售出库单选择源单的时候,只能选择单据为已审核且子表行状态为未关闭的物料、只要关闭了就不能选择;  不管是整单关闭还是 行关闭
3个文件已修改
26 ■■■■ 已修改文件
WebTM/Properties/PublishProfiles/JFTM.pubxml.user 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/销售管理/销售订单/Xs_SeOrderBillList.html 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/销售出库/Kf_SellOutBill.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/JFTM.pubxml.user
@@ -5262,7 +5262,7 @@
      <publishTime>04/11/2023 16:34:43</publishTime>
    </File>
    <File Include="views/销售管理/销售订单/Xs_SeOrderBillList.html">
      <publishTime>01/18/2024 14:15:08</publishTime>
      <publishTime>01/19/2024 10:21:26</publishTime>
    </File>
    <File Include="views/采购管理/委外订单/WW_EntrustOrderBillList.html">
      <publishTime>11/03/2023 21:45:51</publishTime>
@@ -5283,7 +5283,7 @@
      <publishTime>11/03/2023 21:45:51</publishTime>
    </File>
    <File Include="views/销售管理/销售订单/Xs_SeOrderBillList.html">
      <publishTime>01/18/2024 14:15:08</publishTime>
      <publishTime>01/19/2024 10:21:26</publishTime>
    </File>
    <File Include="views/销售管理/销售订单/Xs_SeOrderBill_LookDown.html">
      <publishTime>01/19/2024 09:43:33</publishTime>
@@ -5445,10 +5445,10 @@
      <publishTime>04/11/2023 16:34:43</publishTime>
    </File>
    <File Include="views/领料发货/销售出库/Kf_SellOutBill.html">
      <publishTime>01/18/2024 14:00:41</publishTime>
      <publishTime>01/19/2024 11:11:04</publishTime>
    </File>
    <File Include="views/领料发货/销售出库/Kf_SellOutBill.html">
      <publishTime>01/18/2024 14:00:41</publishTime>
      <publishTime>01/19/2024 11:11:04</publishTime>
    </File>
    <File Include="views/领料发货/销售出库/Kf_SellOutBillList.html">
      <publishTime>01/16/2024 14:21:41</publishTime>
WebTM/views/ÏúÊÛ¹ÜÀí/ÏúÊÛ¶©µ¥/Xs_SeOrderBillList.html
@@ -379,6 +379,7 @@
                        , { field: '单据号', title: '单据号', width: 125, sort: true }
                        , { field: 'hsubid', title: 'hsubid', hide: true, sort: true }
                        , { field: '状态', title: '状态', width: 125, sort: true }
                        , { field: '行状态', title: '行状态', width: 125, sort: true }
                        , { field: '是否下推生产订单', title: '是否下推生产订单', width: 125, sort: true }
                        , { field: 'HMaterID', title: 'HMaterID', hide: true, sort: true }
                        , { field: '物料代码', title: '物料代码', sort: true }
@@ -871,6 +872,12 @@
                            layer.msg("下推失败!单据号【" + data[i].单据号 + "】单据状态不为已审核状态!");
                            return;
                        }
                        if (data[i].行状态 == "已关闭") {
                            layer.msg("下推失败!单据号【" + data[i].单据号 + "】下选中的记录中存在已关闭状态的记录!");
                            return;
                        }
                        if (data[i].客户 != HCusName) {
                            layer.msg("下推失败!已经选中的记录中存在不同客户!");
                            return;
@@ -1250,7 +1257,7 @@
                var addSWhere = "";
                if (openType == 2) {
                    addSWhere = " and çŠ¶æ€ = '已审核' and HOrgID = " + HOrgID;
                    addSWhere = " and çŠ¶æ€ = '已审核' and è¡ŒçŠ¶æ€ = '' and HOrgID = " + HOrgID;
                }
                return addSWhere;
            }
WebTM/views/ÁìÁÏ·¢»õ/ÏúÊÛ³ö¿â/Kf_SellOutBill.html
@@ -538,6 +538,9 @@
                            } else if (HSourceBillData.状态 != "已审核") {
                                layer.alert("保存失败!第" + (i+1) + "行:源单单据状态未为'已审核'状态!", { icon: 5 });
                                return;
                            } else if (HSourceBillData.行状态 == "已关闭") {
                                layer.alert("保存失败!第" + (i + 1) + "行:该行记录行状态为'已关闭'状态!", { icon: 5 });
                                return;
                            }
                        } else {
                            return;
@@ -2346,6 +2349,12 @@
                            layer.msg("下推失败!单据号【" + temp.单据号 + "】单据状态不为已审核状态!");
                            return;
                        }
                        if (temp.行状态 == "已关闭") {
                            layer.msg("下推失败!单据号【" + temp.单据号 + "】下选中的记录中存在已关闭状态的记录!");
                            return;
                        }
                        if (temp.客户 != HCusName) {
                            layer.msg("下推失败!已经选中的记录中存在不同客户!");
                            return;