| | |
| | | <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> |
| | |
| | | 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_QCCheckItem_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) { // 说æéªè¯æåäºï¼ |
| | |
| | | $.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; |
| | |
| | | $.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; |
| | |
| | | $.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) { |
| | |
| | | //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) { // 说æéªè¯æåäºï¼ |
| | |
| | | //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) { |
| | |
| | | $.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 () { |
| | |
| | | $.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: ['ç¡®å®', 'åæ¶'] //æé® |
| | |
| | | //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; |
| | |
| | | $.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; |
| | |
| | | $.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; |
| | |
| | | //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) { |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_WorkCenter/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() + 'DeltetGy_WorkCenter', |
| | | 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_WorkCenter/ModifyByID", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: { "oMain": sMainStr + ";" + sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | //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 () { |
| | |
| | | //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) { |
| | |
| | | $.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 () { |
| | |
| | | $.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) { // 说æéªè¯æåäºï¼ |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Group/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | var wait = layer.load(); |
| | | //é»è¾å 餿¹æ³ |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'Gy_Group/EditBill', |
| | | url: GetWEBURL() + 'Gy_Group/DeltetGy_Group', |
| | | 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 () { |
| | |
| | | } |
| | | 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", |
| | |
| | | $.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 () { |
| | |
| | | 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 + ";" + sessionStorage["HUserName"]}, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | |
| | | //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 () { |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_Process/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() + 'DeltetGy_Process', |
| | | 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_Source/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() + 'DeltetGy_Source', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |
| | |
| | | $.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; |
| | |
| | | //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) { |