zrg
2024-11-28 727ee25aeb5fcaf84e2cf009b2eacd3a86bcb3ca
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/KF_BarCodeStatusChangeBill.html
@@ -14,6 +14,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>
        .main-btn { /*头部主按钮*/
            padding: 0 2px; /*调整按钮左右空隙大小*/
@@ -289,6 +290,13 @@
            var CopyHBarCodeStatusVal = [];
            //#endregion
         //#region ã€åŠ¨æ€èŽ·å–æ¨¡å—åç§°ã€‘
            var HModuleType = "1288";
            //通过单据类型,从数据库动态获取单据模块命名,引用js文件 PageTitle.js
            var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType);
            $("h1").html('<b>' + HPageTitle + '</b>');
            //#endregion
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
            var rowdata = [{
@@ -469,13 +477,14 @@
                    , toolbar: '#toolbarDemo'
                    , limit: 500
                    , height: 500
                    , totalRow: true
                    , loading: false
                    , cols: [[ //表头
                        { type: 'checkbox', totalRowText: '合计行' }
                        , { type: 'numbers', title: '序号', totalRow: true }
                        , { field: 'HBarCode', title: '条形码', edit: 'text' }
                        , { field: 'HRelationQty', title: '关联数量', edit: 'text' }
                        , { field: 'HRelationMoney', title: '关联金额', edit: 'text' }
                        , { field: 'HRelationQty', title: '关联数量', edit: 'text', totalRow: true }
                        , { field: 'HRelationMoney', title: '关联金额', edit: 'text', totalRow: true}
                        , { field: 'HBarCodeStatus_Old', title: '原状态', templet: "#HBarCodeStatus_Old", hide: true }
                        , { field: 'HBarCodeStatus_New', title: '状态', templet: "#HBarCodeStatus_New" }
                        , { field: 'HRemark', title: '表体备注', edit: 'text' }//f7
@@ -495,7 +504,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '部门'//标题
                    , shift: 2//弹出动画
                    , content: ['../../Baseset/基础资料/Gy_DepartmentList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_DepartmentList.html', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -505,7 +514,7 @@
                        }
                        //获取数据
                        $("#HDeptID").val(checkStatus.data[0].HItemID);
                        $("#HDeptName").val(checkStatus.data[0].HName);
                        $("#HDeptName").val(checkStatus.data[0].部门名称);
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }