zgq
2021-07-20 f1affe1600cd1cf65a59ae0b8745f84776af355e
Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI
1个文件已修改
15 ■■■■ 已修改文件
WebTM/views/生产管理/生产汇报单/Sc_Add_ICMOReportBillList.html 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Éú²ú¹ÜÀí/Éú²ú»ã±¨µ¥/Sc_Add_ICMOReportBillList.html
@@ -177,18 +177,7 @@
                , laydate = layui.laydate
                , element = layui.element;
            var fn1 = function (field) {
                return function (data) {
                    var value = data[field];
                    return [
                        '<select name="type" lay-filter="type" lay-search="true" value="' + value + '">',
                        '<option value="" >请选择状态</option>',
                        '<option value="0"' + (value === 0 ? 'selected' : '') + '>国产</option>',
                        '<option value="1"' + (value === 1 ? 'selected' : '') + '>进口</option>',
                        '</select>'
                    ].join('');
                };
            };
            //常规用法
            laydate.render({
@@ -213,7 +202,7 @@
                    { type: 'checkbox', fixed: 'left' }
                    , { 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, templet: fn1('HMaterCode') }
                    , { field: 'HMaterCode', title: '物料代码', edit: 'text', event: 'HMaterCode', width: 100 }
                    , { field: 'HMaterName', title: '物料名称', edit: 'text', width: 100 }
                    , { field: 'HMaterSpec', title: '规格型号', edit: 'text', width: 100 }
                    , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true }