Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI
| | |
| | | <dd><a lay-href="ç产管ç/çäº§ç©ææ¸
å/sc_Gy_ICBomBillMainList.html">ç©ææ¸
åç»´æ¤</a></dd> |
| | | </dl> |
| | | </dd> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBillList.html">å·¥èºè·¯çº¿ç»´æ¤</a></dd> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBill.html">å·¥èºè·¯çº¿</a></dd> |
| | | <dd> |
| | | <a>å·¥èºè·¯çº¿</a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBillList.html">å·¥èºè·¯çº¿ç»´æ¤</a></dd> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBill.html">å·¥èºè·¯çº¿</a></dd> |
| | | </dl> |
| | | <dd> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿å¤§ç±»/Gy_RoutingGroupList.html">å·¥èºè·¯çº¿å¤§ç±»</a></dd> |
| | | <!--<dd> |
| | | <a>å·¥èºè·¯çº¿</a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBill.html">å·¥èºè·¯çº¿</a></dd> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBillList.html">å·¥èºè·¯çº¿ç»´æ¤</a></dd> |
| | | </dl> |
| | | </dd>--> |
| | | </dl> |
| | | </li> |
| | | <!-- ç产管ç --> |
| | |
| | | <a>åºç¡å»ºæ¨¡</a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_QCCheckClass.html">æ£éªé¡¹ç®åç±»å表</a></dd> |
| | | <dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Add_Edit_Gy_QCCheckClass.html">æ£éªé¡¹ç®å表</a></dd> |
| | | <dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_CheckItem.html">æ£éªé¡¹ç®å表</a></dd> |
| | | <dd><a lay-href="è´¨é管ç/æ£éªæ¹æ¡å/QC_Add_CheckProject.html">æ£éªæ¹æ¡</a></dd> |
| | | <dd><a lay-href="è´¨é管ç/æ£éªæ¹æ¡å/QC_CheckProjectList.html">æ£éªæ¹æ¡ç»´æ¤</a></dd> |
| | | </dl> |
| | |
| | | <dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Warehouse.html">ä»åºå表</a></dd> |
| | | <dd><a lay-href="">ä»ä½å表null</a></dd> |
| | | <dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html">èåå表</a></dd> |
| | | <!--<dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Department.html">é¨é¨å表old</a></dd>--> |
| | | <dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_DepartmentList.html">é¨é¨å表</a></dd> |
| | | <dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_PropertyList.html">è¾
å©å±æ§å表</a></dd> |
| | | <dd><a lay-href="åºç¡èµæ/å
¬ç¨åºç¡èµæ/Xt_ORGANIZATIONSList.html">ç»ç»å表</a></dd> |
| | |
| | | function set_InitGrid() { |
| | | option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { field: 'hmainid', title: '忮ID', hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 160 } |
| | |
| | | } |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //以䏿¯layui模å |
| | | }); |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | page: false, //å
³éå页 |
| | | totalRow: true, //å¼å¯å计 |
| | | limit: 50, //ä¸é¡µè½å¤æ¾ç¤ºçæå¤§æ°ç® |
| | | limits: [50, 100, 300, 500, 1000, 5000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | limits: [50, 500, 5000, 20000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | method: 'get', //æäº¤æ¹å¼ |
| | | layout: ['count', 'prev', 'page', 'next', 'limit', 'skip'], |
| | | parseData: function (res) { //res 为è¿åçæ°æ® |
| | |
| | | page: false, //å
³éå页 |
| | | totalRow: true, //å¼å¯å计 |
| | | limit: 50, //ä¸é¡µè½å¤æ¾ç¤ºçæå¤§æ°ç® |
| | | limits: [50, 100, 300, 500, 1000, 5000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | limits: [50, 500, 5000, 20000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | method: 'get', //æäº¤æ¹å¼ |
| | | layout: ['count', 'prev', 'page', 'next', 'limit', 'skip'], |
| | | parseData: function (res) { //res 为è¿åçæ°æ® |
| | |
| | | get_FastQuery(); |
| | | }); |
| | | |
| | | |
| | | |
| | | //#endregion |
| | | |
| | | //#region æ¤é¡µé¢ææçæ¹æ³ |
| | |
| | | resultTableHead = []; |
| | | //æ¥è¯¢ |
| | | get_Display(sWhere); |
| | | |
| | | } |
| | | |
| | | |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | function get_Display(sWhere) { |
| | |
| | | page: true, //å
³éå页 |
| | | totalRow: true, //å¼å¯å计 |
| | | limit: 50, //ä¸é¡µè½å¤æ¾ç¤ºçæå¤§æ°ç® |
| | | limits: [50, 100, 300, 500, 1000, 5000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | limits: [50, 500, 5000, 20000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | method: 'get', //æäº¤æ¹å¼ |
| | | layout: ['count', 'prev', 'page', 'next', 'limit', 'skip'], |
| | | parseData: function (res) { //res 为è¿åçæ°æ® |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "SaveGy_CurrencyList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "msg": sMainStr }, |
| | | data: { "msg": sMainStr + ';' + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Gy_Department/AddBill1", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ';' + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Gy_Material/SaveGy_MaterialList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "msg": sMainStr }, |
| | | data: { "msg": sMainStr + ';' + sessionStorage["HUserName"]}, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) {//ä¿å |
| | | //debugger; |
| | | var ModRightNameAdd = 'Gy_RepairType_Edit'; |
| | | var ModRightNameAdd = 'Gy_OrderBackInfo_Edit'; |
| | | var user = sessionStorage["HUserName"]; |
| | | var arr = new Array(); |
| | | var isEndCheck = document.getElementById("HStopflag").checked; |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Gy_OrderBackInfo/AddBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": oMain }, |
| | | data: { "oMain": sMainSub }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) {//ä¿å |
| | | //debugger; |
| | | var ModRightNameAdd = 'Gy_RepairType_Edit'; |
| | | var ModRightNameAdd = 'Gy_VipLevel_Edit'; |
| | | var user = sessionStorage["HUserName"]; |
| | | var arr = new Array(); |
| | | var isEndCheck = document.getElementById("HStopflag").checked; |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Gy_OrderLev/AddBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": oMain }, |
| | | data: { "oMain": oMain + ";" + user }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) {//ä¿å |
| | | //debugger; |
| | | var ModRightNameAdd = 'Gy_RepairType_Edit'; |
| | | var ModRightNameAdd = 'Gy_QCCheckClass_Edit'; |
| | | var user = sessionStorage["HUserName"]; |
| | | var arr = new Array(); |
| | | var isEndCheck = document.getElementById("HStopflag").checked; |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Gy_QCCheckClass/AddBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": oMain }, |
| | | data: { "oMain": sMainSub }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "SaveGy_UnitList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "msg": sMainStr }, |
| | | data: { "msg": sMainStr + ';' + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Gy_Warehouse/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ';' + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Pay_PeriodInfoSet/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ';' + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Xt_ORGANIZATIONS/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ';' + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | //}); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_CheckItem/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_CheckItem/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Currency/list1', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Currency/list1', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Department/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | option.data = result.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetGy_Department', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | //#region åå§åè¡¨æ ¼æ¹æ³ |
| | | function set_InitGrid() { |
| | | //åå§åç½æ ¼ |
| | | option = { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits:[50,500,1000,5000] |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , { field: 'èååç§°', title: 'èååç§°', sort: true } |
| | | , { field: 'æ¡ç ç¼å·', title: 'æ¡ç ç¼å·' } |
| | | , { field: 'HDeptID', title: 'HDeptID', hide: true } |
| | | , { field: '车é´ä»£ç ', title: '车é´ä»£ç ', sort: true} |
| | | , { field: '车é´åç§°', title: '车é´åç§°', sort: true} |
| | | , { field: '车é´ä»£ç ', title: '车é´ä»£ç ', sort: true } |
| | | , { field: '车é´åç§°', title: '车é´åç§°', sort: true } |
| | | , { field: 'HGroupID', title: 'HGroupID', hide: true } |
| | | , { field: 'çç»ä»£ç ', title: 'çç»ä»£ç ', sort: true} |
| | | , { field: 'çç»ä»£ç ', title: 'çç»ä»£ç ', sort: true } |
| | | , { field: 'çç»åç§°', title: 'çç»åç§°', sort: true } |
| | | , { field: 'æç»æ è®°', title: 'æç»æ è®°' } |
| | | , { field: 'ç¦ç¨æ è®°', title: 'ç¦ç¨æ è®°', sort: true } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Employee/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetGy_Employee', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Gy_Employee/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ';' + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Material/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization}, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'Gy_Material/Delete', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_OrderBackInfo/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | url: GetWEBURL() + '/Gy_OrderBackInfo/Delete_Json', |
| | | type: "GET", |
| | | //async: true, |
| | | data: { "HItemID": TagId, "User": sessionStorage["HUserName"], "ModRightNameDelete": ModRightNameDelete }, |
| | | data: { "HItemID": TagId, "User": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_OrderLev/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | |
| | | //å é¤ |
| | | function set_DeleteBill(obj) { |
| | | var ModRightNameDelete = 'Gy_QCCheckItem_Delete' |
| | | var ModRightNameDelete = 'Gy_OrderLev_Delete' |
| | | if (TagId != "") { |
| | | layer.confirm('æ¨ç¡®å®è¦å é¤åï¼', { |
| | | btn: ['ç¡®å®', 'åæ¶'] //æé® |
| | |
| | | //#region åå§åè¡¨æ ¼ |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Property/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Property/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_QCCheckClass/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | |
| | | //å é¤ |
| | | function set_DeleteBill(obj) { |
| | | var ModRightNameDelete = 'Gy_QCCheckItem_Delete' |
| | | var ModRightNameDelete = 'Gy_QCCheckClass_Drop' |
| | | if (TagId != "") { |
| | | layer.confirm('æ¨ç¡®å®è¦å é¤åï¼', { |
| | | btn: ['ç¡®å®', 'åæ¶'] //æé® |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Unit/list1', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetGy_Unit', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Unit/list1', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Warehouse/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetGy_Warehouse', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'ParentID', title: 'ParentID', sort: true, hide: true } |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Gy_WorkCenter/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ";" + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Pay_PeriodInfoSet/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetPay_PeriodInfoSet', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }, function () { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Xt_ORGANIZATIONS/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetGy_WorkCenter', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , limits: [20, 50, 100, 150, 200, 250] |
| | | , limit: 20 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_ConkReasonBill/Get_ConkReasonBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_ConkReasonBill/Get_ConkReasonBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Gy_ConkReasonBill/set_DeleteBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HItemID": HItemID }, |
| | | data: { "HItemID": HItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , limits: [20, 50, 100, 150, 200, 250] |
| | | , limit: 20 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | |
| | | , height: '550' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [col] |
| | | }; |
| | | option1.data = []; |
| | |
| | | , height: '550' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [col] |
| | | }; |
| | | option2.data = []; |
| | |
| | | , height: '550' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [col] |
| | | }; |
| | | option3.data = []; |
| | |
| | | , height: '550' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [col] |
| | | }; |
| | | option4.data = []; |
| | |
| | | , height: '550' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [col] |
| | | }; |
| | | option5.data = []; |
| | |
| | | , height: '550' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [col] |
| | | }; |
| | | option6.data = []; |
| | |
| | | , height: '550' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [col] |
| | | }; |
| | | option7.data = []; |
| | |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , limits: [100,1000,10000,50000] |
| | | , limit: 20 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Gy_Group/EditBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | url: GetWEBURL() + "/Gy_Group/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainSub }, |
| | | dataType: "json", |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Gy_Group/AddBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": oMain }, |
| | | data: { "oMain": sMainSub }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | var wait = layer.load(); |
| | | //é»è¾å 餿¹æ³ |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetGy_Group', |
| | | url: GetWEBURL() + 'Gy_Group/EditBill', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"] }, |
| | | data: { "HItemID": ItemID }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }, function () { |
| | |
| | | } |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + OperationType; |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + OperationType + ";" + sessionStorage["HUserName"]; |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | type: "POST", |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_ProcPrice/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | option.data = result.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'Gy_Group/EditBill', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }, function () { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | var isEndCheck = document.getElementById("HStopflag").checked; |
| | | isEndCheck == true ? data.field.HStopflag = 'true' : data.field.HStopflag = 'false';//å°æ°ç»åå¹¶æå符串 |
| | | |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sMainStr = JSON.stringify(data.field) + ";" + sessionStorage["HUserName"]; |
| | | if (AllowLoadData()) { |
| | | $.ajax( |
| | | { |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "Gy_Process/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ";" + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "SaveGy_SourceList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: {"msg": sMainStr }, |
| | | data: { "msg": sMainStr }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | console.log(JSON.stringify(data)) |
| | |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , limits: [20, 50, 100, 150, 200, 250] |
| | | , limit: 20 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_BadReason/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_BadReason/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "DeltetGy_BadReason", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HItemID": HItemID }, |
| | | data: { "HItemID": HItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'éæ©', title: 'éæ©', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Supplier/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Customer/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Customer/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var ModRightNameDelete = 'Gy_Department_Delete' |
| | | var ModRightNameDelete = 'Crm_CustomerFile_Delete' |
| | | layer.confirm("确认è¦å é¤åï¼å é¤åä¸è½æ¢å¤", { title: "å é¤ç¡®è®¤" }, function (index) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Customer/Delete_Json', |
| | |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Gy_Customer/AddBill", |
| | | async: true, |
| | | data: { "oMain": oMain }, |
| | | data: { "oMain": oMain + ';' + user}, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HInterID', title: 'HInterID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | <table class="" id="layTable" lay-filter="layTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload" style="display:none;"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit" style="display:none;"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload" ><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit" ><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script> |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MESReportFrom/ReportInventoryAccountBillList', |
| | | type: "GET", |
| | | data: { "page": 1, "limit": 500, "HStartDate": HStartDate, "HEndDate": HEndDate, "HSupName": HSupName }, |
| | | data: { "page": 1, "limit": 50, "HStartDate": HStartDate, "HEndDate": HEndDate, "HSupName": HSupName }, |
| | | async: false, |
| | | dataType: "json",//æ°æ®ç±»åå¯ä»¥ä¸º text xml json script jsonp |
| | | success: function (data1) { |
| | |
| | | page: true, //å¼å¯å页 |
| | | totalRow: true, //å¼å¯å计 |
| | | limit: 50, //ä¸é¡µè½å¤æ¾ç¤ºçæå¤§æ°ç® |
| | | limits: [50, 100, 300, 500, 1000, 5000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | limits: [50, 500, 5000, 20000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | method: 'get', //æäº¤æ¹å¼ |
| | | layout: ['count', 'prev', 'page', 'next', 'limit', 'skip'], |
| | | parseData: function (res) { //res 为è¿åçæ°æ® |
| | |
| | | <table class="" id="layTable" lay-filter="layTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload" style="display:none;"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit" style="display:none;"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload" ><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit" ><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script> |
| | |
| | | <table class="" id="layTable1" lay-filter="layTable1"></table> |
| | | <script type="text/html" id="toolbarDemo1"> |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload1" style="display:none;"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit1" style="display:none;"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload1"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit1"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | </div> |
| | | </script> |
| | | </div> |
| | |
| | | //å é¤ |
| | | case 'set_DeleteBill': set_DeleteBill(); |
| | | break; |
| | | |
| | | }; |
| | | }); |
| | | $('.layui-tab-title').on('click', function (title) { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MESReportFrom/ReportMaterialReceiptBillList', |
| | | type: "GET", |
| | | data: { "page": 1, "limit": 500, "HStartDate": HStartDate, "HEndDate": HEndDate, "HNumber": HNumber, "HBarCode": HBarCode, "HSupName": HSupName }, |
| | | data: { "page": 1, "limit": 50, "HStartDate": HStartDate, "HEndDate": HEndDate, "HNumber": HNumber, "HBarCode": HBarCode, "HSupName": HSupName }, |
| | | async: false, |
| | | dataType: "json",//æ°æ®ç±»åå¯ä»¥ä¸º text xml json script jsonp |
| | | success: function (data1) { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MESReportFrom/ReportMaterialReceiptBillSumList', |
| | | type: "GET", |
| | | data: { "page": 1, "limit": 500, "HStartDate": HStartDate1, "HEndDate": HEndDate1, "HNumber": HNumber1, "HSupName": HSupName1 }, |
| | | data: { "page": 1, "limit": 50, "HStartDate": HStartDate1, "HEndDate": HEndDate1, "HNumber": HNumber1, "HSupName": HSupName1 }, |
| | | async: false, |
| | | dataType: "json",//æ°æ®ç±»åå¯ä»¥ä¸º text xml json script jsonp |
| | | success: function (data1) { |
| | |
| | | page: true, //å¼å¯å页 |
| | | totalRow: true, //å¼å¯å计 |
| | | limit: 50, //ä¸é¡µè½å¤æ¾ç¤ºçæå¤§æ°ç® |
| | | limits: [50, 100, 300, 500, 1000, 5000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | limits: [50, 500, 5000, 20000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | method: 'get', //æäº¤æ¹å¼ |
| | | layout: ['count', 'prev', 'page', 'next', 'limit', 'skip'], |
| | | parseData: function (res) { //res 为è¿åçæ°æ® |
| | |
| | | elem: '#layTable1', |
| | | url: GetWEBURL() + '/Sc_MESReportFrom/ReportMaterialReceiptBillSumList', |
| | | toolbar: '#toolbarDemo1', //å¼å¯å¤´é¨å·¥å
·æ ï¼å¹¶ä¸ºå
¶ç»å®å·¦ä¾§æ¨¡æ¿ |
| | | title: 'å¨å
·å³æ¶åºåæ±æ»è¡¨', |
| | | //title: 'å¨å
·å³æ¶åºåæ±æ»è¡¨', |
| | | cols: cols_arr1, //å¡«å
è¡¨æ ¼å¤´æ°æ®, |
| | | id: 'layTable1', //è¡¨æ ¼id |
| | | where: { "HStartDate": HStartDate1, "HEndDate": HEndDate1, "HNumber": HNumber1, "HSupName": HSupName1 }, //æ©å±åæ°,å¯ä»¥ä¼ æ°æ®å°åå° |
| | |
| | | <table class="" id="layTable" lay-filter="layTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload" style="display:none;"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit" style="display:none;"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload" ><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit" ><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script> |
| | |
| | | <table class="" id="layTable1" lay-filter="layTable1"></table> |
| | | <script type="text/html" id="toolbarDemo1"> |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload1" style="display:none;"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit1" style="display:none;"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload1" ><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit1" ><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script> |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MESReportFrom/ReportMouldStockBillList', |
| | | type: "GET", |
| | | data: { "page": 1, "limit": 500, "HDate": HDate, "HNumber": HNumber, "HBarCode": HBarCode, "HSupName": HSupName }, |
| | | data: { "page": 1, "limit": 50, "HDate": HDate, "HNumber": HNumber, "HBarCode": HBarCode, "HSupName": HSupName }, |
| | | async: false, |
| | | dataType: "json",//æ°æ®ç±»åå¯ä»¥ä¸º text xml json script jsonp |
| | | success: function (data1) { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MESReportFrom/ReportMouldStockBillSumList', |
| | | type: "GET", |
| | | data: { "page": 1, "limit": 500, "HDate": HDate1, "HNumber": HNumber1, "HSupName": HSupName1 }, |
| | | data: { "page": 1, "limit": 50, "HDate": HDate1, "HNumber": HNumber1, "HSupName": HSupName1 }, |
| | | async: false, |
| | | dataType: "json",//æ°æ®ç±»åå¯ä»¥ä¸º text xml json script jsonp |
| | | success: function (data1) { |
| | |
| | | page: true, //å¼å¯å页 |
| | | totalRow: true, //å¼å¯å计 |
| | | limit: 50, //ä¸é¡µè½å¤æ¾ç¤ºçæå¤§æ°ç® |
| | | limits: [50, 100, 300, 500, 1000, 5000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | limits: [50, 500, 5000, 20000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | method: 'get', //æäº¤æ¹å¼ |
| | | layout: ['count', 'prev', 'page', 'next', 'limit', 'skip'], |
| | | parseData: function (res) { //res 为è¿åçæ°æ® |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | btn: ['ç¡®å®', 'åæ¶'] //æé® |
| | | , btn1: function () { |
| | | |
| | | var ModRightNameDelete = "";//å 餿é |
| | | var HInterID = checkStatus.data[0].hmainid; |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MouldRepairSendWorkBill/MouldDeleteBill' |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | ,limits: [50,500,1000,5000,10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | ,limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { field: 'hmainid', title: '忮ID', hide: true } |
| | | , { field: 'æ¡ç ç±»å', title: 'æ¡ç ç±»å', width: 160 } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50,200,500,1000,5000,10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 200 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , limits: [20, 50, 100, 150,200,250] |
| | | , limit: 20 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | |
| | | //åå§åè¡¨æ ¼(主) |
| | | function set_InitGrid() { |
| | | option = { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: '400' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 160, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 160, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 160 } |
| | | , { field: 'åæ®ç±»å', title: 'åæ®ç±»å', width: 160, hide: true } |
| | | , { field: 'ä¿å
»è®¡åç¼å·', title: 'ä¿å
»è®¡åç¼å·', width: 200 } |
| | |
| | | , { field: 'HMouldID', title: 'HMouldID', width: 200, hide: true } |
| | | , { field: 'äº§åæ¨¡å
·ä»£ç ', title: '产åå¨å
·ä»£ç ', width: 200 } |
| | | , { field: 'äº§åæ¨¡å
·', title: '产åå¨å
·', width: 200 } |
| | | , { field: 'ä¿å
»å¼å§æ¥æ', title: 'ä¿å
»å¼å§æ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'ä¿å
»ç»ææ¥æ', title: 'ä¿å
»ç»ææ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'ä¿å
»å¼å§æ¥æ', title: 'ä¿å
»å¼å§æ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'ä¿å
»ç»ææ¥æ', title: 'ä¿å
»ç»ææ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'æè¦', title: 'æè¦', width: 200 } |
| | | , { field: 'å
é¨åæ®å·', title: 'å
é¨åæ®å·', width: 200 } |
| | | , { field: '夿³¨', title: '夿³¨', width: 200 } |
| | | , { field: 'å¶å人', title: 'å¶å人', width: 115 } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', width: 200 } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº', width: 200 } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', width: 115, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'å
³é人', title: 'å
³é人', width: 200 } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', width: 200 } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ', width: 115, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | ]] |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao1', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: '400' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true } |
| | |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(index); |
| | | layer.alert("æ²¡ææ°æ®è®°å½!", { icon: 5 }); |
| | | layer.alert(data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index); |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | function set_InitGrid() { |
| | | $("#BenginHCreateDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#EndHCreateDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | option = { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | |
| | | get_Display(sWhere); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | } |
| | | |
| | | //æ¥è¯¢ |
| | | function get_Display(sWhere) { |
| | | var ajaxLoad = layer.load(); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Sc_MouldRepairCheckBill/GetMouldRepairCheckBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | //éç½® |
| | |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | | form.on('submit(Saver)', function (data) {//ä¿å |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) { |
| | | //debugger; |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | var sMainSub = sMainStr + ';' + sSubStr; |
| | | var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"]; |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | |
| | | |
| | | }); |
| | | break; |
| | | case '': |
| | | layer.msg(''); |
| | | //å é¤ |
| | | case 'btn-Delete': |
| | | set_DeleteBill(); |
| | | break; |
| | | |
| | | //å®¡æ ¸ |
| | | case 'btn-Audit': set_AuditBill(); |
| | | break; |
| | | //åå®¡æ ¸ |
| | | case 'btn-DeAudit': set_DeAuditBill(); |
| | | break; |
| | | }; |
| | | }); |
| | | |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox' } |
| | | { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | { type: 'checkbox' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Sc_ProcessMangement/MES_QC_NoPassProdCheckBill_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | sWhere = ""; |
| | | } |
| | | |
| | | //å é¤ |
| | | function set_DeleteBill() { |
| | | var checkStatus = table.checkStatus("mainTable"); |
| | | //夿æ¯å¦é䏿°æ® |
| | | if (checkStatus.data.length != 1) { |
| | | return layer.msg("è¯·éæ©ä¸æ¡æ°æ®"); |
| | | } |
| | | |
| | | layer.confirm('æ¨ç¡®å®è¦å é¤åï¼', { |
| | | btn: ['ç¡®å®', 'åæ¶'] //æé® |
| | | , btn1: function () { |
| | | |
| | | var HInterID = checkStatus.data[0].hmainid; |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_ProcessMangement/ProcessMangementDeleteBill' |
| | | , type: "GET" |
| | | , data: { "HInterID": HInterID, "user": sessionStorage["HUserName"] } |
| | | , success: function (result) { |
| | | |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(index); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | window.location.reload(); |
| | | ////éè½½tree |
| | | //tree.reload('treeDepartment', {}); |
| | | }); |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | } |
| | | }) |
| | | } |
| | | }) |
| | | |
| | | } |
| | | |
| | | //å®¡æ ¸ |
| | | function set_AuditBill() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | var HBillStatus = data[0].HBillStatus.toString(); |
| | | if (HBillStatus == 1) { |
| | | layer.mes("åæ®å·²å®¡æ ¸,ä¸è½åæ¬¡å®¡æ ¸!"); |
| | | return false; |
| | | } |
| | | //é»è¾å®¡æ ¸æ¹æ³ |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Sc_ProcessMangement/AuditProcessMangement", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "IsAudit": 1, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(index); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | window.location.reload(); |
| | | }); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®å®¡æ ¸ï¼'); |
| | | } |
| | | } |
| | | |
| | | //åå®¡æ ¸ |
| | | function set_DeAuditBill() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | var HBillStatus = data[0].HBillStatus.toString(); |
| | | |
| | | if (HBillStatus == 0) { |
| | | layer.msg("åæ®æªå®¡æ ¸,ä¸è½åå®¡æ ¸!"); |
| | | return false; |
| | | } |
| | | |
| | | //é»è¾å®¡æ ¸æ¹æ³ |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Sc_ProcessMangement/AuditProcessMangement", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "IsAudit": 2, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(index); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | window.location.reload(); |
| | | }); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®åå®¡æ ¸ï¼'); |
| | | } |
| | | } |
| | | |
| | | |
| | | //#endregion |
| | | |
| | | //以䏿¯layui模å |
| | |
| | | //, skin: 'row' //è¡¨æ ¼é£æ ¼ |
| | | // , even: true |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [10, 20, 50, 100] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | //, height: 500 |
| | | , done: function (res, curr, count) { |
| | |
| | | <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | </div> |
| | | </script> |
| | | </div> |
| | |
| | | , toolbar: '#toolbarDemo' //å¼å¯å¤´é¨å·¥å
·æ ï¼å¹¶ä¸ºå
¶ç»å®å·¦ä¾§æ¨¡æ¿ |
| | | , defaultToolbar: ['filter', 'exports', 'print'] |
| | | // , where: { msg: "", NowPage: 1, OnePage: 10 } |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'HDeptID ', title: 'HDeptID', width: 105 } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ' } |
| | | , { field: 'é¨é¨', title: 'é¨é¨' } |
| | | , { field: 'HMaterID', title: 'HMaterID' } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ' } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 115 } |
| | | , { field: 'HSupID', title: 'HSupID' } |
| | | , { field: 'ä¾åºå代ç ', title: 'ä¾åºå代ç ', width: 115 } |
| | | , { field: 'ä¾åºååç§°', title: 'ä¾åºååç§°', width: 115 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 115 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true, width: 160 } |
| | | , { field: 'å·¥åº', title: 'å·¥åº', width: 160 } |
| | | , { field: 'åä»· ', title: 'åä»·', width: 215 } |
| | | , { field: 'æ°é ', title: 'æ°é ', width: 115 } |
| | | , { field: 'ä¸è¯æ°é', title: 'ä¸è¯æ°é' } |
| | | , { field: 'æ¥åºæ° ', title: 'æ¥åºæ°', width: 100 } |
| | | , { field: '表ä½å¤æ³¨', title: '表ä½å¤æ³¨' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ' } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº ', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人 ', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºåç±»å', title: 'æºåç±»å ' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'HBillType', title: 'HBillType' } |
| | | , { field: 'HBillSubType', title: 'HBillSubType' } |
| | | , { field: 'HICMOInterID', title: 'HICMOInterID' } |
| | | , { field: 'ä»»å¡åå·', title: 'ä»»å¡åå·' } |
| | | |
| | | ]] |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'HDeptID ', title: 'HDeptID', width: 105 } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ' } |
| | | , { field: 'é¨é¨', title: 'é¨é¨' } |
| | | , { field: 'HMaterID', title: 'HMaterID' } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ' } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 115 } |
| | | , { field: 'HSupID', title: 'HSupID' } |
| | | , { field: 'ä¾åºå代ç ', title: 'ä¾åºå代ç ', width: 115 } |
| | | , { field: 'ä¾åºååç§°', title: 'ä¾åºååç§°', width: 115 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 115 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true, width: 160 } |
| | | , { field: 'å·¥åº', title: 'å·¥åº', width: 160 } |
| | | , { field: 'åä»· ', title: 'åä»·', width: 215 } |
| | | , { field: 'æ°é ', title: 'æ°é ', width: 115 } |
| | | , { field: 'ä¸è¯æ°é', title: 'ä¸è¯æ°é' } |
| | | , { field: 'æ¥åºæ° ', title: 'æ¥åºæ°', width: 100 } |
| | | , { field: '表ä½å¤æ³¨', title: '表ä½å¤æ³¨' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ' } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº ', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人 ', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºåç±»å', title: 'æºåç±»å ' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'HBillType', title: 'HBillType' } |
| | | , { field: 'HBillSubType', title: 'HBillSubType' } |
| | | , { field: 'HICMOInterID', title: 'HICMOInterID' } |
| | | , { field: 'ä»»å¡åå·', title: 'ä»»å¡åå·' } |
| | | |
| | | ]] |
| | | //, skin: 'row' //è¡¨æ ¼é£æ ¼ |
| | | // , even: true |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [10, 20, 50, 100] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | //, height: 500 |
| | | , done: function (res, curr, count) { |
| | | _cur_page = curr; |
| | | layer.closeAll("loading"); |
| | | } |
| | | , done: function (res, curr, count) { |
| | | _cur_page = curr; |
| | | layer.closeAll("loading"); |
| | | } |
| | | }); |
| | | |
| | | //头工å
·æ äºä»¶ |
| | |
| | | <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | </div> |
| | | </script> |
| | | </div> |
| | |
| | | , toolbar: '#toolbarDemo' //å¼å¯å¤´é¨å·¥å
·æ ï¼å¹¶ä¸ºå
¶ç»å®å·¦ä¾§æ¨¡æ¿ |
| | | , defaultToolbar: ['filter', 'exports', 'print'] |
| | | // , where: { msg: "", NowPage: 1, OnePage: 10 } |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'HDeptID ', title: 'HDeptID', width: 105 } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ' } |
| | | , { field: 'é¨é¨', title: 'é¨é¨' } |
| | | , { field: 'HprocID', title: 'HprocID' } |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ' } |
| | | , { field: 'å·¥åº', title: 'å·¥åº', width: 115 } |
| | | , { field: 'HEmpID', title: 'HEmpID', width: 115 } |
| | | , { field: 'èå代ç ', title: 'èå代ç ' } |
| | | , { field: 'èå', title: 'èå', width: 160 } |
| | | , { field: 'HSupID', title: 'HSupID', width: 160 } |
| | | , { field: 'ä¾åºå代ç ', title: 'ä¾åºå代ç ', width: 160 } |
| | | , { field: 'ä¾åºååç§°', title: 'ä¾åºååç§°', width: 160 } |
| | | , { field: 'HMaterID', title: 'HMaterID', width: 160 } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 160 } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 160 } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true, width: 160 } |
| | | , { field: 'æ°é ', title: 'æ°é', width: 215 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨ ', title: 'è¡¨å¤´å¤æ³¨ ', width: 115 } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ ', title: 'å¶åæ¥æ', width: 100 } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº ', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人 ', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºåç±»å', title: 'æºåç±»å ' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'HBillType', title: 'HBillType' } |
| | | |
| | | ]] |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'HDeptID ', title: 'HDeptID', width: 105 } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ' } |
| | | , { field: 'é¨é¨', title: 'é¨é¨' } |
| | | , { field: 'HprocID', title: 'HprocID' } |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ' } |
| | | , { field: 'å·¥åº', title: 'å·¥åº', width: 115 } |
| | | , { field: 'HEmpID', title: 'HEmpID', width: 115 } |
| | | , { field: 'èå代ç ', title: 'èå代ç ' } |
| | | , { field: 'èå', title: 'èå', width: 160 } |
| | | , { field: 'HSupID', title: 'HSupID', width: 160 } |
| | | , { field: 'ä¾åºå代ç ', title: 'ä¾åºå代ç ', width: 160 } |
| | | , { field: 'ä¾åºååç§°', title: 'ä¾åºååç§°', width: 160 } |
| | | , { field: 'HMaterID', title: 'HMaterID', width: 160 } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 160 } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 160 } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true, width: 160 } |
| | | , { field: 'æ°é ', title: 'æ°é', width: 215 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨ ', title: 'è¡¨å¤´å¤æ³¨ ', width: 115 } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ ', title: 'å¶åæ¥æ', width: 100 } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº ', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人 ', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºåç±»å', title: 'æºåç±»å ' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'HBillType', title: 'HBillType' } |
| | | |
| | | ]] |
| | | //, skin: 'row' //è¡¨æ ¼é£æ ¼ |
| | | // , even: true |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [10, 20, 50, 100] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | //, height: 500 |
| | | , done: function (res, curr, count) { |
| | | _cur_page = curr; |
| | | layer.closeAll("loading"); |
| | | } |
| | | , done: function (res, curr, count) { |
| | | _cur_page = curr; |
| | | layer.closeAll("loading"); |
| | | } |
| | | }); |
| | | |
| | | //头工å
·æ äºä»¶ |
| | |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button>--> |
| | | |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | </div> |
| | | </script> |
| | | </form> |
| | |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 } |
| | | { type: 'checkbox' } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_ProcessMangement/MES_Sc_ProcessReportList_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_ProcessMangement/MES_Sc_ProcessSendWorkMain_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox' } |
| | | //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , limit: 10 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | $("#top-title").css({ margin: "0 46%"}); |
| | | $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HDate1").val(Format(new Date(), "yyyy-MM-dd")); |
| | | option = { |
| | | elem: '#mainTable' |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HInterID', title: 'HInterID', sort: true, hide: true, width: 200 } |
| | |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 200, templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd HH:mm:ss')}}</div>" } |
| | | , { |
| | | field: 'åæ®ç±»å', title: 'åæ®ç±»å', width: 200, templet: function (d) { |
| | | if (d.åæ®ç±»å == "3724") |
| | | { |
| | | if (d.åæ®ç±»å == "3724") { |
| | | return "äº§éæ±æ¥ä¸´æ¶å"; |
| | | } |
| | | } |
| | |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 200 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 200 } |
| | | , { field: '产åè§æ ¼', title: '产åè§æ ¼', width: 200 } |
| | | , { field: 'HProcID', title: 'HProcID', width: 200, hide: true} |
| | | , { field: 'HProcID', title: 'HProcID', width: 200, hide: true } |
| | | , { field: 'HProcNumber', title: 'å·¥åºä»£ç ', width: 200 } |
| | | , { field: 'HProcName', title: 'å·¥åºåç§°', width: 200 } |
| | | , { field: 'æ±æ¥æ°é', title: 'æ±æ¥æ°é', width: 200 } |
| | |
| | | function set_InitGrid() { |
| | | $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HDate1").val(Format(new Date(), "yyyy-MM-dd")); |
| | | option = { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | function set_InitGrid() { |
| | | $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HDate1").val(Format(new Date(), "yyyy-MM-dd")); |
| | | option = { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 115 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 115 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 115 } |
| | | , { field: 'HProcID', title: 'HProcID', width: 115, hide: true} |
| | | , { field: 'HProcID', title: 'HProcID', width: 115, hide: true } |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ', width: 115 } |
| | | , { field: 'å·¥åºåç§°', title: 'å·¥åºåç§°', width: 115 } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ', width: 115 } |
| | |
| | | function set_InitGrid() { |
| | | $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HDate1").val(Format(new Date(), "yyyy-MM-dd")); |
| | | option = { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 160 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 160 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 160 } |
| | | , { field: 'HProcID', title: 'HProcID', width: 160, hide: true} |
| | | , { field: 'HProcID', title: 'HProcID', width: 160, hide: true } |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ', width: 160 } |
| | | , { field: 'å·¥åºåç§°', title: 'å·¥åºåç§°', width: 160 } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ', width: 115 } |
| | |
| | | function set_InitGrid() { |
| | | $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HDate1").val(Format(new Date(), "yyyy-MM-dd")); |
| | | option = { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_PackUnionBill/Get_PackUnionBillList', |
| | | type: "GET", |
| | | data: { "page": 1, "limit": 10, "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | data: { "page": 1, "limit": 50, "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | datatype: "json", |
| | | success: function (data1) { |
| | | console.log(data1); |
| | |
| | | where: { sWhere: sWhere, "user": sessionStorage["HUserName"] }, //æ©å±åæ°,å¯ä»¥ä¼ æ°æ®å°åå° |
| | | page: true, //å¼å¯å页 |
| | | totalRow: true, //å¼å¯å计 |
| | | limit: 10, //ä¸é¡µè½å¤æ¾ç¤ºçæå¤§æ°ç® |
| | | limits: [10, 20, 40, 60, 80, 100], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | limit: 50, //ä¸é¡µè½å¤æ¾ç¤ºçæå¤§æ°ç® |
| | | limits: [50, 500, 5000, 20000], //æ§å¶å¤å°è¡ä¸é¡µï¼é»è®¤äºæ¡ä¸é¡µï¼ |
| | | method: 'get', //æäº¤æ¹å¼ |
| | | layout: ['count', 'prev', 'page', 'next', 'limit', 'skip'], |
| | | response: { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type:"checkbox",fixed:"left" } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , limit: 10 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'ç»æåç±»å', title: 'ç»æåç±»å', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/GroupOrderBill/List', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere}, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'ä¼è®¡å¹´ä»½', title: 'ä¼è®¡å¹´ä»½' } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , limit: 10 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | | , { field: 'åæ®ç±»åèµæä»£ç ', title: 'åæ®ç±»åèµæä»£ç ' } |
| | |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { field: 'hid', title: 'hid', sort: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ' } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'Hitemid', title: 'Hitemid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HGroupID', title: 'HGroupID', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | </div> |
| | | </div> |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | <!--<script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container">--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script>--> |
| | | </script> |
| | | </form> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { field: 'Hitemid', title: 'Hitemid', sort: true, hide: true } |
| | | , { field: '模å大类', title: '模å大类' } |
| | |
| | | layer.msg("ç产çç»æ²¡æéæ©"); |
| | | return false; |
| | | } |
| | | if ($("#HStandard").val() == "false") { |
| | | layer.msg("请å¾éé»è®¤å·¥èº"); |
| | | return false; |
| | | } |
| | | |
| | | return true; |
| | | //if ($("#HBillNo").val() == '') { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit:50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | /* { field: 'hmainid', title: 'hmainid', width: 110 }*/ |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'id', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true } |
| | |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , limits: [20, 50, 100, 150, 200, 250] |
| | | , limit: 20 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: '忮ID', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true } |
| | |
| | | , height: '400' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true } |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao1', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | , height: '400' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true } |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao1', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50,200,500,1000,5000,10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 200 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50,200,500,1000,5000,10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 200 |
| | | , limit: 50 |
| | | , limits: [50, 200, 500, 1000, 5000, 10000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: '400' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true } |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao1', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | } |
| | | }); |
| | | }); |
| | | form.on('submit(Saver)', function (data) {//ä¿å |
| | | |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) { |
| | | //debugger; |
| | | data.field.HMaker = sessionStorage["HUserName"];//å¶å人 |
| | | var sMainStr = JSON.stringify(data.field); |
| | |
| | | //, skin: 'row' //è¡¨æ ¼é£æ ¼ |
| | | // , even: true |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [10, 20, 50, 100] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | //, height: 500 |
| | | , done: function (res, curr, count) { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'QC_LastPieceCheckBill/DeltetLastPieceCheckBill', |
| | | type: "GET", |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | break; |
| | | }; |
| | | }); |
| | | |
| | | |
| | | //#region æ¥è¯¢ |
| | | function RoadHBillNo(sqlWhere) { |
| | |
| | | type: "get", |
| | | url: GetWEBURL() + "/QC_LastPieceCheckBill/GetLastPieceCheckBillList", |
| | | async: true, |
| | | data: { "sWhere": sWhere },//"HSupNo": sessionStorage["HUserName"], |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },//"HSupNo": sessionStorage["HUserName"], |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | ajaxReturnData = JSON.parse(JSON.stringify(result)).data; |
| | |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | ////#endregion |
| | | //#region å¿«éè¿æ»¤ |
| | |
| | | |
| | | return [year, month, day].join('-'); |
| | | } |
| | | form.on('submit(Saver)', function (data) {//ä¿å |
| | | |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) { |
| | | //debugger; |
| | | data.field.HMaker = sessionStorage["HUserName"];//å¶å人 |
| | | var sMainStr = JSON.stringify(data.field); |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/QC_OutCompCheckBill/GetOutCompCheckBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'QC_OutCompCheckBill/DeltetOutCompCheckBill', |
| | | type: "GET", |
| | | data: { "HItemID": HItemID }, |
| | | data: { "HItemID": HItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //laydate.render({ |
| | | // elem: '#HDate' |
| | | // , type: 'datetime' |
| | | // , trigger: 'click' |
| | | // , format:'yyyy-MM-dd HH:mm' |
| | | //}); |
| | | |
| | | |
| | | //以䏿¯layui模å |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | |
| | | </body> |
| | |
| | | //debugger; |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | var sMainSub = sMainStr + ';' + sSubStr; |
| | | var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"]; |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | |
| | | //, skin: 'row' //è¡¨æ ¼é£æ ¼ |
| | | // , even: true |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [10, 20, 50, 100] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | //, height: 500 |
| | | , done: function (res, curr, count) { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetQC_PatrolProcCheck', |
| | | type: "GET", |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | }; |
| | | }); |
| | | |
| | | |
| | | |
| | | ///å è½½æ¾ç¤ºæ°æ® |
| | | function RoadHBillNo(sqlWhere) { |
| | | var ajaxLoad = layer.load(); |
| | |
| | | type: "get", |
| | | url: GetWEBURL() + "/QC_Management/MES_QC_PatrolProcCheckBillList_Json", |
| | | async: true, |
| | | data: { "sqlWhere": sqlWhere },//"HSupNo": sessionStorage["HUserName"], |
| | | data: { "sqlWhere": sqlWhere, "user": sessionStorage["HUserName"] },//"HSupNo": sessionStorage["HUserName"], |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | ajaxReturnData = JSON.parse(JSON.stringify(result)).data; |
| | |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | form.on('submit(f_Query)', function (data) {//æ¥è¯¢ |
| | | var sqlWhere = " and 1=1 "; |
| | | //if ($("#HStatus").val() != "") |
| | |
| | | } |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + OperationType; |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + OperationType + ";" + sessionStorage["HUserName"]; |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | type: "POST", |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: '忮ID', title: '忮ID', hide: true } |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/QC_ProcessCheckBill/GetProcessCheckBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | |
| | | url: GetWEBURL() + '/QC_ProcessCheckBill/Delete_Json', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | |
| | | return [year, month, day].join('-'); |
| | | } |
| | | form.on('submit(Saver)', function (data) {//ä¿å |
| | | |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) { |
| | | //debugger; |
| | | data.field.HMaker = sessionStorage["HUserName"];//å¶å人 |
| | | var sMainStr = JSON.stringify(data.field); |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/QC_POStockInCheckBill/GetPOStockInCheckBill', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'QC_POStockInCheckBill/DeltetPOStockInCheckBill', |
| | | type: "GET", |
| | | data: { "HItemID": HItemID }, |
| | | data: { "HItemID": HItemID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | data.field.HStandard = isEndCheck;//å°æ°ç»åå¹¶æå符串 |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | var sMainSub = sMainStr + ';' + sSubStr; |
| | | var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"]; |
| | | if (!AllowLoadData(sSubStr))//æ°æ®éªè¯ |
| | | { |
| | | return false; |
| | |
| | | , cellMinWidth: 100 |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/QC_Management/MES_QC_CheckProjectList_Json", |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | option.data = result.data; |
| | |
| | | layer.confirm("确认è¦å é¤åï¼å é¤åä¸è½æ¢å¤", { title: "å é¤ç¡®è®¤" }, function (index) { |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Sc_MESBeginWorkBill/DeltetQCCheckProject", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | url: GetWEBURL() + "DeltetQCCheckProject", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "UserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | |
| | | } |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + OperationType; |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + OperationType + ";" + sessionStorage["HUserName"] ; |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | type: "POST", |
| | |
| | | , toolbar: '#toolbarDemo' //å¼å¯å¤´é¨å·¥å
·æ ï¼å¹¶ä¸ºå
¶ç»å®å·¦ä¾§æ¨¡æ¿ |
| | | , defaultToolbar: ['filter', 'exports', 'print'] |
| | | // , where: { msg: "", NowPage: 1, OnePage: 10 } |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid' ,hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨ ', title: 'è¡¨å¤´å¤æ³¨', width: 105 } |
| | | , { field: 'çäº§èµæºåç§°', title: 'çäº§èµæºåç§°' } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ' } |
| | | , { field: '产åå
ç ', title: '产åå
ç ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: '产ååå·', title: '产ååå·', width: 115 } |
| | | , { field: 'æ£éªå代ç ', title: 'æ£éªå代ç ', width: 115 } |
| | | , { field: 'æ£éªååç§°', title: 'æ£éªååç§°' } |
| | | , { field: 'å¶å人', title: 'å¶å人', width: 160 } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', width: 160 } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', width: 160 } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', width: 160 } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº', width: 160 } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', width: 160 } |
| | | , { field: 'å
³é人', title: 'å
³é人', width: 160 } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', width: 160 } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', hide: true, width: 160 } |
| | | , { field: 'ä½åºæ¥æ ', title: 'ä½åºæ¥æ', width: 215 } |
| | | , { field: 'åæ®ç±»å ', title: 'åæ®ç±»å ', width: 115 } |
| | | ]] |
| | | , cellMinWidth: 100 |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨ ', title: 'è¡¨å¤´å¤æ³¨', width: 105 } |
| | | , { field: 'çäº§èµæºåç§°', title: 'çäº§èµæºåç§°' } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ' } |
| | | , { field: '产åå
ç ', title: '产åå
ç ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: '产ååå·', title: '产ååå·', width: 115 } |
| | | , { field: 'æ£éªå代ç ', title: 'æ£éªå代ç ', width: 115 } |
| | | , { field: 'æ£éªååç§°', title: 'æ£éªååç§°' } |
| | | , { field: 'å¶å人', title: 'å¶å人', width: 160 } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', width: 160 } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', width: 160 } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', width: 160 } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº', width: 160 } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', width: 160 } |
| | | , { field: 'å
³é人', title: 'å
³é人', width: 160 } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', width: 160 } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', hide: true, width: 160 } |
| | | , { field: 'ä½åºæ¥æ ', title: 'ä½åºæ¥æ', width: 215 } |
| | | , { field: 'åæ®ç±»å ', title: 'åæ®ç±»å ', width: 115 } |
| | | ]] |
| | | //, skin: 'row' //è¡¨æ ¼é£æ ¼ |
| | | // , even: true |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [10, 20, 50, 100] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | //, height: 500 |
| | | , done: function (res, curr, count) { |
| | | _cur_page = curr; |
| | | layer.closeAll("loading"); |
| | | } |
| | | , done: function (res, curr, count) { |
| | | _cur_page = curr; |
| | | layer.closeAll("loading"); |
| | | } |
| | | }); |
| | | |
| | | //头工å
·æ äºä»¶ |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetQC_FirstPieceCheck', |
| | | type: "GET", |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | type: "get", |
| | | url: GetWEBURL() +"/QC_Management/MES_QC_FirstPieceCheckBillList_Json", |
| | | async: true, |
| | | data: { "sqlWhere": sqlWhere },//"HSupNo": sessionStorage["HUserName"], |
| | | data: { "sqlWhere": sqlWhere, "user": sessionStorage["HUserName"] },//"HSupNo": sessionStorage["HUserName"], |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | ajaxReturnData = JSON.parse(JSON.stringify(result)).data; |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | set_ClearQuery(); |
| | | get_FastQuery(); |
| | | } |
| | | |
| | | |
| | | //éç½®è¿æ»¤æ¡ä»¶ |
| | | function set_ClearQuery() { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , page: true |
| | | , height: 300 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | //{ field: 'hmainid', title: 'hmainid', width: 90 } |
| | |
| | | //, { field: 'hsubid', title: 'hsubid', width: 80 } |
| | | , { field: 'æåæ°é', title: 'æåæ°é' } |
| | | ]] |
| | | , text: "æ æ°æ®!" |
| | | }; |
| | | table.render(option); |
| | | } |
| | |
| | | , page: true |
| | | , height: 300 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | |
| | | //{ field: 'hsubid', title: 'hsubid' } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Xs_SeOutStockBill/DeltetSeOutStockBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Xs_SeOutStockBackBill/DeltetSeOutStockBackBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | }); |
| | | break; |
| | | //å®¡æ ¸ |
| | | case 'btn-Audit': |
| | | set_AuditBill(); |
| | | case 'btn-Audit': set_AuditBill(); |
| | | break; |
| | | //åå®¡æ ¸ |
| | | case 'btn-DeAudit': |
| | | set_DeAuditBill(); |
| | | case 'btn-DeAudit': set_DeAuditBill(); |
| | | break; |
| | | //æå° |
| | | case 'btn-print': get_PrintReport(); |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | function set_InitGrid() { |
| | | option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { field: 'hmainid', title: '忮ID', hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 160 } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limits: [50, 500, 1000, 5000, 10000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , limit: 50 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Kf_SellOutBill/DeltetSellOutBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | |
| | | } |
| | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Kf_SellOutBill/DeltetSellOutBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , limit: 10 |
| | | , limit: 50 |
| | | , height: 'full-50' |
| | | , cols: [columns] |
| | | , limits: [50, 500, 1000, 5000] |
| | |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Pay_SingleBalBill/DeltetSingleBalBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | |
| | | function set_InitGrid() { |
| | | option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { field: 'hmainid', title: '忮ID', hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 160 } |