智云srmLayUi(安瑞和瑞琪)(通用版本)
yangle
2023-12-26 c3ae169e32bd4c86be845c8c12167ee5d214b138
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBackBillList.html
@@ -132,7 +132,7 @@
    <script src="../../../../Scripts/webConfig.js"></script>
    <script>
        var _cur_page = 1;
        var sql = " and 1=1";
        var sql = "";
        var options = document.getElementById('HStatus').children;
        function getUrlVars() {
            var vars = [], hash;
@@ -209,7 +209,7 @@
                // , where: { msg: "", NowPage: 1, OnePage: 10 }
              , cellMinWidth: 100
              , cols: [[
                { checkbox: true, fixed: true }
                { checkbox: true, fixed: true, totalRowText: '合计' }
                , { field: '状态', title: '状态', width: 100, sort: true, fixed: true }
                , { field: '单据号', title: '单据号', width: 200, sort: true, fixed: true }
                , { field: '源单单号', title: '源单单号', width: 150 }
@@ -218,12 +218,13 @@
                , { field: '物料', title: '物料名称', width: 200 }
                , { field: '规格型号', title: '规格型号', width: 200 }
                , { field: '计量单位', title: '计量单位', width: 80, sort: true }
                , { field: '数量', title: '数量', width: 130 }
                , { field: '合格数量', title: '合格数量', width: 130 }
                , { field: '不合格数量', title: '不合格数量', width: 130 }
                , { field: '数量', title: '数量', width: 130, totalRow: true}
                , { field: '合格数量', title: '合格数量', width: 130, totalRow: true}
                , { field: '不合格数量', title: '不合格数量', width: 130, totalRow: true}
                , { field: '日期', title: '日期', width: 150 }
              ]]
            , page: true //是否显示分页
            , totalRow: true
            , limits: [10, 20, 50, 100]
            , limit: 50 //每页默认显示的数量
                //, height: 500
@@ -324,7 +325,7 @@
                });
            };
            form.on('submit(f_Query)', function (data) {//查询
                var sqlWhere = " and 1=1 ";
                var sqlWhere = " ";
                if ($("#HStatus").val() != "")
                    sqlWhere += " and 状态 like ^^%" + $("#HStatus").val() + "%^^";
                if ($("#HBillNo").val() != "")
@@ -367,10 +368,6 @@
                    });
                },
                f_Query: function () { //查询
                    //var sqlWhere = " and 1=1 ";
                    //if ($("#HBillNo").val() != "")
                    //    sqlWhere += " and 单据号 like ''%" + $("#HBillNo").val() + "%''";
                    //RoadHBillNo(sqlWhere);
                },
            };
            $('.test-table-reload-btn .layui-btn').on('click', function () {