| | |
| | | , laydate = layui.laydate |
| | | , util = layui.util |
| | | , tree = layui.tree |
| | | var sWhere = " where HStopFlag=0 and HEndFlag<>'1' "; //树型100046 sessionStorage["OrganizationID"] |
| | | var sWhere1 = " where HStopFlag=0 and HEndFlag=1 "; //列表 |
| | | var sWhere = " "; //树型100046 sessionStorage["OrganizationID"] |
| | | var sWhere1 = ""; //列表 |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'HInterID', sort: true, hide: true } |
| | | , { field: 'hmainid', title: 'HInterID' } |
| | | , { field: '单据号', title: '单据号' } |
| | | , { field: 'HCycleUnit', title: '周期单位' } |
| | | ]] |
| | | }; |
| | | |
| | | var index = layer.load(0, { shade: false }); |
| | | //进入页面显示的缓存列表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MouldMaintainPlanBill/GetMouldMaintainPlanBillList', |
| | | url: GetWEBURL() + '/Sc_MouldMaintainRuleBill/GetMouldMaintainRuleList', |
| | | type: "GET", |
| | | data: { "sWhere": SeachFilter(sWhere1) }, |
| | | success: function (data1) { |
| | |
| | | form.on('submit(btnSearch)', function (data) { |
| | | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MouldMaintainPlanBill/GetMouldMaintainPlanBillList', |
| | | url: GetWEBURL() + '/Sc_MouldMaintainRuleBill/GetMouldMaintainRuleList', |
| | | type: "GET", |
| | | data: { "sWhere": SeachFilter(sWhere1) }, |
| | | success: function (data1) { |