WebTM/views/ÏúÊÛ¹ÜÀí/ÏúÊÛ¶©µ¥/Add_Edit_Xs_SeOrderBillList.html
@@ -336,7 +336,7 @@
            var params = get_UrlVars();
            var OperationType = params[params[0]]; //从参数中获取 æ•°æ®ç±»åž‹  1添加 ä¿å­˜  2复制  3 ç¼–辑
            var linterid = params[params[1]]; //从参数中获取 å•据内码
            $("#HUSEORGID").val(sessionStorage["OrganizationID"]);
            //判断是否新增
@@ -368,7 +368,7 @@
                , "HPrice": "0", "HTaxPrice": "0", "HMoney": "0", "HDiscountRate": "0", "HRelTaxPrice": "0", "HTaxRate": "0", "HTaxMoney": "0", "HlineTotal": "0", "HlineTotalBB": "0"
            }];
             // åˆå§‹åŒ–界
            // åˆå§‹åŒ–界
            set_InitGrid();
            //头工具栏事件
@@ -502,20 +502,20 @@
                    , loading: false
                    , cols: [[ //子表
                        { type: 'checkbox', totalRowText: '合计行' }
                        , { type: 'numbers', title: '序号',width: 100, totalRow: true }
                        , { field: 'HMaterID', title: 'HMaterID', width: 100,hide: true }
                        , { field: '物料代码', title: '物料代码', width: 150,edit: 'text', event: "HMaterID" }//f7
                        , { field: '物料名称', title: '物料名称' ,width: 150,}
                        , { field: '规格型号', title: '规格型号', width: 100,}
                        , { type: 'numbers', title: '序号', width: 100, totalRow: true }
                        , { field: 'HMaterID', title: 'HMaterID', width: 100, hide: true }
                        , { field: '物料代码', title: '物料代码', width: 150, edit: 'text', event: "HMaterID" }//f7
                        , { field: '物料名称', title: '物料名称', width: 150, }
                        , { field: '规格型号', title: '规格型号', width: 100, }
                        , { field: 'HUnitID', title: 'HUnitID', width: 100, hide: true }
                        , { field: '计量单位', title: '计量单位', width: 100,edit: 'text', event: "HUnitID" }//f7
                        , { field: 'HQty', title: '数量', width: 100,edit: 'text' }
                        , { field: 'HPrice', title: '不含税单价', width: 100,edit: 'text' }
                        , { field: '计量单位', title: '计量单位', width: 100, edit: 'text', event: "HUnitID" }//f7
                        , { field: 'HQty', title: '数量', width: 100, edit: 'text' }
                        , { field: 'HPrice', title: '不含税单价', width: 100, edit: 'text' }
                        , { field: 'HTaxPrice', title: '含税单价', width: 100, edit: 'text' }
                        , { field: 'HMoney', title: '金额', width: 100,edit: 'text' }
                        , { field: 'HMoney', title: '金额', width: 100, edit: 'text' }
                        , { field: 'HDiscountRate', title: '折扣率', width: 100, edit: 'text' }
                        , { field: 'HRelTaxPrice', title: '实际含税单价' ,width: 110,}
                        , { field: 'HTaxRate', title: '税率', width: 100,edit: 'text' }
                        , { field: 'HRelTaxPrice', title: '实际含税单价', width: 110, }
                        , { field: 'HTaxRate', title: '税率', width: 100, edit: 'text' }
                        , { field: 'HTaxMoney', title: '税额', width: 100, }
                        , { field: 'HlineTotal', title: '价税合计', width: 100, }
                        , { field: 'HlineTotalBB', title: '本位币价税合计', width: 120, }
@@ -586,7 +586,7 @@
                                        , "规格型号": data.规格型号, "HUnitID": data.HUnitID
                                        , "计量单位": data.计量单位, "HQty": data.数量, "HRemark": data.表体备注
                                        , "HPrice": data.单价, "HMoney": data.金额, "HTaxRate": data.税率
                                        , "HTaxMoney": data.金额 * data.税率, "HlineTotal": data.金额 + data.税额, "HlineTotalBB": (data.金额 + data.税额)* data.汇率
                                        , "HTaxMoney": data.金额 * data.税率, "HlineTotal": data.金额 + data.税额, "HlineTotalBB": (data.金额 + data.税额) * data.汇率
                                        , "HTaxPrice": data.含税单价, "HDiscountRate": data.折扣率, "HRelTaxPrice": data.实际含税单价
                                    }
                                )
@@ -684,6 +684,8 @@
                                        , "物料代码": checkStatus.data[0].HNumber
                                        , "物料名称": checkStatus.data[0].HName
                                        , "规格型号": checkStatus.data[0].HModel
                                        , "HUnitID": checkStatus.data[0].HUnitID
                                        , "计量单位": checkStatus.data[0].HUnitName
                                    })
                                    layer.close(index);//关闭弹窗
                                }
@@ -880,7 +882,7 @@
                    , btn2: function (index, layero) { }
                })
            }
            function get_checkSS() {
                layer.open({
                    type: 2//弹窗类型