1
陈雯静
2024-02-28 fda28cff8d6ed7ce1acf878f3a23f8e77ecd53cf
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξֿ߲â¹ÜÀí/Sc_MouldProdInBillEdit.html
@@ -13,6 +13,7 @@
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../../layuiadmin/PubCustom.js"></script>
    <script src="../../../layuiadmin/PageTitle.js"></script>
    <style type="text/css">
        /*begin æ­¤æ ·å¼ç”¨äºŽæ¶ˆé™¤è¡Œå…ƒç´ ä¸­å¸ƒå±€å®½åº¦ä¸å¤Ÿçš„问题*/
        .layui-form-item .layui-inline {
@@ -40,7 +41,7 @@
        }
        /*表单标签名内间距(上下间距、左右间距)*/
        .layui-form-label {
            padding: 6px 15px;
            padding: 6px 15px;
        }
        /*整个页面所有输入框、面板等边框颜色*/
        .layui-badge-rim, .layui-border, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-panel, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
@@ -263,6 +264,14 @@
            //#region è¿›å…¥é¡µé¢æ—¢åŠ è½½
            //#region ã€åŠ¨æ€èŽ·å–æ¨¡å—åç§°ã€‘
            var HModuleType = "3801";
            //通过单据类型,从数据库动态获取单据模块命名,引用js文件 PageTitle.js
            var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType);
            $("h1").html('<b>' + HPageTitle + '</b>');
         //#endregion
            //初始化表单插件
            set_InitFrom();
            //初始化表格
@@ -700,7 +709,7 @@
            //初始化明细表格
            function set_InitGrid() {
                columns = [
                    { type: 'checkbox', fixed: 'left' }
                    { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                    , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left', event: "qwe", width: 100 }
                    , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true }
                    , { field: 'HMaterCode', title: '器具代码', edit: 'text', event: 'HMaterCode', width: 100 }
@@ -710,13 +719,13 @@
                    , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true }
                    , { field: 'HUnitCode', title: '计量单位代码', edit: 'text', event: 'HUnitCode', width: 100 }
                    , { field: 'HUnitName', title: '计量单位', edit: 'text', width: 100 }
                    , { field: 'HDesignLife', title: '设计寿命', edit: 'text', width: 100 }
                    , { field: 'HLeaveLife', title: '剩余寿命', edit: 'text', width: 100 }
                    , { field: 'HUseLife', title: '使用寿命', edit: 'text', width: 100 }
                    , { field: 'HQtyMust', title: '应收数量', edit: 'text', width: 100 }
                    , { field: 'HQty', title: '实收数量', edit: 'text', width: 100 }
                    , { field: 'HPrice', title: '单价', edit: 'text', width: 100 }
                    , { field: 'HMoney', title: '金额', edit: 'text', width: 100 }
                    , { field: 'HDesignLife', title: '设计寿命', edit: 'text', width: 100, totalRow: true  }
                    , { field: 'HLeaveLife', title: '剩余寿命', edit: 'text', width: 100, totalRow: true  }
                    , { field: 'HUseLife', title: '使用寿命', edit: 'text', width: 100, totalRow: true }
                    , { field: 'HQtyMust', title: '应收数量', edit: 'text', width: 100, totalRow: true  }
                    , { field: 'HQty', title: '实收数量', edit: 'text', width: 100, totalRow: true }
                    , { field: 'HPrice', title: '单价', edit: 'text', width: 100, totalRow: true }
                    , { field: 'HMoney', title: '金额', edit: 'text', width: 100, totalRow: true }
                    , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true }
                    , { field: 'HWHCode', title: '收料仓库代码', edit: 'text', event: 'HWHCode', width: 120 }
                    , { field: 'HWHName', title: '收料仓库名称', edit: 'text', width: 120 }
@@ -732,6 +741,7 @@
                    , elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , page: false
                    , totalRow: true
                    , cellMinWidth: 120
                    , height: 500
                    , cols: [columns]
@@ -744,14 +754,14 @@
            function set_CountGrid() {
                //表头
                columns = [
                    { type: 'checkbox', fixed: 'left' }
                    { type: 'checkbox', fixed: 'left', totalRowText: '合计行'}
                    , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left', event: "qwe", width: 100 }
                    , { field: '物料代码', title: '物料代码', edit: 'text', event: 'HMaterCode', width: 100 }
                    , { field: '物料名称', title: '物料名称', edit: 'text', width: 100 }
                    , { field: '规格型号', title: '规格型号', edit: 'text', width: 100 }
                    , { field: '单据号', title: '单据号', edit: 'text', width: 100 }
                    , { field: '批次', title: '批次', edit: 'text', width: 100 }
                    , { field: '实收数量', title: '实收数量', edit: 'text', width: 100 }
                    , { field: '实收数量', title: '实收数量', edit: 'text', width: 100, totalRow: true }
                    , { field: 'hwhid1', title: 'HWHID', edit: 'text', width: 100, hide: true }
                    , { field: '收料仓库代码', title: '收料仓库代码', edit: 'text', event: 'HWHCode', width: 120 }
                    , { field: '收料仓库', title: '收料仓库名称', edit: 'text', width: 120 }
@@ -762,6 +772,7 @@
                    , elem: '#mainTable1'
                    , height: 500
                    , page: true
                    , totalRow: true
                    , limit: 500
                    , cellMinWidth: 120
                    , height: 500