From 85137428581f9679e6e77d7fa5b3b7ab4ba6102b Mon Sep 17 00:00:00 2001 From: zzr99 <1940172413@qq.com> Date: 星期五, 17 九月 2021 17:22:25 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI --- WebTM/views/车间管理/委外工序接收单/Cj_StationEntrustOutBill.html | 8 WebTM/views/车间管理/工序出站汇报单/Cj_StationOutBill.html | 8 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldMaintainPlanBillList.html | 2572 +++++------------------------------------------------ WebTM/views/车间管理/委外工序发出单/Cj_StationEntrustInBill.html | 8 WebTM/Properties/PublishProfiles/JFTM.pubxml.user | 111 + WebTM/views/模治具管理/模治具管理/Sc_MouldMaintainPlanBillList.html | 69 WebTM/views/车间管理/工序进站接收单/Cj_StationInBill.html | 8 WebTM/views/质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill.html | 48 WebTM/views/质量管理/首件检验单/QC_FirstPieceCheckBillList.html | 1 WebTM/WebTM.csproj | 1 WebTM/views/车间管理/委外工序接收单/Cj_StationEntrustOutBillList.html | 38 11 files changed, 477 insertions(+), 2,395 deletions(-) diff --git a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user index 359ccf3..099f061 100644 --- a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user +++ b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user @@ -5,7 +5,7 @@ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <_PublishTargetUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\LAYUI</_PublishTargetUrl> - <History>True|2021-09-14T06:20:12.9552865Z;True|2021-09-14T08:55:29.2052912+08:00;True|2021-09-13T15:00:59.4781894+08:00;True|2021-09-13T14:30:21.8724741+08:00;True|2021-09-13T14:21:59.9842865+08:00;True|2021-09-13T13:55:52.5440732+08:00;True|2021-09-13T13:41:47.4713265+08:00;True|2021-09-13T13:40:32.6596823+08:00;True|2021-09-13T13:05:11.9634766+08:00;True|2021-09-13T12:56:50.3833877+08:00;True|2021-09-13T12:55:42.5423394+08:00;True|2021-09-13T12:54:14.5348970+08:00;True|2021-09-13T12:53:29.2851299+08:00;True|2021-09-13T11:30:49.4614132+08:00;True|2021-09-13T11:07:18.7614320+08:00;True|2021-09-13T10:11:54.3210837+08:00;True|2021-09-13T10:10:52.0621982+08:00;True|2021-09-13T10:07:13.0435933+08:00;True|2021-09-13T09:37:14.2422108+08:00;True|2021-09-13T09:25:23.5296138+08:00;True|2021-09-13T08:59:18.2682553+08:00;True|2021-09-13T08:57:01.7610315+08:00;True|2021-09-13T08:47:01.4215634+08:00;True|2021-09-13T08:26:28.5920671+08:00;True|2021-09-13T08:24:57.2643590+08:00;True|2021-09-10T14:51:04.7707907+08:00;True|2021-09-09T10:35:53.0372382+08:00;True|2021-09-08T14:44:54.9146584+08:00;True|2021-09-08T09:45:41.8822491+08:00;True|2021-09-08T09:27:57.1364965+08:00;True|2021-09-08T09:26:54.3164990+08:00;True|2021-09-08T09:24:27.3121015+08:00;True|2021-09-08T09:17:43.0782846+08:00;True|2021-09-08T09:16:11.6882318+08:00;True|2021-09-08T09:08:53.8744747+08:00;True|2021-09-08T09:08:46.8933620+08:00;True|2021-09-06T09:33:26.6804733+08:00;True|2021-09-03T19:10:12.7592659+08:00;True|2021-08-31T17:33:20.4862250+08:00;True|2021-08-31T17:25:33.2338034+08:00;True|2021-08-31T17:16:53.6141658+08:00;True|2021-08-31T17:05:05.8698117+08:00;True|2021-08-31T16:41:50.3822298+08:00;True|2021-08-31T16:37:22.2238663+08:00;True|2021-08-31T16:36:26.1800384+08:00;True|2021-08-31T16:28:26.1099872+08:00;True|2021-08-31T16:21:52.6418458+08:00;True|2021-08-31T16:21:43.0677604+08:00;True|2021-08-31T14:44:51.5966580+08:00;True|2021-08-31T14:23:28.5410238+08:00;True|2021-08-31T14:21:48.9261003+08:00;True|2021-08-31T14:16:21.3594227+08:00;True|2021-08-31T08:41:12.4835146+08:00;True|2021-08-31T08:39:44.8228499+08:00;True|2021-08-24T11:22:21.6358144+08:00;True|2021-08-24T11:15:14.2239037+08:00;True|2021-08-24T11:07:52.7338377+08:00;True|2021-08-24T11:05:07.1956470+08:00;True|2021-08-24T10:58:37.3560774+08:00;True|2021-08-24T10:55:25.2011361+08:00;True|2021-08-24T10:50:24.4184661+08:00;True|2021-08-24T10:40:08.9920641+08:00;True|2021-08-24T09:56:57.1366165+08:00;True|2021-08-24T09:51:03.8491425+08:00;True|2021-08-24T09:39:46.6283267+08:00;True|2021-08-24T09:34:56.0329846+08:00;True|2021-08-24T09:33:49.5616108+08:00;True|2021-08-24T09:30:11.4275137+08:00;True|2021-08-24T09:28:03.1632781+08:00;True|2021-08-24T09:20:37.9359161+08:00;True|2021-08-23T19:41:47.4759824+08:00;True|2021-08-23T19:31:57.7822004+08:00;True|2021-08-23T19:29:00.7059328+08:00;True|2021-08-23T19:27:50.7182931+08:00;True|2021-08-23T19:25:43.1081358+08:00;True|2021-08-23T19:23:31.7673811+08:00;True|2021-08-23T19:19:12.4688135+08:00;True|2021-08-23T14:33:40.0216534+08:00;True|2021-08-23T10:25:16.2368267+08:00;True|2021-08-23T08:44:53.7913522+08:00;True|2021-08-23T08:43:06.9224130+08:00;True|2021-08-04T18:04:31.3072954+08:00;True|2021-08-04T18:01:18.4681442+08:00;True|2021-08-04T17:56:48.7190175+08:00;True|2021-08-04T17:53:04.7797497+08:00;True|2021-08-04T17:45:31.8566693+08:00;True|2021-08-04T16:55:50.2164076+08:00;True|2021-08-04T16:53:54.3795393+08:00;True|2021-08-04T16:52:12.6890749+08:00;True|2021-08-04T16:45:53.7777474+08:00;True|2021-08-04T16:43:14.6294901+08:00;True|2021-08-03T12:32:28.1751910+08:00;True|2021-08-03T12:29:54.9217779+08:00;True|2021-08-03T12:27:52.8413083+08:00;True|2021-08-03T12:24:19.0709152+08:00;True|2021-08-03T12:23:38.6047116+08:00;True|2021-08-03T12:22:37.1442268+08:00;True|2021-08-03T11:35:32.9861144+08:00;True|2021-08-03T11:17:42.2503866+08:00;True|2021-08-03T11:15:35.2474129+08:00;True|2021-08-03T11:02:29.3376886+08:00;True|2021-08-03T10:31:00.2538243+08:00;True|2021-08-03T10:28:30.8653786+08:00;True|2021-08-03T10:11:46.3635709+08:00;True|2021-08-03T10:09:33.1920064+08:00;True|2021-08-02T14:15:44.7839397+08:00;True|2021-08-02T14:09:49.5590625+08:00;True|2021-08-02T14:08:05.4935142+08:00;True|2021-08-02T14:06:25.6254370+08:00;True|2021-08-02T13:58:43.1021355+08:00;True|2021-08-02T13:13:06.7226632+08:00;True|2021-08-02T13:10:04.6960397+08:00;True|2021-07-30T14:44:28.8697242+08:00;True|2021-07-28T09:57:09.9313268+08:00;True|2021-07-27T15:17:10.8083258+08:00;True|2021-07-27T15:05:09.9773967+08:00;True|2021-07-27T09:23:56.9164989+08:00;True|2021-07-27T08:26:22.4982509+08:00;True|2021-07-21T21:35:22.6454560+08:00;True|2021-07-21T20:41:11.9089851+08:00;True|2021-07-21T20:37:48.9557360+08:00;True|2021-07-21T20:34:51.4886396+08:00;True|2021-07-21T20:26:04.6299920+08:00;True|2021-07-21T20:22:37.4448912+08:00;True|2021-07-21T20:19:38.2099947+08:00;True|2021-07-21T20:16:40.9594972+08:00;True|2021-07-21T20:13:26.9811029+08:00;True|2021-07-21T20:12:21.9556943+08:00;True|2021-07-13T13:57:10.3043513+08:00;True|2021-07-08T15:03:37.6802886+08:00;True|2021-07-08T14:58:11.5470188+08:00;True|2021-07-08T14:44:27.4797393+08:00;True|2021-07-08T12:46:01.7083578+08:00;True|2021-07-08T12:36:41.7875286+08:00;True|2021-07-08T11:34:52.0094686+08:00;True|2021-07-07T19:53:14.0183575+08:00;True|2021-07-07T16:35:37.3175290+08:00;True|2021-07-07T16:17:20.9617488+08:00;True|2021-07-07T16:12:34.1278724+08:00;True|2021-07-07T15:28:05.5862079+08:00;True|2021-07-07T15:27:07.9829390+08:00;True|2021-07-07T15:25:28.0385686+08:00;True|2021-07-07T15:21:11.6178253+08:00;True|2021-07-07T15:15:04.9525528+08:00;True|2021-07-02T17:01:10.6129925+08:00;True|2021-07-02T16:58:31.3382263+08:00;False|2021-07-02T16:56:15.1143571+08:00;True|2021-06-28T14:58:10.7844058+08:00;True|2021-06-28T14:41:22.9103077+08:00;True|2021-06-28T14:38:29.4061991+08:00;True|2021-06-25T14:47:08.0595253+08:00;True|2021-06-25T14:45:23.5681483+08:00;True|2021-06-25T14:42:14.3320293+08:00;True|2021-06-25T14:31:24.4892069+08:00;True|2021-06-25T14:21:27.9305618+08:00;True|2021-06-25T14:01:55.8709557+08:00;True|2021-06-25T14:01:34.2869043+08:00;True|2021-06-25T13:57:16.9235177+08:00;True|2021-06-25T11:04:32.0541037+08:00;True|2021-06-25T10:56:12.6800567+08:00;True|2021-06-25T10:52:39.2232942+08:00;True|2021-06-25T10:46:32.7051515+08:00;True|2021-06-25T10:39:45.9935081+08:00;True|2021-06-24T15:29:05.1557976+08:00;True|2021-06-24T15:17:38.0559722+08:00;True|2021-06-24T15:16:03.4606543+08:00;True|2021-06-24T15:09:30.2350359+08:00;True|2021-06-24T15:08:01.2854904+08:00;True|2021-06-24T09:19:21.8407413+08:00;True|2021-06-23T16:01:06.9752733+08:00;True|2021-06-23T15:40:48.0600942+08:00;True|2021-06-23T15:35:53.3971163+08:00;True|2021-06-23T15:25:06.7153552+08:00;True|2021-06-23T15:17:30.6635532+08:00;True|2021-06-23T15:14:29.9392004+08:00;True|2021-06-23T14:17:00.7593883+08:00;True|2021-06-23T14:15:36.2129408+08:00;True|2021-06-23T14:13:56.0674385+08:00;True|2021-06-23T14:12:39.1152380+08:00;True|2021-06-23T14:11:30.7305862+08:00;True|2021-06-23T14:09:32.9068156+08:00;True|2021-06-23T14:07:14.7921581+08:00;True|2021-06-23T14:04:58.6716794+08:00;True|2021-06-23T14:02:42.0128025+08:00;True|2021-06-23T13:55:52.9751544+08:00;True|2021-06-23T13:53:26.8169698+08:00;True|2021-06-22T16:31:58.5748348+08:00;True|2021-06-22T16:07:48.5148267+08:00;True|2021-06-22T16:04:36.2503739+08:00;True|2021-06-22T16:00:43.0264206+08:00;True|2021-06-22T15:55:42.9093385+08:00;True|2021-06-22T15:51:18.0421904+08:00;True|2021-06-22T15:35:01.7574201+08:00;True|2021-06-22T15:24:15.7962812+08:00;True|2021-06-22T14:56:52.6270438+08:00;True|2021-06-22T14:10:54.9406106+08:00;True|2021-06-22T14:08:15.2618916+08:00;True|2021-06-22T14:05:33.6975571+08:00;True|2021-06-22T13:55:28.6215051+08:00;True|2021-06-22T11:25:10.9245123+08:00;True|2021-06-22T08:50:34.2405585+08:00;True|2021-06-21T16:59:10.6036312+08:00;True|2021-06-21T16:50:55.4709721+08:00;True|2021-06-21T16:40:58.8244269+08:00;True|2021-06-21T16:31:18.9628094+08:00;True|2021-06-21T15:51:17.3693666+08:00;True|2021-06-21T13:24:17.0235835+08:00;True|2021-06-21T13:22:25.7262124+08:00;True|2021-06-21T10:47:52.4425428+08:00;True|2021-06-21T08:45:43.5963620+08:00;True|2021-06-21T08:45:04.0743894+08:00;True|2021-06-21T08:43:41.0159366+08:00;True|2021-06-19T15:09:31.9416629+08:00;True|2021-06-18T15:55:47.3043005+08:00;True|2021-06-18T15:54:51.9110069+08:00;True|2021-06-18T15:53:36.5475712+08:00;True|2021-06-18T15:46:27.7565979+08:00;True|2021-06-18T15:43:05.4125819+08:00;True|2021-06-18T15:37:01.5738408+08:00;</History> + <History>True|2021-09-17T07:06:30.4485214Z;True|2021-09-17T11:22:12.0563828+08:00;True|2021-09-14T14:20:12.9552865+08:00;True|2021-09-14T08:55:29.2052912+08:00;True|2021-09-13T15:00:59.4781894+08:00;True|2021-09-13T14:30:21.8724741+08:00;True|2021-09-13T14:21:59.9842865+08:00;True|2021-09-13T13:55:52.5440732+08:00;True|2021-09-13T13:41:47.4713265+08:00;True|2021-09-13T13:40:32.6596823+08:00;True|2021-09-13T13:05:11.9634766+08:00;True|2021-09-13T12:56:50.3833877+08:00;True|2021-09-13T12:55:42.5423394+08:00;True|2021-09-13T12:54:14.5348970+08:00;True|2021-09-13T12:53:29.2851299+08:00;True|2021-09-13T11:30:49.4614132+08:00;True|2021-09-13T11:07:18.7614320+08:00;True|2021-09-13T10:11:54.3210837+08:00;True|2021-09-13T10:10:52.0621982+08:00;True|2021-09-13T10:07:13.0435933+08:00;True|2021-09-13T09:37:14.2422108+08:00;True|2021-09-13T09:25:23.5296138+08:00;True|2021-09-13T08:59:18.2682553+08:00;True|2021-09-13T08:57:01.7610315+08:00;True|2021-09-13T08:47:01.4215634+08:00;True|2021-09-13T08:26:28.5920671+08:00;True|2021-09-13T08:24:57.2643590+08:00;True|2021-09-10T14:51:04.7707907+08:00;True|2021-09-09T10:35:53.0372382+08:00;True|2021-09-08T14:44:54.9146584+08:00;True|2021-09-08T09:45:41.8822491+08:00;True|2021-09-08T09:27:57.1364965+08:00;True|2021-09-08T09:26:54.3164990+08:00;True|2021-09-08T09:24:27.3121015+08:00;True|2021-09-08T09:17:43.0782846+08:00;True|2021-09-08T09:16:11.6882318+08:00;True|2021-09-08T09:08:53.8744747+08:00;True|2021-09-08T09:08:46.8933620+08:00;True|2021-09-06T09:33:26.6804733+08:00;True|2021-09-03T19:10:12.7592659+08:00;True|2021-08-31T17:33:20.4862250+08:00;True|2021-08-31T17:25:33.2338034+08:00;True|2021-08-31T17:16:53.6141658+08:00;True|2021-08-31T17:05:05.8698117+08:00;True|2021-08-31T16:41:50.3822298+08:00;True|2021-08-31T16:37:22.2238663+08:00;True|2021-08-31T16:36:26.1800384+08:00;True|2021-08-31T16:28:26.1099872+08:00;True|2021-08-31T16:21:52.6418458+08:00;True|2021-08-31T16:21:43.0677604+08:00;True|2021-08-31T14:44:51.5966580+08:00;True|2021-08-31T14:23:28.5410238+08:00;True|2021-08-31T14:21:48.9261003+08:00;True|2021-08-31T14:16:21.3594227+08:00;True|2021-08-31T08:41:12.4835146+08:00;True|2021-08-31T08:39:44.8228499+08:00;True|2021-08-24T11:22:21.6358144+08:00;True|2021-08-24T11:15:14.2239037+08:00;True|2021-08-24T11:07:52.7338377+08:00;True|2021-08-24T11:05:07.1956470+08:00;True|2021-08-24T10:58:37.3560774+08:00;True|2021-08-24T10:55:25.2011361+08:00;True|2021-08-24T10:50:24.4184661+08:00;True|2021-08-24T10:40:08.9920641+08:00;True|2021-08-24T09:56:57.1366165+08:00;True|2021-08-24T09:51:03.8491425+08:00;True|2021-08-24T09:39:46.6283267+08:00;True|2021-08-24T09:34:56.0329846+08:00;True|2021-08-24T09:33:49.5616108+08:00;True|2021-08-24T09:30:11.4275137+08:00;True|2021-08-24T09:28:03.1632781+08:00;True|2021-08-24T09:20:37.9359161+08:00;True|2021-08-23T19:41:47.4759824+08:00;True|2021-08-23T19:31:57.7822004+08:00;True|2021-08-23T19:29:00.7059328+08:00;True|2021-08-23T19:27:50.7182931+08:00;True|2021-08-23T19:25:43.1081358+08:00;True|2021-08-23T19:23:31.7673811+08:00;True|2021-08-23T19:19:12.4688135+08:00;True|2021-08-23T14:33:40.0216534+08:00;True|2021-08-23T10:25:16.2368267+08:00;True|2021-08-23T08:44:53.7913522+08:00;True|2021-08-23T08:43:06.9224130+08:00;True|2021-08-04T18:04:31.3072954+08:00;True|2021-08-04T18:01:18.4681442+08:00;True|2021-08-04T17:56:48.7190175+08:00;True|2021-08-04T17:53:04.7797497+08:00;True|2021-08-04T17:45:31.8566693+08:00;True|2021-08-04T16:55:50.2164076+08:00;True|2021-08-04T16:53:54.3795393+08:00;True|2021-08-04T16:52:12.6890749+08:00;True|2021-08-04T16:45:53.7777474+08:00;True|2021-08-04T16:43:14.6294901+08:00;True|2021-08-03T12:32:28.1751910+08:00;True|2021-08-03T12:29:54.9217779+08:00;True|2021-08-03T12:27:52.8413083+08:00;True|2021-08-03T12:24:19.0709152+08:00;True|2021-08-03T12:23:38.6047116+08:00;True|2021-08-03T12:22:37.1442268+08:00;True|2021-08-03T11:35:32.9861144+08:00;True|2021-08-03T11:17:42.2503866+08:00;True|2021-08-03T11:15:35.2474129+08:00;True|2021-08-03T11:02:29.3376886+08:00;True|2021-08-03T10:31:00.2538243+08:00;True|2021-08-03T10:28:30.8653786+08:00;True|2021-08-03T10:11:46.3635709+08:00;True|2021-08-03T10:09:33.1920064+08:00;True|2021-08-02T14:15:44.7839397+08:00;True|2021-08-02T14:09:49.5590625+08:00;True|2021-08-02T14:08:05.4935142+08:00;True|2021-08-02T14:06:25.6254370+08:00;True|2021-08-02T13:58:43.1021355+08:00;True|2021-08-02T13:13:06.7226632+08:00;True|2021-08-02T13:10:04.6960397+08:00;True|2021-07-30T14:44:28.8697242+08:00;True|2021-07-28T09:57:09.9313268+08:00;True|2021-07-27T15:17:10.8083258+08:00;True|2021-07-27T15:05:09.9773967+08:00;True|2021-07-27T09:23:56.9164989+08:00;True|2021-07-27T08:26:22.4982509+08:00;True|2021-07-21T21:35:22.6454560+08:00;True|2021-07-21T20:41:11.9089851+08:00;True|2021-07-21T20:37:48.9557360+08:00;True|2021-07-21T20:34:51.4886396+08:00;True|2021-07-21T20:26:04.6299920+08:00;True|2021-07-21T20:22:37.4448912+08:00;True|2021-07-21T20:19:38.2099947+08:00;True|2021-07-21T20:16:40.9594972+08:00;True|2021-07-21T20:13:26.9811029+08:00;True|2021-07-21T20:12:21.9556943+08:00;True|2021-07-13T13:57:10.3043513+08:00;True|2021-07-08T15:03:37.6802886+08:00;True|2021-07-08T14:58:11.5470188+08:00;True|2021-07-08T14:44:27.4797393+08:00;True|2021-07-08T12:46:01.7083578+08:00;True|2021-07-08T12:36:41.7875286+08:00;True|2021-07-08T11:34:52.0094686+08:00;True|2021-07-07T19:53:14.0183575+08:00;True|2021-07-07T16:35:37.3175290+08:00;True|2021-07-07T16:17:20.9617488+08:00;True|2021-07-07T16:12:34.1278724+08:00;True|2021-07-07T15:28:05.5862079+08:00;True|2021-07-07T15:27:07.9829390+08:00;True|2021-07-07T15:25:28.0385686+08:00;True|2021-07-07T15:21:11.6178253+08:00;True|2021-07-07T15:15:04.9525528+08:00;True|2021-07-02T17:01:10.6129925+08:00;True|2021-07-02T16:58:31.3382263+08:00;False|2021-07-02T16:56:15.1143571+08:00;True|2021-06-28T14:58:10.7844058+08:00;True|2021-06-28T14:41:22.9103077+08:00;True|2021-06-28T14:38:29.4061991+08:00;True|2021-06-25T14:47:08.0595253+08:00;True|2021-06-25T14:45:23.5681483+08:00;True|2021-06-25T14:42:14.3320293+08:00;True|2021-06-25T14:31:24.4892069+08:00;True|2021-06-25T14:21:27.9305618+08:00;True|2021-06-25T14:01:55.8709557+08:00;True|2021-06-25T14:01:34.2869043+08:00;True|2021-06-25T13:57:16.9235177+08:00;True|2021-06-25T11:04:32.0541037+08:00;True|2021-06-25T10:56:12.6800567+08:00;True|2021-06-25T10:52:39.2232942+08:00;True|2021-06-25T10:46:32.7051515+08:00;True|2021-06-25T10:39:45.9935081+08:00;True|2021-06-24T15:29:05.1557976+08:00;True|2021-06-24T15:17:38.0559722+08:00;True|2021-06-24T15:16:03.4606543+08:00;True|2021-06-24T15:09:30.2350359+08:00;True|2021-06-24T15:08:01.2854904+08:00;True|2021-06-24T09:19:21.8407413+08:00;True|2021-06-23T16:01:06.9752733+08:00;True|2021-06-23T15:40:48.0600942+08:00;True|2021-06-23T15:35:53.3971163+08:00;True|2021-06-23T15:25:06.7153552+08:00;True|2021-06-23T15:17:30.6635532+08:00;True|2021-06-23T15:14:29.9392004+08:00;True|2021-06-23T14:17:00.7593883+08:00;True|2021-06-23T14:15:36.2129408+08:00;True|2021-06-23T14:13:56.0674385+08:00;True|2021-06-23T14:12:39.1152380+08:00;True|2021-06-23T14:11:30.7305862+08:00;True|2021-06-23T14:09:32.9068156+08:00;True|2021-06-23T14:07:14.7921581+08:00;True|2021-06-23T14:04:58.6716794+08:00;True|2021-06-23T14:02:42.0128025+08:00;True|2021-06-23T13:55:52.9751544+08:00;True|2021-06-23T13:53:26.8169698+08:00;True|2021-06-22T16:31:58.5748348+08:00;True|2021-06-22T16:07:48.5148267+08:00;True|2021-06-22T16:04:36.2503739+08:00;True|2021-06-22T16:00:43.0264206+08:00;True|2021-06-22T15:55:42.9093385+08:00;True|2021-06-22T15:51:18.0421904+08:00;True|2021-06-22T15:35:01.7574201+08:00;True|2021-06-22T15:24:15.7962812+08:00;True|2021-06-22T14:56:52.6270438+08:00;True|2021-06-22T14:10:54.9406106+08:00;True|2021-06-22T14:08:15.2618916+08:00;True|2021-06-22T14:05:33.6975571+08:00;True|2021-06-22T13:55:28.6215051+08:00;True|2021-06-22T11:25:10.9245123+08:00;True|2021-06-22T08:50:34.2405585+08:00;True|2021-06-21T16:59:10.6036312+08:00;True|2021-06-21T16:50:55.4709721+08:00;True|2021-06-21T16:40:58.8244269+08:00;True|2021-06-21T16:31:18.9628094+08:00;True|2021-06-21T15:51:17.3693666+08:00;True|2021-06-21T13:24:17.0235835+08:00;True|2021-06-21T13:22:25.7262124+08:00;True|2021-06-21T10:47:52.4425428+08:00;True|2021-06-21T08:45:43.5963620+08:00;True|2021-06-21T08:45:04.0743894+08:00;True|2021-06-21T08:43:41.0159366+08:00;True|2021-06-19T15:09:31.9416629+08:00;True|2021-06-18T15:55:47.3043005+08:00;True|2021-06-18T15:54:51.9110069+08:00;True|2021-06-18T15:53:36.5475712+08:00;True|2021-06-18T15:46:27.7565979+08:00;True|2021-06-18T15:43:05.4125819+08:00;True|2021-06-18T15:37:01.5738408+08:00;</History> </PropertyGroup> <ItemGroup> <File Include="bin/layuiadmin/style/admin.css"> @@ -15,10 +15,10 @@ <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="bin/WebTM.dll"> - <publishTime>09/14/2021 13:49:48</publishTime> + <publishTime>09/17/2021 11:22:10</publishTime> </File> <File Include="bin/WebTM.pdb"> - <publishTime>09/14/2021 13:49:48</publishTime> + <publishTime>09/17/2021 11:22:10</publishTime> </File> <File Include="layuiadmin/config.js"> <publishTime>08/27/2021 09:06:17</publishTime> @@ -639,7 +639,7 @@ <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="layuiadmin/Scripts/webConfig.js"> - <publishTime>09/14/2021 14:19:18</publishTime> + <publishTime>09/17/2021 15:06:23</publishTime> </File> <File Include="layuiadmin/style/admin.css"> <publishTime>08/27/2021 09:06:17</publishTime> @@ -1086,7 +1086,7 @@ <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="views/index.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 13:17:38</publishTime> </File> <File Include="views/index_Mobile.html"> <publishTime>08/27/2021 09:06:17</publishTime> @@ -1655,8 +1655,11 @@ <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_Add_MouldLifeChangeBillList.html"> <publishTime>08/27/2021 09:06:17</publishTime> </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_Add_MouldMoveStockStepOutBill.html"> + <publishTime>09/16/2021 16:04:24</publishTime> + </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_Add_MouldProdBackBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 13:17:38</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_Add_MouldProdOutBillList.html"> <publishTime>09/14/2021 08:23:22</publishTime> @@ -1670,23 +1673,50 @@ <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldLifeChangeBillList.html"> <publishTime>08/27/2021 09:06:17</publishTime> </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldMoveStockStepInBill.html"> + <publishTime>09/16/2021 16:04:24</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldMoveStockStepInBillList.html"> + <publishTime>09/16/2021 16:04:24</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldMoveStockStepOutBill.html"> + <publishTime>09/16/2021 16:04:24</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldMoveStockStepOutBillList.html"> + <publishTime>09/16/2021 16:04:24</publishTime> + </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldOtherOutBillEdit.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldOtherOutBillList.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/16/2021 13:17:38</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldProdBackBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/15/2021 11:18:56</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldProdInBillEdit.html"> + <publishTime>09/16/2021 13:17:38</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldProdInBillList.html"> + <publishTime>09/16/2021 18:21:09</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldProdMoveBillList.html"> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldProdOutBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/15/2021 11:18:56</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldRepairInBillList.html"> + <publishTime>09/16/2021 16:04:24</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldRepairOutBillList.html"> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldScrapInBill.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 13:17:38</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldScrapInBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldScrapInBill_PDA.html"> <publishTime>08/27/2021 09:06:17</publishTime> @@ -1695,7 +1725,7 @@ <publishTime>09/14/2021 08:23:22</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldScrapOutBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风偣妫�淇濆吇/Sc_MouldDotCheckBill_PDA.html"> <publishTime>09/09/2021 10:34:50</publishTime> @@ -1746,7 +1776,7 @@ <publishTime>09/08/2021 13:40:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_Add_MouldMaintainPlanBillList.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/17/2021 11:21:43</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_Add_MouldRepairCheckBillList.html"> <publishTime>09/08/2021 13:40:24</publishTime> @@ -1773,7 +1803,7 @@ <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_Add_MouldProdBackBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 13:17:38</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_Add_MouldProdOutBillList.html"> <publishTime>09/14/2021 08:23:22</publishTime> @@ -1788,22 +1818,22 @@ <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldOtherOutBillEdit.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldOtherOutBillList.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/16/2021 13:17:38</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldProdBackBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/15/2021 11:18:56</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldProdOutBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/15/2021 11:18:56</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldScrapInBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏蜂粨搴撶鐞�/Sc_MouldScrapOutBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Gy_BarCodeBillList.html"> <publishTime>08/27/2021 09:06:17</publishTime> @@ -1836,7 +1866,7 @@ <publishTime>09/08/2021 13:40:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_Add_MouldMaintainPlanBillList.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/17/2021 11:21:43</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_Add_MouldRepairCheckBillList.html"> <publishTime>09/08/2021 13:40:24</publishTime> @@ -1875,13 +1905,13 @@ <publishTime>09/08/2021 13:40:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldMaintainPlanBillList.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/17/2021 11:21:43</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldOtherInBill.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/16/2021 13:17:38</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldOtherInBillList.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/16/2021 16:04:24</publishTime> </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldOtherOutBill.html"> <publishTime>08/27/2021 09:06:17</publishTime> @@ -2139,7 +2169,7 @@ <publishTime>09/14/2021 08:23:22</publishTime> </File> <File Include="views/璁惧绠$悊/Sb_EquipMaintainBillEdit.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/15/2021 08:09:24</publishTime> </File> <File Include="views/璁惧绠$悊/Sb_EquipMaintainBillList.html"> <publishTime>09/14/2021 08:23:22</publishTime> @@ -2196,10 +2226,10 @@ <publishTime>07/20/2021 01:15:26</publishTime> </File> <File Include="views/璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html"> - <publishTime>09/08/2021 16:03:24</publishTime> + <publishTime>09/16/2021 16:52:24</publishTime> </File> <File Include="views/璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_FirstPieceCheckBillList.html"> - <publishTime>09/08/2021 13:40:24</publishTime> + <publishTime>09/16/2021 16:54:48</publishTime> </File> <File Include="views/璁惧绠$悊/Sb_Add_EqpConkBookBillList.html"> <publishTime>09/08/2021 13:40:24</publishTime> @@ -2232,7 +2262,7 @@ <publishTime>09/14/2021 08:23:22</publishTime> </File> <File Include="views/璁惧绠$悊/Sb_EquipMaintainBillEdit.html"> - <publishTime>09/14/2021 08:23:22</publishTime> + <publishTime>09/15/2021 08:09:24</publishTime> </File> <File Include="views/璁惧绠$悊/Sb_EquipMaintainBillList.html"> <publishTime>09/14/2021 08:23:22</publishTime> @@ -2280,16 +2310,16 @@ <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="views/璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html"> - <publishTime>09/08/2021 16:03:24</publishTime> + <publishTime>09/16/2021 16:52:24</publishTime> </File> <File Include="views/璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_FirstPieceCheckBillList.html"> - <publishTime>09/08/2021 13:40:24</publishTime> + <publishTime>09/16/2021 16:54:48</publishTime> </File> <File Include="views/杞﹂棿绠$悊/涓嶈壇鍝佽瘎瀹″崟/Cj_NoPassProcList.html"> <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="views/杞﹂棿绠$悊/濮斿宸ュ簭鍙戝嚭鍗�/Cj_StationEntrustInBill.html"> - <publishTime>09/09/2021 15:34:37</publishTime> + <publishTime>09/16/2021 14:53:26</publishTime> </File> <File Include="views/杞﹂棿绠$悊/濮斿宸ュ簭鍙戝嚭鍗�/Cj_StationEntrustInBillList.html"> <publishTime>09/09/2021 15:48:48</publishTime> @@ -2298,19 +2328,19 @@ <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="views/杞﹂棿绠$悊/濮斿宸ュ簭鎺ユ敹鍗�/Cj_StationEntrustOutBill.html"> - <publishTime>08/27/2021 09:06:17</publishTime> + <publishTime>09/16/2021 15:27:36</publishTime> </File> <File Include="views/杞﹂棿绠$悊/濮斿宸ュ簭鎺ユ敹鍗�/Cj_StationEntrustOutBillList.html"> - <publishTime>09/08/2021 13:40:24</publishTime> + <publishTime>09/16/2021 16:29:49</publishTime> </File> <File Include="views/杞﹂棿绠$悊/濮斿宸ュ簭鎺ユ敹鍗�/Cj_StationEntrustOutBill_PDA.html"> <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭鍑虹珯姹囨姤鍗�/Cj_StationOutBill.html"> - <publishTime>09/09/2021 15:54:30</publishTime> + <publishTime>09/15/2021 09:55:45</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭鍑虹珯姹囨姤鍗�/Cj_StationOutBillList.html"> - <publishTime>09/08/2021 15:27:36</publishTime> + <publishTime>09/15/2021 09:59:56</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭鍑虹珯姹囨姤鍗�/Sc_StationOutBill_Mul.html"> <publishTime>09/08/2021 15:31:08</publishTime> @@ -2334,7 +2364,7 @@ <publishTime>08/27/2021 09:06:17</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆鍗�/Sc_ProcessExchangeBill.html"> - <publishTime>09/08/2021 14:34:01</publishTime> + <publishTime>09/16/2021 13:59:28</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭娴佽浆鍗�/Sc_ProcessExchangeBillList.html"> <publishTime>09/08/2021 14:35:57</publishTime> @@ -2343,17 +2373,20 @@ <publishTime>05/17/2021 19:07:00</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭杩涚珯鎺ユ敹鍗�/Cj_StationInBill.html"> - <publishTime>09/09/2021 15:54:30</publishTime> + <publishTime>09/15/2021 09:50:41</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭杩涚珯鎺ユ敹鍗�/Cj_StationInBillList.html"> <publishTime>09/08/2021 15:54:13</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭杩涚珯鎺ユ敹鍗�/Cj_StationInBill.html"> - <publishTime>09/09/2021 15:54:30</publishTime> + <publishTime>09/15/2021 09:50:41</publishTime> </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭杩涚珯鎺ユ敹鍗�/Cj_StationInBillList.html"> <publishTime>09/08/2021 15:54:13</publishTime> </File> + <File Include="views/杞﹂棿绠$悊/宸ュ簭杩涚珯鎺ユ敹鍗�/Cj_StationQty.html"> + <publishTime>09/09/2021 15:19:52</publishTime> + </File> <File Include="views/杞﹂棿绠$悊/宸ュ簭杩涚珯鎺ユ敹鍗�/Sc_StationInBill_Mul.html"> <publishTime>09/08/2021 15:55:15</publishTime> </File> diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj index 57da799..d1a78b4 100644 --- a/WebTM/WebTM.csproj +++ b/WebTM/WebTM.csproj @@ -684,6 +684,7 @@ <Content Include="views\杞﹂棿绠$悊\宸ュ簭娴佽浆鍗Sc_ProcessExchangeBill.html" /> <Content Include="views\杞﹂棿绠$悊\宸ュ簭杩涚珯鎺ユ敹鍗昞Cj_StationInBill.html" /> <Content Include="views\杞﹂棿绠$悊\宸ュ簭杩涚珯鎺ユ敹鍗昞Cj_StationInBillList.html" /> + <Content Include="views\杞﹂棿绠$悊\宸ュ簭杩涚珯鎺ユ敹鍗昞Cj_StationQty.html" /> <Content Include="views\杞﹂棿绠$悊\宸ュ簭杩涚珯鎺ユ敹鍗昞Sc_StationInBill_Mul.html" /> <Content Include="views\楠屾敹鍏ュ簱\浜у搧鍏ュ簱\Kf_ProductInBillList.html" /> <Content Include="views\楠屾敹鍏ュ簱\鍏朵粬鍏ュ簱\Kf_OtherInBillList.html" /> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainPlanBillList.html" index f334de8..8be2b29 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainPlanBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainPlanBillList.html" @@ -127,22 +127,19 @@ <script src="../../../layuiadmin/Scripts/json2.js"></script> <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> <script src="../../../layuiadmin/Scripts/webConfig.js"></script> - <script>//鑾峰彇鍙傛暟 - function getUrlVars() { - var vars = [], hash; - var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); - for (var i = 0; i < hashes.length; i++) { - hash = hashes[i].split('='); - vars.push(hash[0]); - vars[hash[0]] = hash[1]; - } - return vars; + <script src="../../../layuiadmin/PubCustom.js"></script> + <script> + //鑾峰彇椤甸潰璺宠浆鍙傛暟 + var params = get_UrlVars(); + if (typeof (params[params[0]]) == "undefined") { + var OperationType = 1;//鎿嶄綔绫诲瀷 + var closeType = 2; //鍏抽棴绫诲瀷 + } else { + var OperationType = params[params[0]];//鎿嶄綔绫诲瀷 + var linterid = params[params[1]];//婧愬崟id + var HSouceBillType = params[params[2]];//婧愬崟绫诲瀷 + var closeType = params[params[3]]; //鍏抽棴绫诲瀷 } - - - - var params = getUrlVars(); - var hID = params[params[0]];//缂栬緫鏌ョ湅 layui.config({ @@ -150,6 +147,7 @@ }).extend({ index: 'lib/index' //涓诲叆鍙fā鍧� }).use(['index', 'form', 'laydate', 'table', 'element'], function () { + //#region var $ = layui.$ , admin = layui.admin , layer = layui.layer @@ -157,32 +155,149 @@ , form = layui.form , laydate = layui.laydate , element = layui.element; + var option; + var sBillType = "3818"; + var TabRow = { "HMaterID": 0, "HUnitID": "0 ", "HQty": "0 ", "HQtyMust": "0", "HRemark": " " }; + //#endregion - //甯歌鐢ㄦ硶 - laydate.render({ - elem: '#HDate' + //#region 杩涘叆椤甸潰鍗冲姞杞� + //鍒濆鍖栬〃鍗曟彃浠� + set_InitFrom(); + + //鍒濆鍖栬〃鏍� + set_InitGrid(); + + //鍒ゆ柇鎿嶄綔绫诲瀷 + if (OperationType == 1) {//鏃犳簮鍗� + set_AddFNew(); + } + else if (OperationType == 3) {//缂栬緫 + + set_EditFromGrid(); + } + else { + layer.alert("鏈煡鎿嶄綔绫诲瀷锛�", { icon: 5 }); + } + //#endregion + + + //#region 瑙﹀彂浜嬩欢锛氬寘鎷琭orm.on(){}鏍煎紡鐨勬墍鏈夌偣鍑讳簨浠躲�侀�夋嫨浜嬩欢绛� + //Tab鍒囨崲 + //element.on('tab(TabTest)', function (data) { + + //}) + + // 澶村伐鍏锋爮浜嬩欢 + table.on('toolbar(mainTable)', function (obj) { + var rowid = 0; + var checkStatus = table.checkStatus('mainTable') + , data = checkStatus.data;; + var AddRow = table.cache['mainTable']; + var NewRow = TabRow; + switch (obj.event) { + //鏂板涓�琛� + case 'btn-AddLine': btnAddLine(NewRow); + break; + //澶嶅埗涓�琛� + case 'btn-CopyLine': btnCopyLine(data); + break; + } }); - laydate.render({ - elem: '#HBeginDate' + + // 琛屽唴浜嬩欢 + table.on('tool(mainTable)', function (obj) { + set_GridDelete(obj); //琛屽唴鍒犻櫎 + set_GridCellCheck(obj); //琛屽唴蹇嵎閿瓫閫� }); - laydate.render({ - elem: '#HEndDate' + + //琛ㄦ牸琛屽唴浜嬩欢蹇嵎閿瓫閫� + function set_GridCellCheck(obj) { + $(document).off('keydown', ".layui-table-edit").on('keydown', '.layui-table-edit', function (e) { + if (event.key == "F7") { + if (obj.event === 'HMaintainItemNumber') //閰嶄欢浠g爜 + { + + } + obj.event = ""; + return false; + + } + }) + } + + //淇濆瓨 + form.on('submit(Saver)', function (data) {//淇濆瓨 + var sMainStr = JSON.stringify(data.field); + var sSubStr = JSON.stringify(table.cache['mainTable']); + var sMainSub = sMainStr + ';' + sSubStr; + + $.ajax( + { + type: "POST", + url: GetWEBURL() + "/Sc_MouldMaintainPlanBill/SaveGetMouldMaintainPlanBillList", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� + async: true, + data: { "msg": sMainSub }, + dataType: "json", + success: function (data) { + if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 + layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () { + $('#add-btn').addClass("layui-btn-disabled").attr("disabled", true); + var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩 + parent.layer.close(index); //鍐嶆墽琛屽叧闂� 聽 聽 聽 聽 聽聽 聽聽聽 聽 + }); + } + else { + layer.alert(data.Message, { icon: 5 }); + //console.log("Reason" + sMainStr + "sub:" + JSON.stringify(layui.table.cache.mainTable)); + } + layer.closeAll("loading"); + }, + error: function (err) { + layer.alert("閿欒:" + err, { icon: 5 }); + //console.log("Reason" + sMainStr); + } + }); }); - //鍒ゆ柇鏄惁鐧诲綍 鏈櫥褰曞垯璺冲埌鐧诲綍椤� - //if (sessionStorage.login != "login") { - // layer.confirm("鐧诲綍澶辨晥锛岃閲嶆柊鐧诲綍锛�", { - // icon: 4, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['閲嶆柊鐧诲綍'] - // }, function () { window.location.href = "../../user/login.html"; }); - //} - var tableReload = table.reload; - var option = { - elem: '#mainTable' - , toolbar: '#toolbarDemo' - , height: 500 - //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 - , page: true //寮�鍚垎椤� - , cols: [[ //琛ㄥご + + //閫�鍑� + form.on('submit(Exit)', function (data) {// + if (closeType == 0) { + //鍏抽棴椤电 + parent.layui.admin.events.closeThisTabs(); + } + if (closeType == 1) { + //鍏抽棴寮圭獥 + var index = parent.layer.getFrameIndex(window.name); + parent.layer.close(index); + } else if (closeType == 2) { + //鍏抽棴椤电 + parent.layui.admin.events.closeThisTabs(); + } + }); + + + //#endregion + + //鍒濆鍖栬〃鍗曟彃浠� + function set_InitFrom() { + //甯歌鐢ㄦ硶 + laydate.render({ + elem: '#HDate' + + }); + laydate.render({ + elem: '#HBeginDate' + }); + laydate.render({ + elem: '#HEndDate' + }); + } + + //鍒濆鍖栬〃鏍� + function set_InitGrid() { + //琛ㄥご + columns = [ { type: 'checkbox', fixed: 'left' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaterID', title: '閰嶄欢浠g爜', edit: 'text', event: "" } @@ -191,2048 +306,67 @@ , { field: 'HQtyMust', title: '鍗曚綅鐢ㄩ噺', edit: 'text' } , { field: 'HRemark', title: '澶囨敞', edit: 'text' } , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo', width: 150 } - ]] - , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� - }; - //鍒ゆ柇鏄惁鏂板 - if (hID == null || hID == 0) { - //鍒濆鍔犺浇琛ㄦ牸{ "ID": 0, "HWasterReasonName": " ","HBadReasonID":0,"HEmpName": " ", "HSQProcName": " ","HProcID":0, "HZRProcName": " ", "HMRBChecker": " ", "HRemark": " ", "HPSProcName": " ", "HCloseMan": " " } - option.data = [{ "HMaterID": 0, "HUnitID": "0 ", "HQty": "0 ", "HQtyMust": "0", "HRemark": " "}]; + ]; + option = { + id: 'mainTable' + , elem: '#mainTable' + , toolbar: '#toolbarDemo' + , page: false + , cellMinWidth: 120 + , height: 500 + , cols: [columns] + , done: function (res, curr, count) { + + } + }; + + } + + //鏃犳簮鍗曟柊澧� + function set_AddFNew() { + //鑾峰彇鏈�澶у崟鎹彿 + get_MAXNum(); + option.data = [TabRow]; table.render(option); } - else { - $("#HInterID").val(hID);//淇敼鏃朵富琛↖D - //缂栬緫鍔犺浇鏁版嵁 - $.ajax({ - url: GetWEBURL() + 'Sc_MouldMaintainPlanBill/Sc_MouldMaintainPlanBillListProjectDetai', - type: "GET", - data: { "sqlWhere": "and HInterID=" + hID }, - success: function (result) { - //console.log('gouba' + result); - if (result.count == 1) { - option.data = result.data; - table.render(option); - } else { - layer.alert(result.code + result.Message, { icon: 5 }); - } - }, error: function () { - layer.close(index0); - layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); - } - }); - + //缂栬緫 + function set_EditFromGrid() { + set_EditForm(linterid); //缂栬緫鑾峰彇琛ㄥご + set_EditGrid(linterid); //缂栬緫鑾峰彇琛ㄤ綋 + option.data = [TabRow]; + table.render(option); } - - //澶村伐鍏锋爮浜嬩欢 - var rowid = 0; - var rows = 0; - table.on('toolbar(mainTable)', function (obj) { - var checkStatus = table.checkStatus('mainTable') - , data = checkStatus.data;; - var AddRow = table.cache['mainTable']; - var NewRow = { "HMaterID": 0, "HUnitID": "0 ", "HQty": "0 ", "HQtyMust":"0", "HRemark": " " }; - switch (obj.event) { - case 'btn-AddLine': - //table.cache["mainTable"].push(AddRow[rows]); - table.cache["mainTable"].push(NewRow); - option.data = table.cache["mainTable"]; - table.render(option); - rows++; - layer.msg('澧炲姞涓�琛屾寜閽紒') - break; - case 'btn-CopyLine': - var copydata = JSON.stringify(data); - if (data.length <= 0) { - layer.alert("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒"); - } - else if (data.length > 1) { - layer.alert("鍙兘閫夋嫨澶嶅埗涓�琛岋紒"); - } - else { - var copydata2 = copydata.substring(1, copydata.length);//鍘婚櫎棣栬瀛楃'[' - var copyrow = copydata2.substring(0, copydata2.length - 1);//鍘婚櫎鏈熬瀛楃']' - table.cache["mainTable"].push(JSON.parse(copyrow));//灏嗗鍒剁殑琛屽己杞垚json杩藉姞鍒拌〃鏍间笂 - option.data = table.cache["mainTable"];//灏嗘暟鎹粦瀹氬埌data涓� - table.render(option);//灏嗘暟鎹覆鏌撳埌琛ㄦ牸涓� - //layer.alert(copyrow); - } - break; - } - }); - //琛屽唴浜嬩欢 - table.on('tool(mainTable)', function (obj) { - var data = obj.data; - var rowIndex = $(obj.tr).attr("data-index"); - if (obj.event === 'del') { - layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) { - console.log("绱㈠紩涓�:" + rowIndex); - if (rowIndex === '0') { - layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�'); - } else { - var oldData = table.cache["mainTable"]; - oldData.splice(obj.tr.data('index'), 1); - table.reload('mainTable', { data: oldData }); - layer.close(index); - } - }); - } - if (obj.event === 'ReasonNameEvent') { - var _obj = obj; - switch (rowIndex) { - case "0": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "1": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "2": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "3": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "4": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "5": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "6": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "7": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "8": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "9": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "10": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "11": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "12": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "13": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "14": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "15": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "16": - //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '涓嶈壇鍘熷洜鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HWasterReasonName: HReasonName - , HBadReasonID: ReasonID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HWasterReasonName); - console.log("琛屽彿锛�" + rowIndex); - break; + //鑾峰彇鏈�澶у崟鎹彿鍙婇粯璁ゅ�艰祴鍊� + function get_MAXNum() { + //鑾峰彇鏈�澶у崟鎹彿 new + $("#HInterID").val("0"); + $("#HBillNo").val(""); + $.ajax({ + url: GetWEBURL() + "/Web/GetMAXNum", + type: "GET", + data: { "HBillType": '3819' }, + success: function (d) { + $("#HInterID").val(0); + $("#HPlanInterID").val(0); + $("#HBillNo").val(d.data[0].HBillNo); + $("#HDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); + $("#HBeginDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); + $("#HEndDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); } - } - else if (obj.event === 'EmpNameEvent') { - var _obj = obj; - switch (rowIndex) { - case "0": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "1": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "2": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "3": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "4": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "5": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "6": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "7": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "8": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "9": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "10": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "11": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "12": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "13": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "14": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "15": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "16": - //寮瑰嚭妗嗛�夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HEmpName: EmpName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HEmpName); - console.log("琛屽彿锛�" + rowIndex); - break; + }); + } - } - } - else if (obj.event === 'SQProcNameEvent') { - var _obj = obj; - switch (rowIndex) { - case "0": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "1": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "2": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "3": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "4": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "5": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "6": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "7": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "8": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "9": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "10": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "11": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "12": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "13": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "14": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "15": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "16": - //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐢宠宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HSQProcName: SQProcName - , HProcID: ProcID - }); - } - }) - console.log("瀛楁璧嬪��" + data.HSQProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - - } - } - else if (obj.event === 'ZRProcNameEvent') { - var _obj = obj; - switch (rowIndex) { - case "0": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "1": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "2": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "3": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "4": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "5": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "6": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "7": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "8": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "9": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "10": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "11": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "12": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "13": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "14": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "15": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "16": - //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HZRProcName: ZRProcName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HZRProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - - } - } - else if (obj.event === 'BadQtyEvent') { - var _obj = obj; - switch (rowIndex) { - case "0": - - break; - case "1": - - break; - case "2": - - break; - case "3": - - break; - case "4": - - break; - case "5": - - break; - case "6": - - break; - case "7": - - break; - case "8": - - break; - case "9": - - break; - case "10": - - break; - case "11": - - break; - case "12": - - break; - case "13": - - break; - case "14": - - break; - case "15": - - break; - case "16": - //$(obj.tr).find(".layui-table-edit").keyup(function () { - // var $input = $(this), val = $input.val(); - // if (!val) val = "1"; - // $input.val(val.replace(/[^\d]/g, '')); - //}); - break; - - } - } - else if (obj.event === 'RemarkEvent') { - var _obj = obj; - switch (rowIndex) { - case "0": - - break; - case "1": - - break; - case "2": - - break; - case "3": - - break; - case "4": - - break; - case "5": - - break; - case "6": - - break; - case "7": - - break; - case "8": - - break; - case "9": - - break; - case "10": - - break; - case "11": - - break; - case "12": - - break; - case "13": - - break; - case "14": - - break; - case "15": - - break; - case "16": - - break; - - } - } - else if (obj.event === 'PSProcNameEvent') { - var _obj = obj; - switch (rowIndex) { - case "0": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "1": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "2": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "3": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "4": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "5": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "6": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "7": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "8": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "9": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "10": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "11": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "12": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "13": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "14": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "15": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - case "16": - //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes'] - , resize: false - , end: function () { - _obj.update({ - HPSProcName: QRName - }); - } - }) - console.log("瀛楁璧嬪��" + data.HPSProcName); - console.log("琛屽彿锛�" + rowIndex); - break; - - } - } - else if (obj.event === 'CloseManEvent') { - var _obj = obj; - switch (rowIndex) { - case "0": - - break; - case "1": - - break; - case "2": - - break; - case "3": - - break; - case "4": - - break; - case "5": - - break; - case "6": - - break; - case "7": - - break; - case "8": - - break; - case "9": - - break; - case "10": - - break; - case "11": - - break; - case "12": - - break; - case "13": - - break; - case "14": - - break; - case "15": - - break; - case "16": - - break; - - } - } - - - - }); - - - - function RoadBillMain(hID)//鍔犺浇琛ㄥご - { - alert(hID); + //缂栬緫鑾峰彇琛ㄥご + function set_EditForm(linterid) { //鏌ヨ妫�楠屾柟妗堝崟鏄惁瀛樺湪 $.ajax({ url: GetWEBURL() + "Sc_MouldMaintainPlanBill/Sc_MouldMaintainPlanBillListCheckDetai", type: "GET", data: { - "HID": hID + "HID": linterid }, success: function (result) { if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 @@ -2242,7 +376,7 @@ , "HDate": data.鏃ユ湡 , "HInnerBillNo": data.鍐呴儴鍗曟嵁鍙� , "HCycleUnit": data.鍛ㄦ湡鍗曚綅 - , "HCheckCycle": data.淇濆吇鍛ㄦ湡 + , "HCheckCycle": data.淇濆吇鍛ㄦ湡 , "HBeginDate": data.璁″垝寮�濮嬫棩鏈� , "HEndDate": data.璁″垝缁撴潫鏃ユ湡 , "HExplanation": data.鎽樿 @@ -2259,257 +393,86 @@ }); } + // 缂栬緫鑾峰彇琛ㄥご鏃舵椂闂存牸寮忕煫姝f柟寮� + function formatDate(date) { + var d = new Date(date), + month = '' + (d.getMonth() + 1), + day = '' + d.getDate(), + year = d.getFullYear(); - var date = new Date(); - var day = date.getDate(); - var month = date.getMonth() + 1; - var year = date.getFullYear(); - var shijian = year + "-" + month + "-" + day; + if (month.length < 2) month = '0' + month; + if (day.length < 2) day = '0' + day; - //鍒ゆ柇鏄惁鏂板 - if (hID == null || hID == 0) { - //鑾峰彇鏈�澶у崟鎹彿 new - $("#HInterID").val("0"); - $("#HBillNo").val(""); + return [year, month, day].join('-'); + } + + // 缂栬緫鑾峰彇琛ㄤ綋 + function set_EditGrid(linterid) { + $("#HInterID").val(linterid);//淇敼鏃朵富琛↖D + //缂栬緫鍔犺浇鏁版嵁 $.ajax({ - url: GetWEBURL() + "/Web/GetMAXNum", + url: GetWEBURL() + 'Sc_MouldMaintainPlanBill/Sc_MouldMaintainPlanBillListProjectDetai', type: "GET", - data: { "HBillType": '3807' }, - success: function (d) { - //console.log(d.data); - $("#HBillNo").val(d.data[0].HBillNo); - $("#HDate").val(shijian); - $("#HBeginDate").val(shijian); - $("#HEndDate").val(shijian); - $("#HInterID").val(0); + data: { "sqlWhere": "and HInterID=" + linterid }, + success: function (result) { + //console.log('gouba' + result); + if (result.count == 1) { + option.data = result.data; + table.render(option); + + } else { + layer.alert(result.code + result.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index0); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); } }); } - else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new - RoadBillMain(hID); - /* RoadBillSub(linterid);*/ + + //澧炲姞涓�琛� + function btnAddLine(NewRow) { + table.cache["mainTable"].push(NewRow); + option.data = table.cache["mainTable"]; + table.render(option); } - //閫夋嫨浜у搧寮圭獥 - form.on('submit(HMateria-BT)', function () {//浜у搧 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鐗╂枡' - , shade: 0.6 //閬僵閫忔槑搴� - //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../Baseset/鍩虹璧勬枡/Gy_MaterialList.html', 'yes'] - , resize: false - , cancel: function (index, layero) { - } - }) - }); - //閫夋嫨宸ュ簭 - form.on('submit(HProc-BT)', function () {//閫夋嫨宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes'] - , resize: false - , cancel: function (index, layero) { - } - }) - }); - - //閫夋嫨閮ㄩ棬 - form.on('submit(HDepart-BT)', function () {//閫夋嫨閮ㄩ棬 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '閮ㄩ棬鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../Baseset/鍩虹璧勬枡/Gy_DepartmentList.html', 'yes'] - , resize: false - , cancel: function (index, layero) { - } - }) - }); - //閫夋嫨鍗曚綅 - form.on('submit(HUnitID-BT)', function () {//閫夋嫨鍗曚綅 - layer.open({ - type: 2 - , area: ['666px', '666px'] - , title: '鍗曚綅鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_UnitList.html', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - form.on('submit(Exit)', function (data) {// - var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩 - parent.layer.close(index); //鍐嶆墽琛屽叧闂� - }); - - //閫夋嫨璐d换浜� - form.on('submit(HEmployeeID-BT)', function () {//閫夋嫨璐d换浜� - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '鑱屽憳鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - //閫夋嫨璐d换宸ュ簭 - form.on('submit(HZRProcID-BT)', function () {//閫夋嫨璐d换宸ュ簭 - layer.open({ - type: 2 - , area: ['80%', '80%'] - , title: '璐d换宸ュ簭鍒楄〃' - , shade: 0.6 //閬僵閫忔槑搴� - , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 - , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes'] - , resize: false - , cancel: function () { - //$(".layui-btn").removeClass("layui-btn-disabled"); - } - }) - }); - - - - form.on('submit(Cancel)', function () { - //sessionStorage["SourceFlag"] = false; - parent.location.href = "../../../views/index.html" - //window.close();//鍏抽棴褰撳墠椤� - }) - - - - form.on('submit(Saver)', function (data) {//淇濆瓨 - //debugger; - var sMainStr = JSON.stringify(data.field); - var sSubStr = JSON.stringify(table.cache['mainTable']); - var sMainSub = sMainStr + ';' + sSubStr; - - $.ajax( - { - type: "POST", - url: GetWEBURL() + "/Sc_MouldMaintainPlanBill/SaveGetMouldMaintainPlanBillList", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚� - async: true, - data: { "msg": sMainSub }, - dataType: "json", - success: function (data) { - if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 - layer.msg(data.Message, { time: 1 * 1000, icon:1 }, function () { - $('#add-btn').addClass("layui-btn-disabled").attr("disabled", true); - var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩 - parent.layer.close(index); //鍐嶆墽琛屽叧闂� 聽 聽 聽 聽 聽聽 聽聽聽 聽 - }); - } - else { - - f_alert(data.Message); - console.log("Reason" + sMainStr + "sub:" + JSON.stringify(layui.table.cache.mainTable)); - } - layer.closeAll("loading"); - }, - error: function (err) { - - f_alert("閿欒:" + err); - console.log("Reason" + sMainStr); - } - }); - }); - function f_alert(sMsg) { - layer.alert(sMsg, { icon: 5 }); - - } - - //鐩戝惉鎻愪氦 - form.verify({ - numberOrEmpty: function (value, item) { - // if (value != '') { - if (!/^\d+$/.test(value)) { - return '涓嶈兘涓虹┖鎴栨暟瀛楁垨鑰�0'; - } - //} + //澶嶅埗涓�琛� + function btnCopyLine(data) { + var copydata = JSON.stringify(data); + if (data.length <= 0) { + layer.msg("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒"); } - }); + else if (data.length > 1) { + layer.msg("鍙兘閫夋嫨澶嶅埗涓�琛岋紒"); + } + else { + var copydata2 = copydata.substring(1, copydata.length);//鍘婚櫎棣栬瀛楃'[' + var copyrow = copydata2.substring(0, copydata2.length - 1);//鍘婚櫎鏈熬瀛楃']' + table.cache["mainTable"].push(JSON.parse(copyrow));//灏嗗鍒剁殑琛屽己杞垚json杩藉姞鍒拌〃鏍间笂 + option.data = table.cache["mainTable"];//灏嗘暟鎹粦瀹氬埌data涓� + table.render(option);//灏嗘暟鎹覆鏌撳埌琛ㄦ牸涓� + } + } + //琛ㄦ牸琛屽唴浜嬩欢鍒犻櫎 + function set_GridDelete(obj) { + var data = obj.data; + if (obj.event === 'del') { + layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) { + var rowIndex = $(obj.tr).attr("data-index"); + option.data = table.cache["mainTable"];//灏嗘暟鎹粦瀹氬埌data涓� + obj.del(); + option.data.splice(rowIndex, 1);//鍒犻櫎缂撳瓨鐨勮 + table.reload('mainTable', option); + layer.close(index); + + }); + } + } }); - //瀹氫箟鍏ㄥ眬鍙橀噺 - var HReasonName, ReasonID, EmpName, SQProcName, - ProcID, ZRProcName, QRName - ; - function GetHReasonValue(obj) //杩斿洖涓嶈壇鍘熷洜 - { - HReasonName = obj[0].HName; - ReasonID = obj[0].HItemID; - } - //杩斿洖鐗╂枡 - function GetHMaterNameValue(obj) { //杩斿洖鐗╂枡 - $("#HMater").val(obj[0].HName); - $("#HMaterID").val(obj[0].HItemID); - $("#HMaterNumber").val(obj[0].HNumber); - } - //杩斿洖宸ュ簭 - function GetHProcValue(obj) { //杩斿洖宸ュ簭 - $("#HProcName").val(obj[0].宸ュ簭); - $("#HProcID").val(obj[0].HItemID); - $("#HProcNumber").val(obj[0].宸ュ簭浠g爜); - } - function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬 - $("#HDepName").val(obj[0].HName); - $("#HDeptID").val(obj[0].HItemID); - $("#HDeptNumber").val(obj[0].HNumber); - } - //杩斿洖鍗曚綅 - function GetHUnitNameValue(obj) { - $("#HUName").val(obj[0].HName); - $("#HUnitID").val(obj[0].HItemID); - $("#HUnitNumber").val(obj[0].HNumber); - } - function GetHKeeperValue(obj) { //杩斿洖璐d换浜� - EmpName = obj[0].HName; - // $("#HEmpName").val(obj[0].HName); - //$("#HItemID").val(obj[0].HItemID); - } - //function GetHProcValue(obj) { //杩斿洖鐢宠宸ュ簭 - // SQProcName = obj[0].宸ュ簭; - // ProcID = obj[0].HItemID; - // //$("#HSQProcName").val(obj[0].宸ュ簭); - // //$("#HProcID").val(obj[0].HItemID); - //} - function GetHZRValue(obj) { //杩斿洖璐d换宸ュ簭 - ZRProcName = obj[0].宸ュ簭; - //$("#HZRProcName").val(obj[0].宸ュ簭); - //$("#HItemID").val(obj[0].HItemID); - } - //HWorker - function GetHWorkerValue(obj) { //杩斿洖涓嶈壇纭浜� - QRName = obj[0].HName; - //$("#HQRName").val(obj[0].HName); - //$("#HItemID").val(obj[0].HItemID); - } function AllowLoadData(sSubStr) { //闈炵┖楠岃瘉 //if ($("#HSourceBillNo").val() == '') { // layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 }); @@ -2566,6 +529,7 @@ else { return true; } - }</script> + } + </script> </body> </html> \ No newline at end of file diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" index 16ba120..3f5f144 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" @@ -37,7 +37,7 @@ <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> </select> </div> - </div> + </div>--> <div class="layui-inline"> <label class="layui-form-label">鍗曟嵁鍙�</label> <div class="layui-input-block"> @@ -45,34 +45,29 @@ </div> </div> <div class="layui-inline"> - <label class="layui-form-label">鍒跺崟浜�</label> + <label class="layui-form-label">寮�濮嬫椂闂�</label> <div class="layui-input-block"> - <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> </div> - </div>--> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> </button> - <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> - <!--<div class="layui-colla-content"> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button> + <div class="layui-colla-content"> <div class="layui-inline"> <div class="layui-inline"> <span>鍏朵粬鏉′欢></span> </div> </div> - <div class="layui-inline"> - <label class="layui-form-label">寮�濮嬫椂闂�</label> - <div class="layui-input-block"> - <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> - </div> - </div> - <div class="layui-inline"> - <label class="layui-form-label">缁撴潫鏃堕棿</label> - <div class="layui-input-block"> - <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> - </div> - </div> - </div>--> + + </div> </div> </div> <table class="" id="mainTable" lay-filter="mainTable"></table> @@ -174,15 +169,20 @@ //蹇�熻繃婊� function get_FastQuery(table, option) { - //var HNumber = $("#HNumber").val(); - //var HName = $("#HName").val(); - //if (HNumber) { - // sWhere += " and 鑱屽憳浠g爜 like '%" + HNumber + "%'"; - //} - //if (HName) { - // sWhere += " and 鑱屽憳鍚嶇О like '%" + HName + "%'"; - //} - var index = layer.load(0); + + var HDate = $("#BenginHCreateDate").val();//寮�濮嬫棩鏈� + var HDate1 = $("#EndHCreateDate").val();//缁撴潫鏃ユ湡 + var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + if (HDate) { + sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + HDate + "'"; + } + if (HDate1) { + sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + HDate1 + "'"; + } + if (HBillNo) { + sWhere += " and 鍗曟嵁鍙� like '%" + HBillNo + "%'"; + } + get_Display(sWhere); sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 } @@ -239,7 +239,7 @@ } } - var index = layer.load(0); + //鏂板 function set_AddNew() { layer.open({ @@ -250,7 +250,7 @@ shift: 2, area: ['100%', '100%'], maxmin: true, - content: '../妯℃不鍏风鐞�/Sc_Add_MouldMaintainPlanBillList.html', + content: '../妯℃不鍏风鐞�/Sc_Add_MouldMaintainPlanBillList.html?OperationType=1&linterid=&HSouceBillType=&closeType=1', end: function () { //鍒锋柊椤甸潰, location.reload(); @@ -274,7 +274,7 @@ , shade: 0.6 //閬僵閫忔槑搴� , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: '../妯℃不鍏风鐞�/Sc_Add_MouldMaintainPlanBillList.html?hID=' + hID + , content: '../妯℃不鍏风鐞�/Sc_Add_MouldMaintainPlanBillList.html?OperationType=3&linterid=' + hID + '&HSouceBillType=&closeType=1' , resize: false, end: function () { //鍒锋柊椤甸潰, @@ -328,6 +328,7 @@ }; //鍔犺浇缃戞牸 function get_Display(sWhere) { + var ajaxLoad = layer.load(); //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� $.ajax({ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", @@ -338,13 +339,13 @@ if (data1.count == 1) { option.data = data1.data; table.render(option); - layer.close(index); + layer.close(ajaxLoad); } else { - layer.close(index); + layer.close(ajaxLoad); layer.alert(data1.code + data1.Message, { icon: 5 }); } }, error: function () { - layer.close(index); + layer.close(ajaxLoad); layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); } }); diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" index f21431f..7a07f18 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" @@ -380,13 +380,22 @@ $("#HMaker").val(sessionStorage["HUserName"]); } }); + //鎶ュ伐骞冲彴棣栨 if (HSouceBillType == 3722) { //鏍规嵁婧愬崟id鑾峰彇婧愬崟淇℃伅 LoadingInformation2(); - } else if (HSouceBillType == 3790) { + } + //宸ュ簭杩涚珯鎺ユ敹鍗曞垪琛ㄩ妫� + else if (HSouceBillType == 3790) { //鏍规嵁婧愬崟id鑾峰彇婧愬崟淇℃伅 LoadingInformation(); - } else { + } + //宸ュ簭濮斿鎺ユ敹鍗曞垪琛ㄩ妫� + else if (HSouceBillType == 3793) { + //鏍规嵁婧愬崟id鑾峰彇婧愬崟淇℃伅 + LoadingInformation3(); + } + else { layer.alert("婧愬崟绫诲瀷鏃犳晥锛�", { icon: 5 }); } } @@ -467,6 +476,41 @@ }); } + //鏍规嵁婧愬崟id鑾峰彇婧愬崟淇℃伅 + function LoadingInformation3() { + var wait = layer.load(); + $.ajax({ + url: GetWEBURL() + '/Cj_StationEntrustOutBill/list', + type: "GET", + data: { "sWhere": "and HInterID = " + linterid }, + success: function (result) { + var data = result.data[0]; + if (result.count == 1) { + $("#HProcExchBillNo").val(data.娴佽浆鍗″彿); + $("#HProcExchInterID").val(data.HProcExchInterID); + $("#HProcExchEntryID").val(data.HProcExchEntryID); + $("#HProcExchQty").val(data.娴佽浆鍗℃暟閲�); + $("#HICMOBillNo").val(data.鐢熶骇璁㈠崟鍙�); + $("#HICMOInterID").val(data.HICMOInterID); + $("#HICMOQty").val(data.HICMOQty); + $("#HSourceName").val(data.鐢熶骇璧勬簮); + $("#HSourceID").val(data.HSourceID); + $("#HMaterID").val(data.HMaterID); + $("#HMainSourceBillNo").val(data.鍗曟嵁鍙�); + $("#HMainSourceBillType").val(data.HBillType); + $("#HMainSourceInterID").val(data.HInterID); + $("#HICMOEntryID").val(data.HICMOEntryID); + } else { + layer.alert(result.Message, { icon: 5 }); + } + layer.close(wait); + }, error: function () { + layer.close(wait); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + } + //澶村伐鍏锋爮浜嬩欢 table.on('toolbar(mainTable)', function (obj) { var checkStatus = table.checkStatus('mainTable') diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillList.html" index 6567385..2e7d211 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillList.html" @@ -270,6 +270,7 @@ ///鍔犺浇鏄剧ず鏁版嵁 function RoadHBillNo(sqlWhere) { where = sqlWhere; + var index0 = layer.load(); $.ajax({ type: "get", url: GetWEBURL() +"/QC_Management/MES_QC_FirstPieceCheckBillList_Json", diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBill.html" index 2f88609..41222bb 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBill.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBill.html" @@ -683,8 +683,12 @@ if (data.count == 1) { layer.close(index); layer.msg("鎻愪氦鎴愬姛"); - //淇濆瓨鍚庢祻瑙� - ReRoadBillMain(); + if (result.Verify == "Y") { + location.replace('Cj_StationEntrustInBill.html?OperationType=1&linterid=0&HSouceBillType=&HBillNo=&closeType=2'); + } else { + //淇濆瓨鍚庢祻瑙� + ReRoadBillMain(); + } } else { layer.close(index); diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBill.html" index 4818737..d699cf2 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBill.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBill.html" @@ -863,8 +863,12 @@ if (data.count == 1) { layer.close(index); layer.msg("鎻愪氦鎴愬姛"); - //淇濆瓨鍚庢祻瑙� - ReRoadBillMain(); + if (result.Verify == "Y") { + location.replace('Cj_StationEntrustOutBill.html?OperationType=1&linterid=0&HSouceBillType=&HBillNo=&closeType=2'); + } else { + //淇濆瓨鍚庢祻瑙� + ReRoadBillMain(); + } } else { layer.close(index); diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBillList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBillList.html" index 5434869..bcdc582 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBillList.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBillList.html" @@ -78,6 +78,7 @@ <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Delete" id="btn-Delete"><i class="layui-icon layui-icon-delete"></i>鍒犻櫎</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Audit" id="btn-Audit"><i class="layui-icon layui-icon-radio"></i>瀹℃牳</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-DeAudit" id="btn-DeAudit"><i class="layui-icon layui-icon-circle"></i>鍙嶅鏍�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-FirstPieceCheck" id="btn-FirstPieceCheck">棣栨</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Exit" id="btn-Exit">閫�鍑�</button> </div> </script> @@ -262,14 +263,8 @@ //鍙嶅鏍� case 'btn-DeAudit': set_AbandonCheck(); break; - //棰勮 - case 'btn-Cell': layer.msg('棰勮锛�'); - break; - //淇濆瓨鍒楀 - case 'btn-Cell': layer.msg('淇濆瓨鍒楀锛�'); - break; - //榛樿鍒楀 - case 'btn-RefreshCell': layer.msg('榛樿鍒楀锛�'); + //棣栨 + case 'btn-FirstPieceCheck': set_FirstPieceCheck(); break; //閫�鍑� case 'btn-Exit': get_Exit(); @@ -277,6 +272,33 @@ }; }); + //棣栨 + function set_FirstPieceCheck() { + var checkStatus = table.checkStatus('mainTable') + , data = checkStatus.data; + if (checkStatus.data.length === 1) { + var linterid = data[0].HInterID.toString(); + layer.open({ + type: 2 + , area: ['100%', '100%'] + , title: '棣栦欢妫�楠屽崟-缂栬緫' + , shade: 0.6 + , maxmin: false + , anim: 0 + , content: ['../../璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=2&linterid=' + linterid + '&HSouceBillType=3793&HICMOEntryID=0', 'yes'] + , resize: false + , cancel: function () { + btnIs(); + } + , end: function () { + get_FastQuery(table, option); + } + }) + } else { + layer.msg('璇烽�夋嫨涓�琛屾暟鎹紪杈戯紒'); + } + } + //瀹℃牳 function set_CheckBill() { var checkStatus = table.checkStatus('mainTable') diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html" index 07dec9d..25775cf 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\345\207\272\347\253\231\346\261\207\346\212\245\345\215\225/Cj_StationOutBill.html" @@ -797,8 +797,12 @@ if (data.count == 1) { layer.close(index); layer.msg("鎻愪氦鎴愬姛"); - //淇濆瓨鍚庢祻瑙� - ReRoadBillMain(); + if (result.Verify == "Y") { + location.replace('Cj_StationOutBill.html?OperationType=1&linterid=0&HSouceBillType=&HBillNo=&closeType=2'); + } else { + //淇濆瓨鍚庢祻瑙� + ReRoadBillMain(); + } } else { layer.close(index); diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html" index e21029a..be018b5 100644 --- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html" +++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html" @@ -493,8 +493,12 @@ if (result.count == 1) { layer.close(index); layer.msg("鎻愪氦鎴愬姛"); - //淇濆瓨鍚庢祻瑙� - ReRoadBillMain(); + if (result.Verify == "Y") { + location.replace('Cj_StationInBill.html?OperationType=1&linterid=0&HSouceBillType=&HBillNo=&closeType=2'); + } else { + //淇濆瓨鍚庢祻瑙� + ReRoadBillMain(); + } } else { layer.close(index); -- Gitblit v1.9.1