Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI
| | |
| | | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <_PublishTargetUrl>D:\ç½ç«åå¸\æºäºMESWMS\LAYUI</_PublishTargetUrl> |
| | | <History>True|2021-09-08T01:08:53.8744747Z;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-08T06:44:54.9146584Z;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"> |
| | |
| | | <publishTime>06/10/2021 11:10:38</publishTime> |
| | | </File> |
| | | <File Include="bin/WebTM.dll"> |
| | | <publishTime>09/08/2021 09:08:52</publishTime> |
| | | <publishTime>09/08/2021 18:23:56</publishTime> |
| | | </File> |
| | | <File Include="bin/WebTM.pdb"> |
| | | <publishTime>09/08/2021 09:08:52</publishTime> |
| | | <publishTime>09/08/2021 18:23:56</publishTime> |
| | | </File> |
| | | <File Include="layuiadmin/config.js"> |
| | | <publishTime>06/10/2021 11:10:38</publishTime> |
| | |
| | | <publishTime>07/17/2021 23:58:57</publishTime> |
| | | </File> |
| | | <File Include="views/IpadIndex.html"> |
| | | <publishTime>09/08/2021 08:34:08</publishTime> |
| | | <publishTime>09/08/2021 09:14:54</publishTime> |
| | | </File> |
| | | <File Include="views/PublicPage/AreaInformation.html"> |
| | | <publishTime>08/27/2021 14:42:06</publishTime> |
| | |
| | | <publishTime>06/10/2021 11:10:39</publishTime> |
| | | </File> |
| | | <File Include="views/模治å
·ç®¡ç/模治å
·ç¹æ£ä¿å
»/Sc_MouldDotCheckBill_PDA.html"> |
| | | <publishTime>08/24/2021 09:56:30</publishTime> |
| | | <publishTime>09/08/2021 13:21:37</publishTime> |
| | | </File> |
| | | <File Include="views/模治å
·ç®¡ç/模治å
·ç¹æ£ä¿å
»/Sc_MouldMaintainBill_PDA.html"> |
| | | <publishTime>06/29/2021 11:08:32</publishTime> |
| | |
| | | <publishTime>06/10/2021 11:10:39</publishTime> |
| | | </File> |
| | | <File Include="views/ç产管ç/䏿é²éå/Sc_Add_MaterToSourceBillList.html"> |
| | | <publishTime>09/06/2021 18:56:21</publishTime> |
| | | <publishTime>09/08/2021 18:23:45</publishTime> |
| | | </File> |
| | | <File Include="views/ç产管ç/äº§éæ±æ¥å/Sc_Add_ProductReportBillList.html"> |
| | | <publishTime>09/07/2021 15:58:33</publishTime> |
| | |
| | | <publishTime>06/10/2021 11:10:39</publishTime> |
| | | </File> |
| | | <File Include="views/ç产管ç/çäº§ä¸æå/Sc_MaterToSourceBillList.html"> |
| | | <publishTime>06/10/2021 11:10:39</publishTime> |
| | | <publishTime>09/08/2021 17:57:17</publishTime> |
| | | </File> |
| | | <File Include="views/ç产管ç/ç产任å¡å/Sc_ICMOBillList.html"> |
| | | <publishTime>09/08/2021 08:34:08</publishTime> |
| | |
| | | <publishTime>06/10/2021 11:10:39</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>09/08/2021 09:08:44</publishTime> |
| | | <publishTime>09/08/2021 18:24:04</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | <Content Include="views\è´¨é管ç\æ¥ææ£éªå\QC_POStockInCheckBillList.html" /> |
| | | <Content Include="views\è´¨é管ç\æ£éªæ¹æ¡å\QC_Add_CheckProject.html" /> |
| | | <Content Include="views\è´¨é管ç\æ£éªæ¹æ¡å\QC_CheckProjectList.html" /> |
| | | <Content Include="views\è´¨é管ç\é¦ä»¶æ£éªå\QC_Add_Edit_FirstPieceCheckBill-X.html" /> |
| | | <Content Include="views\è´¨é管ç\é¦ä»¶æ£éªå\QC_FirstPieceCheckBillList.html" /> |
| | | <Content Include="views\è´¨é管ç\é¦ä»¶æ£éªå\QC_Add_Edit_FirstPieceCheckBill.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å§å¤å·¥åºååºå\Cj_StationEntrustInBill_PDA.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å§å¤å·¥åºæ¥æ¶å\Cj_StationEntrustOutBill_PDA.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å·¥åºåºç«æ±æ¥å\Cj_StationOutBill.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å·¥åºåºç«æ±æ¥å\Sc_StationOutBill_Mul.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å·¥åºåºç«æ±æ¥å\Cj_StationOutBillList.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å·¥åºæµè½¬å¡\Sc_ProcessExchangeBill.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å·¥åºè¿ç«æ¥æ¶å\Cj_StationInBill.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å·¥åºè¿ç«æ¥æ¶å\Cj_StationInBillList.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å·¥åºè¿ç«æ¥æ¶å\Sc_StationInBill_Mul.html" /> |
| | | <Content Include="views\éªæ¶å
¥åº\产åå
¥åº\Kf_ProductInBillList.html" /> |
| | | <Content Include="views\éªæ¶å
¥åº\å
¶ä»å
¥åº\Kf_OtherInBillList.html" /> |
| | | <Content Include="views\模治å
·ç®¡ç\模治å
·ç®¡ç\Kf_ProductInBillList.html" /> |
| | |
| | | //var WEBURL = "http://10.1.4.155/API/"; //æ±ä¸°å®¢æ·NEW |
| | | //var WEBURL = "http://47.96.97.237/API/"; //æºäºæå¡å¨ |
| | | //var WEBURL = "http://183.129.128.86:9090/API/"; //å¯è´å¥ç¹å®¢æ·æå¡å¨ |
| | | //var WEBURL = "http://localhost/API/"; |
| | | var WEBURL = "http://localhost/API/"; |
| | | return WEBURL |
| | | } |
| | | |
| | |
| | | </ul> |
| | | <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right"> |
| | | |
| | | <li class="layui-nav-item" lay-unselect > |
| | | <li class="layui-nav-item" lay-unselect> |
| | | <a href="javascript:void(0);"> |
| | | <!--<a lay-href="app/message/index.html" layadmin-event="message" lay-text="æ¶æ¯ä¸å¿">--> |
| | | <!--<a lay-href="app/message/index.html" layadmin-event="message" lay-text="æ¶æ¯ä¸å¿">--> |
| | | <i class="layui-icon layui-icon-notice"></i> |
| | | |
| | | <!--å¦æææ°æ¶æ¯ï¼åæ¾ç¤ºå°åç¹--> |
| | |
| | | <dd><a lay-href="">ç©ææ¸
åç»´æ¤n</a></dd> |
| | | </dl> |
| | | </dd> |
| | | <dd> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBillList.html">å·¥èºè·¯çº¿ç»´æ¤</a></dd> |
| | | <!--<dd> |
| | | <a>å·¥èºè·¯çº¿</a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBill.html">å·¥èºè·¯çº¿</a></dd> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBillList.html">å·¥èºè·¯çº¿ç»´æ¤</a></dd> |
| | | </dl> |
| | | </dd> |
| | | </dd>--> |
| | | </dl> |
| | | </li> |
| | | <!-- ç产管ç --> |
| | |
| | | <dd><a lay-href="ç产管ç/çäº§æ±æ¥å/Sc_ICMOReportBillList.html">çäº§æ±æ¥åç»´æ¤</a></dd> |
| | | <dd><a lay-href="">äº§éæ±æ¥ånull</a></dd> |
| | | <dd><a lay-href="ç产管ç/äº§éæ±æ¥å/Sc_ProductReportBillList_Web.html">äº§éæ±æ¥åç»´æ¤</a></dd> |
| | | <dd><a lay-href="">è´¨éæ±æ¥ånull</a></dd> |
| | | <dd><a lay-href="">è´¨éæ±æ¥åç»´æ¤null</a></dd> |
| | | <dd><a lay-href="ç产管ç/è´¨éæ±æ¥å/Sc_QualityReportBill.html">è´¨éæ±æ¥å</a></dd> |
| | | <dd><a lay-href="ç产管ç/è´¨éæ±æ¥å/Sc_QualityReportBillList.html">è´¨éæ±æ¥åç»´æ¤</a></dd> |
| | | </dl> |
| | | </dd> |
| | | <dd> |
| | |
| | | <dd><a lay-href="车é´ç®¡ç/å·¥åºæµè½¬å¡/Sc_ProcessExchangeBillList.html">å·¥åºæµè½¬å¡ç»´æ¤</a></dd> |
| | | <dd><a lay-href="">å·¥åºå§å¤å·¥ån</a></dd> |
| | | <dd><a lay-href="">å·¥åºå§å¤å·¥åç»´æ¤n</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å·¥åºè¿ç«æ¥æ¶å/Cj_StationInBill.html" target="main_self_frame">å·¥åºè¿ç«æ¥æ¶å</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å·¥åºè¿ç«æ¥æ¶å/Cj_StationInBill.html">å·¥åºè¿ç«æ¥æ¶å</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å·¥åºè¿ç«æ¥æ¶å/Sc_StationInBill_Mul.html">å·¥åºè¿ç«æ¥æ¶åæ¹é</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å·¥åºè¿ç«æ¥æ¶å/Cj_StationInBillList.html">å·¥åºè¿ç«æ¥æ¶åç»´æ¤</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å·¥åºåºç«æ±æ¥å/Cj_StationOutBill.html">å·¥åºåºç«æ±æ¥å</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å·¥åºåºç«æ±æ¥å/Sc_StationOutBill_Mul.html">å·¥åºåºç«æ±æ¥åæ¹é</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å·¥åºåºç«æ±æ¥å/Cj_StationOutBillList.html">å·¥åºåºç«æ±æ¥åç»´æ¤</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å§å¤å·¥åºååºå/Cj_StationEntrustInBill.html">å·¥åºå§å¤ååºå</a></dd> |
| | | <dd><a lay-href="车é´ç®¡ç/å§å¤å·¥åºååºå/Cj_StationEntrustInBillList.html">å·¥åºå§å¤ååºåç»´æ¤</a></dd> |
| | |
| | | })(); |
| | | </script>--> |
| | | </body> |
| | | </html> |
| | | |
| | | |
| | | </html> |
| | |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Sc_MouldScrapInHouseBill/SaveGetMoudlCheckBillList_PDA", |
| | | url: GetWEBURL() + "/Sc_MouldScrapInHouseBill/SaveGetMoudlCheckBillList_PDA",//Mj_PDA_MoudlCheckBill/SaveGetMoudlCheckBillList |
| | | //url:"http://localhost:12761/Cj_StationEntrustOutBill/AddBill", |
| | | async: true, |
| | | data: { "msg": oMain }, |
| | |
| | | <form id="form0" class="layui-form" lay-filter="component-form-group" action=""> |
| | | <div class="layui-card-header"> |
| | | <div class="layui-btn-group"> |
| | | <button type="button" id="Add" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Add">æ°å¢</button> |
| | | <button type="button" id="Saver" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver">ä¿å</button> |
| | | <button type="button" id="VerIfySaver" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="VerIfySaver">å®¡æ ¸</button> |
| | | <button type="button" id="ReVerIfySaver" class="layui-btn layui-btn-normal layui-btn-circle" lay-submit="" lay-filter="ReVerIfySaver">åå®¡æ ¸</button> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æä½å:</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HEmpName" id="HEmpName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HEmpList" id="HEmpList" style="width:40px;"> |
| | | <input type="text" name="HWorkerName" id="HWorkerName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HWorkerID" id="HWorkerID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HWorkerList" id="HEmpList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | |
| | | var option2; |
| | | //#endregion |
| | | |
| | | |
| | | //åå§å表åæä»¶ |
| | | set_InitFrom(); |
| | | |
| | |
| | | |
| | | } |
| | | |
| | | //åå§åä¿å
»é¡¹å表 |
| | | //åå§åé
æå表 |
| | | function Table1() { |
| | | //表头 |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | | , { field: 'HBarCode', title: 'æ«ææ¡ç ', edit: 'text', hide: true } |
| | | , { field: 'HMaterID', title: 'ç©æID', edit: 'text', hide: true } |
| | | , { field: 'HNumber', title: 'ç©æä»£ç ', edit: 'text' } |
| | | , { field: 'HName', title: 'ç©æåç§°', edit: 'text' } |
| | | , { field: 'HModel', title: 'è§æ ¼åå·', edit: 'text' } |
| | | , { field: 'HUnitID', title: 'åä½ID', edit: 'text', hide: true } |
| | | , { field: 'HUnitName', title: 'åä½', edit: 'text' } |
| | | , { field: 'HModel', title: 'è§æ ¼åå·', edit: 'text' } |
| | | , { field: 'HMQty', title: 'é
ææ°é', edit: 'text' } |
| | | , { field: 'HQty', title: 'å®é
æ°é', edit: 'text' } |
| | | ]; |
| | |
| | | function set_AddFNew() |
| | | { |
| | | //å æºåç±»ååºå(å¯ä»¥åä¸åçæ¹æ³) |
| | | |
| | | |
| | | } |
| | | |
| | | //ææºåæ°å¢ |
| | |
| | | form.render('select'); |
| | | $('#HICMOBillNo').attr("disabled", true); |
| | | |
| | | set_EditForm(linterid); //ç¼è¾è·å表头 |
| | | set_EditGrid(linterid); //ç¼è¾è·åè¡¨ä½ |
| | | |
| | | } |
| | | |
| | | //ç¼è¾è·å表头 |
| | | function set_EditForm(linterid) { |
| | | //æ¥è¯¢æ£éªæ¹æ¡åæ¯å¦åå¨ |
| | | $.ajax({ |
| | | url: GetWEBURL() + "Sc_MESBeginWorkBill/Sc_MESBeginWorkBillListCheckDetai", |
| | | url: GetWEBURL() + "Sc_MouldMaintainBill/Sc_MouldMaintainBillListCheckDetai", |
| | | type: "GET", |
| | | data: { |
| | | "HID": linterid |
| | | }, |
| | | success: function (result) { |
| | | |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_MESBeginWorkBillList_NEW[0]; |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HInterID": data.hmainid |
| | | , "HBillNo": data.åæ®å· |
| | | var data = result.data.h_v_Sc_MouldMaintain[0]; |
| | | form.val("component-form-group", { |
| | | "HBillNo": data.åæ®å· |
| | | , "HDate": formatDate(data.æ¥æ) |
| | | , "HProcID": data.HProcID |
| | | , "HProcName": data.å·¥åºåç§° |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterCode": data.产å代ç |
| | | , "HMaterName": data.产ååç§° |
| | | , "HMaterSpec": data.è§æ ¼åå· |
| | | , "HBeginDate": data.å¼å·¥æ¶é´ |
| | | , "HSourceID": data.HSourceID //èµæºID |
| | | , "HSourceName": data.èµæºåç§° //èµæºåç§° |
| | | , "HEmpID": data.HEmpID //æä½åID |
| | | , "HEmpName": data.ç³è¯·å¼å·¥äººå //æä½å |
| | | , "HMainSourceInterID": data.HMainSourceInterID //æºåID |
| | | , "HMainSourceEntryID": data.HMainSourceEntryID //æºååID |
| | | , "HMainSourceBillNo": data.HMainSourceBillNo //æºååå· |
| | | , "HMainSourceBillType": data.HMainSourceBillType //æºåç±»å |
| | | , "HGroupID": data.HGroupID //çç»ID |
| | | , "HGroupName": data.çç»åç§° //çç»åç§° |
| | | |
| | | , "HICMOInterID": data.HICMOInterID //ç产订å主ID |
| | | , "HICMOEntryID": data.HICMOEntryID //ç产订ååID |
| | | , "HICMOBillNo": data.HICMOBillNo //ç产订å |
| | | , "HRemark": data.夿³¨ //夿³¨ |
| | | , "HMaker": data.å¶å人 //å¶å人 |
| | | , "HMakeDate": data.å¶åæ¥æ //å¶åæ¥æ |
| | | , "HUpDater": sessionStorage["HUserName"] //ä¿®æ¹äºº |
| | | , "HUpDateDate": Format(new Date(), "yyyy-MM-dd hh:mm:ss")//ä¿®æ¹æ¥æ |
| | | , "HChecker": data.å®¡æ ¸äºº //å®¡æ ¸äºº |
| | | , "HCheckDate": data.å®¡æ ¸æ¥æ //å®¡æ ¸æ¥æ |
| | | , "HCloseMan": data.å
³é人 //å
³é人 |
| | | , "HCloseDate": data.å
³éæ¥æ //å
³éæ¥æ |
| | | , "HDeleteMan": data.ä½åºäºº //ä½åºäºº |
| | | , "HDeleteDate": data.ä½åºæ¥æ //ä½åºæ¥æ |
| | | , "HInnerBillNo": data.å
é¨åæ®å· |
| | | , "HBeginDate": formatDate(data.ä¿å
»å¼å§æ¥æ) |
| | | , "HEndDate": formatDate(data.ä¿å
»ç»ææ¥æ) |
| | | , "HExplanation": data.æè¦ |
| | | , "HRemark": data.夿³¨ |
| | | , "HPlanNo": data.ä¿å
»è®¡åç¼å· |
| | | , "HPlanInterID": data.ä¿å
»è®¡åå
ç |
| | | , "HMouldID": data.HMouldID |
| | | , "HMouldName": data.äº§åæ¨¡å
· |
| | | |
| | | }); |
| | | |
| | |
| | | }); |
| | | } |
| | | |
| | | // ç¼è¾è·åè¡¨å¤´æ¶æ¶é´æ ¼å¼ç«æ£æ¹å¼ |
| | | function formatDate(date) { |
| | | var d = new Date(date), |
| | | month = '' + (d.getMonth() + 1), |
| | | day = '' + d.getDate(), |
| | | year = d.getFullYear(); |
| | | |
| | | if (month.length < 2) month = '0' + month; |
| | | if (day.length < 2) day = '0' + day; |
| | | |
| | | return [year, month, day].join('-'); |
| | | } |
| | | |
| | | // ç¼è¾è·åè¡¨ä½ |
| | | function set_EditGrid(linterid) { |
| | | $("#HInterID").val(linterid);//ä¿®æ¹æ¶ä¸»è¡¨ID |
| | | //ç¼è¾å è½½æ°æ® |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'Sc_MouldMaintainBill/Sc_MouldMaintainBillListProjectDetaiNew', |
| | | type: "GET", |
| | | data: { "HInterID": linterid }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | option.data = result.list[0]; |
| | | table.render(option); |
| | | option2.data = result.list[1]; |
| | | table.render(option2); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index0); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | //ææºåæ°å¢ |
| | | function set_SourceAdd() { |
| | |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | //æ°å¢ä¿å |
| | | form.on('submit(Add)', function (data) { |
| | | refSav = "Add"; |
| | | //åå§åºæ¬ä¿¡æ¯èµå¼ |
| | | $("#form0")[0].reset(); |
| | | layui.form.render(); |
| | | get_MAXNum(); |
| | | $("#HDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); //åæ®æ¥æ |
| | | $("#HWorkReportDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); //æ¥å·¥æ¥æ |
| | | $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); //å¶åæ¥æ |
| | | $("#HMaker").val(sessionStorage["HUserName"]); //å¶å人 |
| | | }); |
| | | |
| | | //ä¿åæäº¤ |
| | | form.on('submit(Saver)', function (data) { |
| | |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | | $("#HInterID").val(data.HInterID);//è·åæäº¤æåè¿åç忮䏻ID |
| | | layer.confirm(data.Message, { |
| | | layer.confirm(data.Message, {icon: 1, |
| | | btn: ['确认'] |
| | | }, function (index) { |
| | | if (data.Verify == "Y") //èªå¨å®¡æ ¸ |
| | |
| | | } |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Sc_MESBeginWorkBill/AuditProcessReportList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | url: GetWEBURL() + "/Sc_MaterToSourceBill/AuditProcessReportList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "HInterID": InterID, "IsAudit": 0, "CurUserName": sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 2000, icon: 1 }, function () { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | | layer.msg(data.Message, { time: 1 * 2000, icon: 1 }, function (index) { |
| | | //layer.close(layer.index); |
| | | //window.parent.location.reload(); |
| | | }); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | else { |
| | | layer.alert(data.Message, { icon: 5 }) |
| | | } |
| | | }, |
| | | error: function (err) { |
| | |
| | | } |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Sc_MESBeginWorkBill/AuditProcessReportList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | url: GetWEBURL() + "/Sc_MaterToSourceBill/AuditProcessReportList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "HInterID": InterID, "IsAudit": 1, "CurUserName": sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 2000, icon: 1 }, function () { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | | layer.msg(data.Message, { time: 1 * 2000, icon: 1 }, function (index) { |
| | | //layer.close(layer.index); |
| | | //window.parent.location.reload(); |
| | | }); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | else { |
| | | layer.alert(data.Message, { icon: 5 }) |
| | | } |
| | | }, |
| | | error: function (err) { |
| | |
| | | tableBak = table.cache.mainTable; |
| | | console.log(tableBak.length); |
| | | //è·åç©ææ¡ç ä¿¡æ¯ |
| | | var NewRow = { "HMaterID": result.data[0].HMaterID, "HNumber": result.data[0].HNumber, "HName": result.data[0].HName, "HModel": result.data[0].HModel, "HUnitID": result.data[0].HUnitID, "HUnitName": result.data[0].HUnitName, "HMQty": result.data[0].HMQty, "HQty": result.data[0].HQty }; |
| | | var NewRow = { "HBarCode": result.data[0].HBarCode, "HMaterID": result.data[0].HMaterID, "HNumber": result.data[0].HNumber, "HName": result.data[0].HName, "HModel": result.data[0].HModel, "HUnitID": result.data[0].HUnitID, "HUnitName": result.data[0].HUnitName, "HMQty": result.data[0].HMQty, "HQty": result.data[0].HQty }; |
| | | if (tableBak.length <= 0) { |
| | | table.cache["mainTable"].push(NewRow); |
| | | option.data = table.cache["mainTable"]; |
| | |
| | | console.log(tableBak[i].HMaterID, result.data[0].HMaterID); |
| | | if (tableBak[i].HMaterID == result.data[0].HMaterID) { |
| | | layer.msg("å·²æ«æ,请å¿é夿«ç ï¼", { icon: 0, time: 2000 }); |
| | | } |
| | | else { |
| | | table.cache["mainTable"].push(NewRow); |
| | | option.data = table.cache["mainTable"]; |
| | | table.render(option); |
| | | return; |
| | | } |
| | | } |
| | | table.cache["mainTable"].push(NewRow); |
| | | option.data = table.cache["mainTable"]; |
| | | table.render(option); |
| | | } |
| | | } |
| | | } |
| | |
| | | }); |
| | | |
| | | //æä½å |
| | | form.on('submit(HEmpList)', function () { |
| | | form.on('submit(HWorkerList)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HEmpName").val(checkStatus.data[0].HName); |
| | | $("#HEmpID").val(checkStatus.data[0].HItemID); |
| | | $("#HWorkerName").val(checkStatus.data[0].HName); |
| | | $("#HWorkerID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | |
| | | layer.msg("çäº§èµæºä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | if ($("#HEmpID").val() == '' || $("#HEmpID").val() == null) { |
| | | if ($("#HWorkerID").val() == '' || $("#HWorkerID").val() == null) { |
| | | layer.msg("æä½åä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm layui-btn-disabled" lay-event="btn-Print"><i class="layui-icon layui-icon-print"></i>é¢è§</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Add" id="btn-Add"><i class="layui-icon layui-icon-add-1"></i>æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Edit"><i class="layui-icon layui-icon-edit"></i>ç¼è¾</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Delete"><i class="layui-icon layui-icon-delete"></i>å é¤</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="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="get_Exit"><i class="layui-icon layui-icon-logout"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script> |
| | |
| | | <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 src="../../../layuiadmin/PubCustom.js"></script> |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script> |
| | | //è·å页é¢è·³è½¬åæ° //åæ®ç¼è¾ç¶æï¼ 1.æ æºåæ°å¢Â  2.ææºåæ°å¢Â  3.ç¼è¾Â 4.æµè§Â 5.åæ´ |
| | | var params = get_UrlVars(); |
| | | if (typeof (params[params[0]]) == "undefined") { |
| | | var OperationType = 1;//æä½ç±»å |
| | | } |
| | | |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'table', 'element', 'laypage','laydate'], function () { |
| | | }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () { |
| | | |
| | | //#region å
Œ
±åé |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , form = layui.form |
| | | , element = layui.element |
| | | , laypage = layui.laypage |
| | | , laydate = layui.laydate |
| | | //var sWhere = " 产å代ç = 'BX0002'"; |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , form = layui.form |
| | | , element = layui.element |
| | | , laypage = layui.laypage |
| | | , laydate = layui.laydate |
| | | //æ¥è¯¢æ¡ä»¶ |
| | | var sWhere = ""; |
| | | var option = []; |
| | | //#endregion |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cols: [[ |
| | | { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ' } |
| | | , { field: 'åæ®å·', title: 'åæ®å·' } |
| | | , { field: 'HBillType', title: 'HBillType', hide: true } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·' } |
| | | , { field: 'ä»»å¡åå·', title: 'ä»»å¡åå·' } |
| | | , { field: 'HSourceID', title: 'HSourceID', hide: true } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ' } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº' } |
| | | , { field: 'çäº§èµæºæ¡ç ', title: 'çäº§èµæºæ¡ç ' } |
| | | , { field: 'HEquipID', title: 'HEquipID', hide: true } |
| | | , { field: 'ç产设å¤ä»£ç ', title: 'ç产设å¤ä»£ç ' } |
| | | , { field: 'ç产设å¤', title: 'ç产设å¤' } |
| | | , { field: 'HWorkerID', title: 'HWorkerID', hide: true } |
| | | , { field: 'æä½å·¥ä»£ç ', title: 'æä½å·¥ä»£ç ' } |
| | | , { field: 'æä½å·¥', title: 'æä½å·¥' } |
| | | , { field: 'æä½å·¥æ¡ç ', title: 'æä½å·¥æ¡ç ' } |
| | | , { field: 'HGroupID', title: 'HGroupID', hide: true } |
| | | , { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ' } |
| | | , { field: 'ç产çç»', title: 'ç产çç»' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true } |
| | | , { field: 'HMaterID', title: 'HMaterID', hide: true } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ' } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°' } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·' } |
| | | , { field: 'HUnitID', title: 'HUnitID', hide: true } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ' } |
| | | , { field: '计éåä½åç§°', title: '计éåä½åç§°' } |
| | | , { field: 'æ°é', title: 'æ°é' } |
| | | , { field: 'ä»¶é', title: 'ä»¶é' } |
| | | , { field: 'æ«ææ¶é´', title: 'æ«ææ¶é´' } |
| | | , { field: 'æ¡å½¢ç ', title: 'æ¡å½¢ç ' } |
| | | , { field: 'ç®±å·æ¡ç ', title: 'ç®±å·æ¡ç ' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: '表ä½å¤æ³¨', title: '表ä½å¤æ³¨' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ' } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | ]] |
| | | }; |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | | //夿æä½ç±»å |
| | | if (OperationType == 1) {//æ æºå |
| | | //æ¥å·¥å¹³å°æ¥æ£ç³è¯·æ¥çå表 |
| | | set_ClearBill(); |
| | | } |
| | | |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | var index0 = layer.load(0, { shade: false }); |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Sc_MaterToSourceBill/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(index0); |
| | | } else { |
| | | layer.close(index0); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index0); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | else { |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | | //#endregion |
| | | |
| | | //éç½®æé® |
| | | form.on('submit(btnReSearch)', function (data) { |
| | | $("#HDate").val("");//å¼å§æ¥æ |
| | | $("#HDate1").val("");//ç»ææ¥æ |
| | | $("#WorkCenter").val("");//åæ®å· |
| | | $("#btnSearch").click(); |
| | | |
| | | //#region 触åäºä»¶ï¼å
æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç |
| | | |
| | | //头工å
·æ äºä»¶ |
| | | table.on('toolbar(mainTable)', function (obj) { |
| | | var checkStatus = table.checkStatus(obj.config.id); |
| | | switch (obj.event) { |
| | | //æå°é¢è§ |
| | | case 'btn-Print': //set_Print(); |
| | | break; |
| | | //æ°å¢ |
| | | case 'btn-Add': set_AddNew(); |
| | | break; |
| | | //ç¼è¾ |
| | | case 'btn-Edit': set_ShowBill(); |
| | | break; |
| | | //å é¤ |
| | | case 'btn-Delete': set_DeleteBill(); |
| | | break; |
| | | //å·æ° |
| | | case 'get_Refresh': set_Refresh(); |
| | | break; |
| | | //å®¡æ ¸æé® |
| | | case 'btn-Audit': set_CheckBill(); |
| | | break; |
| | | //åå®¡æ ¸æé® |
| | | case 'btn-DeAudit': set_DeCheckBill(); |
| | | break; |
| | | //éåº |
| | | case 'get_Exit': Pub_Close(2); |
| | | break; |
| | | }; |
| | | }); |
| | | |
| | | //æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) { |
| | | form.on('submit(btnSearch)', function (data) {//éæ©ä»ä½ |
| | | get_FastQuery(); |
| | | }); |
| | | |
| | | //éç½®æé® |
| | | form.on('submit(btnReSearch)', function (data) { |
| | | $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HDate1").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#WorkCenter").val("");//åæ®å· |
| | | $("#btnSearch").click(); |
| | | }); |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | |
| | | // åå§åçé¢ |
| | | function set_ClearBill() { |
| | | //åå§åè¡¨æ ¼ |
| | | set_InitGrid(); |
| | | //æ¥è¯¢ |
| | | get_Display(); |
| | | |
| | | } |
| | | |
| | | |
| | | //åå§åè¡¨æ ¼ |
| | | function set_InitGrid() { |
| | | $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HDate1").val(Format(new Date(), "yyyy-MM-dd")); |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 120 |
| | | , cols: [[ |
| | | { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd')}}</div>" } |
| | | , { field: 'åæ®å·', title: 'åæ®å·' } |
| | | , { field: 'HBillType', title: 'HBillType', hide: true } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·' } |
| | | , { field: 'ä»»å¡åå·', title: 'ä»»å¡åå·' } |
| | | , { field: 'HSourceID', title: 'HSourceID', hide: true } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ' } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº' } |
| | | , { field: 'HEquipID', title: 'HEquipID', hide: true } |
| | | , { field: 'ç产设å¤ä»£ç ', title: 'ç产设å¤ä»£ç ' } |
| | | , { field: 'ç产设å¤', title: 'ç产设å¤' } |
| | | , { field: 'HWorkerID', title: 'HWorkerID', hide: true } |
| | | , { field: 'æä½å·¥ä»£ç ', title: 'æä½å·¥ä»£ç ' } |
| | | , { field: 'æä½å·¥', title: 'æä½å·¥' } |
| | | , { field: 'æä½å·¥æ¡ç ', title: 'æä½å·¥æ¡ç ' } |
| | | , { field: 'HGroupID', title: 'HGroupID', hide: true } |
| | | , { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ' } |
| | | , { field: 'ç产çç»', title: 'ç产çç»' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true } |
| | | , { field: 'HMaterID', title: 'HMaterID', hide: true } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ' } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°' } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·' } |
| | | , { field: 'HUnitID', title: 'HUnitID', hide: true } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ' } |
| | | , { field: '计éåä½åç§°', title: '计éåä½åç§°' } |
| | | , { field: 'æ°é', title: 'æ°é' } |
| | | , { field: 'ä»¶é', title: 'ä»¶é' } |
| | | , { field: 'æ«ææ¶é´', title: 'æ«ææ¶é´', templet: "<div>{{d.æ¥æ ==null ?'':layui.util.toDateString(d.æ¥æ, 'yyyy-MM-dd HH:mm:ss')}}</div>" } |
| | | , { field: 'æ¡å½¢ç ', title: 'æ¡å½¢ç ' } |
| | | , { field: 'ç®±å·æ¡ç ', title: 'ç®±å·æ¡ç ' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: '表ä½å¤æ³¨', title: '表ä½å¤æ³¨' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', templet: "<div>{{d.å¶åæ¥æ ==null ?'':layui.util.toDateString(d.å¶åæ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', templet: "<div>{{d.å®¡æ ¸æ¥æ ==null ?'':layui.util.toDateString(d.å®¡æ ¸æ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', templet: "<div>{{d.ä¿®æ¹æ¥æ ==null ?'':layui.util.toDateString(d.ä¿®æ¹æ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'å
³é人', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', templet: "<div>{{d.å
³éæ¥æ ==null ?'':layui.util.toDateString(d.å
³éæ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ', templet: "<div>{{d.ä½åºæ¥æ ==null ?'':layui.util.toDateString(d.ä½åºæ¥æ, 'yyyy-MM-dd')}}</div>"} |
| | | ]] |
| | | }; |
| | | } |
| | | |
| | | //æ¥è¯¢ |
| | | function get_Display() { |
| | | var ajaxLoad = layer.load(); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MaterToSourceBill/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | // å¿«éè¿æ»¤ |
| | | function get_FastQuery() { |
| | | var HDate = $("#HDate").val();//å¼å§æ¥æ |
| | | var HDate1 = $("#HDate1").val();//ç»ææ¥æ |
| | | var HOrderProcNO = $("#HOrderProcNO").val();//订åè·è¸ªå· |
| | |
| | | if (WorkCenter) { |
| | | sWhere += " and åæ®å· like '%" + WorkCenter + "%'"; |
| | | } |
| | | var index = layer.load(0, { shade: false }); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MaterToSourceBill/list', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(index); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.close(index); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | |
| | | get_Display(sWhere); |
| | | //è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | sWhere = ""; |
| | | } |
| | | |
| | | //æ°å¢ |
| | | function set_AddNew() { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'æ°å¢ä¸æé²éå', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['100%', '100%'], |
| | | maxmin: true, |
| | | content: '../䏿é²éå/Sc_Add_MaterToSourceBillList.html?OperationType=1&linterid=&HSouceBillType=', |
| | | end: function () { |
| | | //å·æ°é¡µé¢, |
| | | location.reload(); |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | }); |
| | | } |
| | | |
| | | //ç¼è¾ |
| | | function set_ShowBill() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var linterid = data[0].hmainid.toString(); |
| | | var HBillStatus = data[0].HBillStatus.toString(); |
| | | if (HBillStatus != "1") { |
| | | layer.msg('åæ®ç¶æä¸ä¸ºæªå®¡æ ¸ç¶æ,ä¸å
许ç¼è¾ï¼'); |
| | | return false; |
| | | } |
| | | //if (AllowLoadData(sSubStr) != false) {//é空éªè¯ |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: 'ç¼è¾ä¸æé²éå' |
| | | , closeBtn: 1 |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: '../䏿é²éå/Sc_Add_MaterToSourceBillList.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=' |
| | | , resize: false, |
| | | end: function () { |
| | | //å·æ°é¡µé¢, |
| | | location.reload(); |
| | | } |
| | | , cancel: function () { |
| | | //$(".layui-btn").removeClass("layui-btn-disabled"); |
| | | } |
| | | }) |
| | | |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | | } |
| | | } |
| | | |
| | | //å é¤ |
| | | function set_DeleteBill() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | var HBillStatus = data[0].HBillStatus.toString(); |
| | | if (HBillStatus != "1") { |
| | | layer.msg('åæ®ç¶æä¸ä¸ºæªå®¡æ ¸ç¶æ,ä¸å
许å é¤ï¼'); |
| | | return false; |
| | | } |
| | | //é»è¾å 餿¹æ³ |
| | | layer.confirm("确认è¦å é¤åï¼å é¤åä¸è½æ¢å¤", { title: "å é¤ç¡®è®¤" }, function (index) { |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Sc_MaterToSourceBill/DeltetMaterToSourceBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "UserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(index); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | window.location.reload(); |
| | | }); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | }) |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®å é¤ï¼'); |
| | | } |
| | | } |
| | | |
| | | //å·æ° |
| | | function set_Refresh() { |
| | | $("#btnSearch").click(); |
| | | } |
| | | |
| | | //å®¡æ ¸ |
| | | function set_CheckBill() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | //é»è¾å®¡æ ¸æ¹æ³ |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Sc_MESBeginWorkBill/AuditProcessReportList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "IsAudit": 0, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(index); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | $("#btnSearch").trigger('click'); |
| | | }); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®å®¡æ ¸ï¼'); |
| | | } |
| | | } |
| | | |
| | | //åå®¡æ ¸ |
| | | function set_AbandonCheck() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | //é»è¾å®¡æ ¸æ¹æ³ |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Sc_MESBeginWorkBill/AuditProcessReportList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "IsAudit": 1, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(index); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | $("#btnSearch").trigger('click'); |
| | | }); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®åå®¡æ ¸ï¼'); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | //laydate.render({ |
| | | // elem: '#HDate' |
| | | // , type: 'datetime' |
| | | // , trigger: 'click' |
| | | // , format:'yyyy-MM-dd HH:mm' |
| | | //}); |
| | | //#endregion |
| | | |
| | | |
| | | //以䏿¯layui模å |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | |
| | | <!DOCTYPE html> |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <title>ç产任å¡åå表</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | |
| | | <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | |
| | | <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 src="../../../layuiadmin/PubCustom.js"></script> |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid"> |
| | |
| | | </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="HOrderProcNO" id="HOrderProcNO"> |
| | | <input type="text" class="layui-input" name="WorkCenter" id="WorkCenter"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_pushDown" id="set_pushDown"><i class="layui-icon layui-icon-form"></i>䏿¨</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_ShowBill"><i class="layui-icon layui-icon-form"></i>䏿¨</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-delete"></i>å é¤</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>éåº</button> |
| | | </div> |
| | | </script> |
| | | </form> |
| | |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'table', 'element', 'laypage','laydate'], function () { |
| | | }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () { |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , form = layui.form |
| | | , element = layui.element |
| | | , laypage = layui.laypage |
| | | , laydate = layui.laydate |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , form = layui.form |
| | | , element = layui.element |
| | | , laypage = layui.laypage |
| | | , laydate = layui.laydate |
| | | //var sWhere = " 产å代ç = 'BX0002'"; |
| | | var sWhere = ""; |
| | | var sWhere = ""; |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: '订åè·è¸ªå·', title: '订åè·è¸ªå·', width: 105 } |
| | | //, { field: 'HDeptID', title: 'HDeptID' } |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115 } |
| | | , { field: 'ç产车é´', title: 'ç产车é´', width: 115 } |
| | | //, { field: 'HMaterID', title: 'HMaterID' } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 160 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 160 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 215 } |
| | | //, { field: 'hunitid', title: 'hunitid' } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 115 } |
| | | , { field: '计éåä½', title: '计éåä½' } |
| | | //, { field: 'hempid', title: 'hempid' } |
| | | , { field: 'ä¸å¡å代ç ', title: 'ä¸å¡å代ç ', width: 100 } |
| | | , { field: 'ä¸å¡å', title: 'ä¸å¡å' } |
| | | , { field: 'hcusid', title: 'hcusid' } |
| | | , { field: '客æ·ä»£ç ', title: '客æ·ä»£ç ' } |
| | | , { field: '客æ·', title: '客æ·' } |
| | | //, { field: 'HCenterID', title: 'HCenterID' } |
| | | , { field: 'å·¥ä½ä¸å¿ä»£ç ', title: 'å·¥ä½ä¸å¿ä»£ç ' } |
| | | , { field: 'å·¥ä½ä¸å¿', title: 'å·¥ä½ä¸å¿' } |
| | | //, { field: 'hbomid', title: 'hbomid' } |
| | | , { field: 'BOMåç¼ç ', title: 'BOMåç¼ç ' } |
| | | //, { field: 'HRoutingInterID', title: 'HRoutingInterID' } |
| | | , { field: 'å·¥èºè·¯çº¿ä»£ç ', title: 'å·¥èºè·¯çº¿ä»£ç ' } |
| | | , { field: 'å·¥èºè·¯çº¿', title: 'å·¥èºè·¯çº¿' } |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ' } |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ' } |
| | | , { field: 'æè¿å¼å·¥æ¥æ', title: 'æè¿å¼å·¥æ¥æ' } |
| | | , { field: 'æè¿å®å·¥æ¥æ', title: 'æè¿å®å·¥æ¥æ' } |
| | | , { field: 'é½å¥æ°é', title: 'é½å¥æ°é' } |
| | | , { field: '计åç产æ°é', title: '计åç产æ°é' } |
| | | , { field: 'å
³èæ°é', title: 'å
³èæ°é' } |
| | | , { field: 'æªå
³èæ°é', title: 'æªå
³èæ°é' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | //, { field: 'hsubid', title: 'hsubid' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ' } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'å
³éç±»å', title: 'å
³éç±»å' } |
| | | , { field: 'åæ®ç±»å', title: 'åæ®ç±»å' } |
| | | , { field: '计åè·è¸ªå·', title: '计åè·è¸ªå·' } |
| | | ]] |
| | | }; |
| | | |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | var index0 = layer.load(0, { shade: false }); |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/LEMS/MES_IF_ICMOBillList_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(index0); |
| | | } else { |
| | | layer.close(index0); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index0); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | //åå§åçé¢ |
| | | set_ClearBill(); |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //头工å
·æ äºä»¶ |
| | | table.on('toolbar(mainTable)', function (obj) { |
| | | switch (obj.event) { |
| | | //䏿¨ |
| | | case 'set_ShowBill': set_ShowBill(); |
| | | break; |
| | | //å é¤ |
| | | case 'set_DeleteBill': set_DeleteBill(); |
| | | break; |
| | | //å·æ° |
| | | case 'get_Refresh': get_Refresh(); |
| | | break; |
| | | //éåºæé® |
| | | case 'get_Exit': Pub_Close(2); |
| | | break; |
| | | }; |
| | | }); |
| | | |
| | | //éç½®æé® |
| | | form.on('submit(btnReSearch)', function (data) { |
| | | $("#HDate").val("");//å¼å§æ¥æ |
| | | $("#HDate1").val("");//ç»ææ¥æ |
| | | $("#HOrderProcNO").val("");//订åè·è¸ªå· |
| | | $("#WorkCenter").val("");//åæ®å· |
| | | $("#btnSearch").click(); |
| | | set_ClearQuery(); |
| | | |
| | | }); |
| | | |
| | | //æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) {//éæ©ä»ä½ |
| | | |
| | | get_FastQuery(); |
| | | }); |
| | | |
| | | //#region åå§åçé¢ |
| | | function set_ClearBill() { |
| | | //åå§åè¡¨æ ¼ |
| | | set_InitGrid(); |
| | | //æ¥è¯¢ |
| | | get_Display(sWhere); |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | function set_InitGrid() { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: '订åè·è¸ªå·', title: '订åè·è¸ªå·', width: 105 } |
| | | //, { field: 'HDeptID', title: 'HDeptID' } |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115 } |
| | | , { field: 'ç产车é´', title: 'ç产车é´', width: 115 } |
| | | //, { field: 'HMaterID', title: 'HMaterID' } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 160 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 160 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 215 } |
| | | //, { field: 'hunitid', title: 'hunitid' } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 115 } |
| | | , { field: '计éåä½', title: '计éåä½' } |
| | | //, { field: 'hempid', title: 'hempid' } |
| | | , { field: 'ä¸å¡å代ç ', title: 'ä¸å¡å代ç ', width: 100 } |
| | | , { field: 'ä¸å¡å', title: 'ä¸å¡å' } |
| | | , { field: 'hcusid', title: 'hcusid' } |
| | | , { field: '客æ·ä»£ç ', title: '客æ·ä»£ç ' } |
| | | , { field: '客æ·', title: '客æ·' } |
| | | //, { field: 'HCenterID', title: 'HCenterID' } |
| | | , { field: 'å·¥ä½ä¸å¿ä»£ç ', title: 'å·¥ä½ä¸å¿ä»£ç ' } |
| | | , { field: 'å·¥ä½ä¸å¿', title: 'å·¥ä½ä¸å¿' } |
| | | //, { field: 'hbomid', title: 'hbomid' } |
| | | , { field: 'BOMåç¼ç ', title: 'BOMåç¼ç ' } |
| | | //, { field: 'HRoutingInterID', title: 'HRoutingInterID' } |
| | | , { field: 'å·¥èºè·¯çº¿ä»£ç ', title: 'å·¥èºè·¯çº¿ä»£ç ' } |
| | | , { field: 'å·¥èºè·¯çº¿', title: 'å·¥èºè·¯çº¿' } |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ' } |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ' } |
| | | , { field: 'æè¿å¼å·¥æ¥æ', title: 'æè¿å¼å·¥æ¥æ' } |
| | | , { field: 'æè¿å®å·¥æ¥æ', title: 'æè¿å®å·¥æ¥æ' } |
| | | , { field: 'é½å¥æ°é', title: 'é½å¥æ°é' } |
| | | , { field: '计åç产æ°é', title: '计åç产æ°é' } |
| | | , { field: 'å
³èæ°é', title: 'å
³èæ°é' } |
| | | , { field: 'æªå
³èæ°é', title: 'æªå
³èæ°é' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | //, { field: 'hsubid', title: 'hsubid' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ' } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'å
³éç±»å', title: 'å
³éç±»å' } |
| | | , { field: 'åæ®ç±»å', title: 'åæ®ç±»å' } |
| | | , { field: '计åè·è¸ªå·', title: '计åè·è¸ªå·' } |
| | | ]] |
| | | }; |
| | | } |
| | | |
| | | //#region æ¥è¯¢ |
| | | function get_Display(sWhere) { |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/LEMS/MES_IF_ICMOBillList_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(ajaxLoad); |
| | | //layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | } |
| | | //#endregion |
| | | |
| | | //#region å¿«éè¿æ»¤ |
| | | function get_FastQuery() { |
| | | var HDate = $("#HDate").val();//å¼å§æ¥æ |
| | | var HDate1 = $("#HDate1").val();//ç»ææ¥æ |
| | | var HOrderProcNO = $("#HOrderProcNO").val();//订åè·è¸ªå· |
| | |
| | | if (WorkCenter) { |
| | | sWhere += " and åæ®å· like '%" + WorkCenter + "%'"; |
| | | } |
| | | var index = layer.load(0, { shade: false }); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/LEMS/MES_IF_ICMOBillList_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(index); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.close(index); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | get_Display(sWhere); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //头工å
·æ äºä»¶ |
| | | table.on('toolbar(mainTable)', function (obj) { |
| | | switch (obj.event) { |
| | | //䏿¨ |
| | | case 'set_pushDown': set_pushDown(); |
| | | break; |
| | | }; |
| | | }); |
| | | |
| | | //䏿¨åæ® |
| | | function set_pushDown() { |
| | | //#region éç½®è¿æ»¤æ¡ä»¶æ¹æ³ |
| | | function set_ClearQuery() { |
| | | $("#HDate").val("");//å¼å§æ¥æ |
| | | $("#HDate1").val("");//ç»ææ¥æ |
| | | $("#HOrderProcNO").val("");//订åè·è¸ªå· |
| | | $("#WorkCenter").val("");//åæ®å· |
| | | $("#btnSearch").click(); |
| | | sWhere = ""; |
| | | } |
| | | //#endregion |
| | | ////è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | //var index0 = layer.load(0, { shade: false }); |
| | | //$.ajax({ |
| | | // //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | // url: GetWEBURL() + '/LEMS/MES_IF_ICMOBillList_Json', |
| | | // type: "GET", |
| | | // data: { "sWhere": sWhere }, |
| | | // success: function (data1) { |
| | | // if (data1.count == 1) { |
| | | // option.data = data1.data; |
| | | // table.render(option); |
| | | // layer.close(index0); |
| | | // } else { |
| | | // layer.close(index0); |
| | | // layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | // } |
| | | // }, error: function () { |
| | | // layer.close(index0); |
| | | // layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | // } |
| | | //}); |
| | | //ç¼è¾åæ® |
| | | function set_ShowBill() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (data.length === 1) { |
| | |
| | | , content: '../../车é´ç®¡ç/å·¥åºæµè½¬å¡/Sc_ProcessExchangeBill.html?OperationType=2&linterid=' + linterid + '&HSouceBillType=3772' |
| | | }) |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ä¸æ¨ï¼'); |
| | | } |
| | | } |
| | | |
| | | //#region å é¤ |
| | | function set_DeleteBill() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var hmainid = data[0].hmainid; |
| | | layer.confirm("确认è¦å é¤åï¼å é¤åä¸è½æ¢å¤", { title: "å é¤ç¡®è®¤" }, function (index) { |
| | | var wait = layer.load(); |
| | | //é»è¾å 餿¹æ³ |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_ICMOBill/DeltetSc_ICMOReportBill', |
| | | type: "GET", |
| | | data: { "HInterID": hmainid }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }, function () { |
| | | // å¾å°frameç´¢å¼ |
| | | var index = layer.getFrameIndex(window.name); |
| | | //å
³éå½åframe |
| | | layer.close(wait); |
| | | //ä¿®æ¹ä¸ºååå·æ°çé¢ |
| | | window.location.reload(); |
| | | }); |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | layer.close(wait); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | layer.close(wait); |
| | | } |
| | | }); |
| | | }) |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®å é¤ï¼'); |
| | | } |
| | | |
| | | } |
| | | //#endregion |
| | | //laydate.render({ |
| | | // elem: '#HDate' |
| | | // , type: 'datetime' |
| | | // , trigger: 'click' |
| | | // , format:'yyyy-MM-dd HH:mm' |
| | | //}); |
| | | |
| | | //#region å·æ° |
| | | function get_Refresh() { |
| | | set_ClearQuery(); |
| | | get_Display(sWhere); |
| | | } |
| | | //#endregion |
| | | |
| | | //以䏿¯layui模å |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |
| | | </html> |
| | |
| | | <form class="layui-form" action="" lay-filter="formData" style="background-color:white;"> |
| | | <div style="padding: 10px;"> |
| | | <!--<button class="layui-btn layuiadmin-btn-order main-btn" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-print layuiadmin-button-btn"><span class="btn-title">é¢è§</span></i> |
| | | </button>--> |
| | | <i class="layui-icon layui-icon-print layuiadmin-button-btn"><span class="btn-title">é¢è§</span></i> |
| | | </button>--> |
| | | <!--<button class="layui-btn layuiadmin-btn-order main-btn" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-edit layuiadmin-button-btn"><span class="btn-title">ä¿®æ¹</span></i> |
| | | </button>--> |
| | | <i class="layui-icon layui-icon-edit layuiadmin-button-btn"><span class="btn-title">ä¿®æ¹</span></i> |
| | | </button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="btn-AddNew" id="btn-AddNew">æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="btnSave" id="btnSave">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="btn-Exit" id="btn-Exit">éåº</button> |
| | |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡åå
ç </label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HICMOInterID" id="HICMOInterID" value="0" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HICMOEntryID" id="HICMOEntryID" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var linterid = params[params[1]];//æºåid |
| | | var HSouceBillType = params[params[2]];//æºåç±»å |
| | | var HICMOEntryID = params[params[3]];//æºååid |
| | | } |
| | | /*åºå®ä»£ç ï¼æ¯å¼ åæ®é½è¦begin*/ |
| | | |
| | | ////æµè¯ç¨æ°æ® |
| | | //var OperationType = 2; |
| | | //var linterid = 11880; |
| | | //var HSouceBillType = 3722; |
| | | //var HICMOEntryID = 100027; |
| | | //夿æ¯å¦æ°å¢ |
| | | if (OperationType == 1) { |
| | | $("#HInterID").val(""); |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/QC_ProcessCheckBill/get_ICMOBillStatus_Tmp", |
| | | type: "GET", |
| | | data: { "HInterID": linterid, "HEntryID": 0, "HBillType": HSouceBillType }, |
| | | data: { "HInterID": linterid, "HEntryID": HICMOEntryID, "HBillType": HSouceBillType }, |
| | | success: function (result) { |
| | | var data = result.data[0]; |
| | | if (result.count == 1) { |
| | |
| | | $("#HMainSourceBillNo").val(""); |
| | | $("#HMainSourceBillType").val(data.HBillType); |
| | | $("#HMainSourceInterID").val(data.HInterID); |
| | | $("#HICMOEntryID").val(data.HICMOEntryID); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | |
| | | $("#HMainSourceBillType").val(data.HBillType); |
| | | $("#HMainSourceInterID").val(data.HInterID); |
| | | $("#HProcID").val(data.HProcID); |
| | | $("#HICMOEntryID").val(data.HICMOEntryID); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HICMOInterID").val(checkStatus.data[0].hmainid); |
| | | $("#HICMOEntryID").val(checkStatus.data[0].hsubid); |
| | | $("#HICMOBillNo").val(checkStatus.data[0].åæ®å·); |
| | | $("#HICMOQty").val(checkStatus.data[0].计åç产æ°é); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | |
| | | <form class="layui-form" action="" lay-filter="formData" style="background-color:white;"> |
| | | <div style="padding: 10px;"> |
| | | <!--<button class="layui-btn layuiadmin-btn-order main-btn" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-print layuiadmin-button-btn"><span class="btn-title">é¢è§</span></i> |
| | | </button>--> |
| | | <i class="layui-icon layui-icon-print layuiadmin-button-btn"><span class="btn-title">é¢è§</span></i> |
| | | </button>--> |
| | | <!--<button class="layui-btn layuiadmin-btn-order main-btn" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-edit layuiadmin-button-btn"><span class="btn-title">ä¿®æ¹</span></i> |
| | | </button>--> |
| | | <i class="layui-icon layui-icon-edit layuiadmin-button-btn"><span class="btn-title">ä¿®æ¹</span></i> |
| | | </button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="btn-AddNew" id="btn-AddNew">æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="btnSave" id="btnSave">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="btn-Exit" id="btn-Exit">éåº</button> |
| | |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡åå
ç </label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HICMOInterID" id="HICMOInterID" value="0" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HICMOEntryID" id="HICMOEntryID" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var linterid = params[params[1]];//æºåid |
| | | var HSouceBillType = params[params[2]];//æºåç±»å |
| | | var HICMOEntryID = params[params[3]];//æºååid |
| | | } |
| | | /*åºå®ä»£ç ï¼æ¯å¼ åæ®é½è¦begin*/ |
| | | |
| | | //////æµè¯ç¨æ°æ® |
| | | //var OperationType = 2; |
| | | //var linterid = 11880; |
| | | //var HSouceBillType = 3722; |
| | | //var HICMOEntryID = 100027; |
| | | //夿æ¯å¦æ°å¢ |
| | | if (OperationType == 1) { |
| | | $("#HInterID").val(""); |
| | |
| | | $("#HMainSourceBillNo").val(data.åæ®å·); |
| | | $("#HMainSourceBillType").val(data.HBillType); |
| | | $("#HMainSourceInterID").val(data.HInterID); |
| | | $("#HICMOEntryID").val(data.HICMOEntryID); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/QC_FirstPieceCheckBill/get_ICMOBillStatus_Tmp", |
| | | type: "GET", |
| | | data: { "HInterID": linterid, "HEntryID": 0, "HBillType": HSouceBillType }, |
| | | data: { "HInterID": linterid, "HEntryID": HICMOEntryID, "HBillType": HSouceBillType }, |
| | | success: function (result) { |
| | | var data = result.data[0]; |
| | | if (result.count == 1) { |
| | |
| | | $("#HMainSourceBillNo").val(""); |
| | | $("#HMainSourceBillType").val(data.HBillType); |
| | | $("#HMainSourceInterID").val(data.HInterID); |
| | | $("#HICMOEntryID").val(data.HICMOEntryID); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | |
| | | form.on('submit(btn-AddNew)', function (data) { |
| | | window.location.reload(); |
| | | }); |
| | | |
| | | |
| | | |
| | | //éåº |
| | | function get_Exit() { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetCheckItemByCheckProjectID", |
| | | type: "GET", |
| | | data: { "CheckProjectID": $("#HQCCheckProjectID").val()}, |
| | | data: { "CheckProjectID": $("#HQCCheckProjectID").val() }, |
| | | success: function (result) { |
| | | option.data = result.data; |
| | | table.render(option); |
| | |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HICMOInterID").val(checkStatus.data[0].hmainid); |
| | | $("#HICMOEntryID").val(checkStatus.data[0].hsubid); |
| | | $("#HICMOBillNo").val(checkStatus.data[0].åæ®å·); |
| | | $("#HICMOQty").val(checkStatus.data[0].计åç产æ°é); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | |
| | | |
| | | //åå§åè¡¨æ ¼ |
| | | function set_InitGrid() { |
| | | $("#HDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | //åå§è¡¨æ ¼æ°æ® |
| | | rowdata = [{ |
| | | "HQCCheckItemID": "", "æ£éªé¡¹ç®": "", "HQCStd": "", "HUnit": "", "HQCNote": "", "HResult": "", |
| | |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | <!--èªå®ä¹æ ·å¼--> |
| | | <style> |
| | | .maintitle { |
| | | background-color: #1492ff; |
| | | color: #fff; |
| | | padding: 5px 10px; |
| | | border: none; |
| | | border-radius: 4px; |
| | | } |
| | | |
| | | .title { |
| | | border-left: 4px solid #1492ff; |
| | | padding-left: 6px; |
| | | margin: 20px 10px 4px; |
| | | font-size: 16px; |
| | | color: #333; |
| | | } |
| | | |
| | | .buttom_box_little { |
| | | width: 100px; |
| | | height: 36px; |
| | | color: #fff; |
| | | background-color: #1492ff; |
| | | border-radius: 4px; |
| | | border: none; |
| | | margin: 10px; |
| | | } |
| | | |
| | | .layui-upload-img { |
| | | width: 92px; |
| | | height: 92px; |
| | | .layui-form-item .layui-inline { |
| | | margin-right: 0; |
| | | } |
| | | </style> |
| | | </head> |
| | | |
| | | <body> |
| | | <div class="layui-fluid" style="padding: 0;"> |
| | | <div class="layui-card" style="padding: 15px;background-color: #efefef;"> |
| | | <div class="layui-card" style="padding: 2px;background-color: #efefef;"> |
| | | <div class="layui-card-body" style="padding: 1px;"> |
| | | <form class="layui-form" action="" lay-filter="formData" style="background-color:white;"> |
| | | <div class="maintitle">å·¥åºåºç«æ±æ¥</div> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <label class="layui-form-label" style="width: 85px;"><span style="color:red;">*</span>æ¡å½¢ç </label> |
| | | <div class="layui-input-block" style="margin-left: 120px;width:46%;"> |
| | | <input type="text" name="HBarCode" id="HBarCode" lay-verify="required" placeholder="请é®å
¥åå车" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class="layui-card-header"> |
| | | <div class="layui-btn-group"> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_AddNew" id="set_AddNew">æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_Modify" id="set_Modify">ä¿®æ¹</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver" id="Saver">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_CheckBill" id="set_CheckBill">å®¡æ ¸</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_AbandonCheck" id="set_AbandonCheck">åå®¡æ ¸</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel" id="Cancel">éåº</button> |
| | | </div> |
| | | </div> |
| | | <div class="title">åºæ¬ä¿¡æ¯</div> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æµè½¬å¡</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProcExchBillNo" id="HProcExchBillNo" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <h2>å·¥åºè¿ç«æ¥æ¶å</h2> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åæ®å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HInterID" id="HInterID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;"><span style="color:red;">*</span>æµæ°´å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProcNo" lay-verify="required" placeholder="请é®å
¥åå车" id="HProcNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ç产çç»</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HGroupName" id="HGroupName" style="background-color: #efefef4d; width: 60%; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="ProductionTeam-BT" id="ProductionTeam-BT" style="padding: 0 10px;float: left;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HGroupID" id="HGroupID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">å½åå·¥åº</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HProcName" id="HProcName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HProcID" id="HProcID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HSQProcID-BT" id="HSQProcID-BT" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">è§æ ¼åå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterModel" id="HMaterModel" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">å·¥ä½ä¸å¿</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HCenterName" id="HCenterName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HWorkingProcedure-BT" id="HWorkingProcedure-BT" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ±æ¥æ¶é´</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HStationOutTime" id="HStationOutTime" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">产å代ç </label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HMateriaID-BT" id="HMateriaID-BT" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æ ¸ç®å·¥åº</label> |
| | | <div class="layui-input-block" style="margin-left: 18px;"> |
| | | <input type="text" class="layui-input" name="HPayProcID" id="HPayProcID" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" value="0" name="HPayProcID" id="HPayProcID"> |
| | | <input type="checkbox" name="checkboxHLastSubProc" id="checkboxHLastSubProc" title="转ä¸å·¥åº" lay-skin="primary" lay-filter="checkboxHLastSubProc" checked disabled> |
| | | <input type="hidden" value="true" name="HLastSubProc" id="HLastSubProc"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">产ååç§°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterName" id="HMaterName" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">订åè·è¸ªå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡å</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HICMOBillNo" id="HICMOBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HICMOInterID" id="HICMOInterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡åæ°é</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" value="0" name="HICMOQty" id="HICMOQty" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">çäº§èµæº</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="ProductionResources-BT" id="ProductionResources-BT" style="padding: 0 10px;float: left;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HSourceID" id="HSourceID"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">模穴å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMouldNum" id="HMouldNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åæ ¼æ°é</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" value="0" name="HQty" id="HQty"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¥åºæ°é</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWasterQty" id="HWasterQty" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æ£éªå</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HQCCheckName" id="HQCCheckName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HSecManagerID-BT" id="HSecManagerID-BT" style="padding: 0 10px;float: left;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HQCCheckID" id="HQCCheckID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å·¥æ¶</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWorkTimes" id="HWorkTimes" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æä½å</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HEmpName" id="HEmpName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT" id="HEmployeeID-BT" style="padding: 0 10px;float: left;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID" id="HEmpID"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æä½å2</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HEmpName2" id="HEmpName2" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT2" id="HEmployeeID-BT2" style="padding: 0 10px;float: left;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID2" id="HEmpID2"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æä½å3</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HEmpName3" id="HEmpName3" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT3" id="HEmployeeID-BT3" style="padding: 0 10px;float: left;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID3" id="HEmpID3"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æä½å4</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HEmpName4" id="HEmpName4" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT4" id="HEmployeeID-BT4" style="padding: 0 10px;float: left;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID4" id="HEmpID4"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æä½å5</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HEmpName5" id="HEmpName5" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT5" id="HEmployeeID-BT5" style="padding: 0 10px;float: left;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID5" id="HEmpID5"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">è®¾å¤æ¸
å</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HSourceNameList" id="HSourceNameList" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="" style="width: 85%;"> |
| | | <label class="layui-form-label" style="width: 85px;">夿³¨</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <textarea name="HRemark" id="HRemark" placeholder="请è¾å
¥å
容" class="layui-textarea"></textarea> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æ¡å½¢ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HBarCode" id="HBarCode" placeholder="请é®å
¥åå车" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="title">å
¶ä»ä¿¡æ¯</div> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">è¿ç«PNLæ°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HPlanPieceQty" id="HPlanPieceQty" value="0" style="background-color:#efefef4d;" readonly> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill"> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">åºæ¬ä¿¡æ¯</li> |
| | | <li lay-id="2" style="padding:1px;">å
¶ä»ä¿¡æ¯</li> |
| | | <li lay-id="3" style="padding:1px;">éä»¶ä¿¡æ¯</li> |
| | | <li lay-id="4" style="padding:1px;">å¶åä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <!--åºæ¬ä¿¡æ¯--> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>åæ®å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HInterID" id="HInterID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>åæ®æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDate" id="HDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>ç产订åå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HICMOBillNo" id="HICMOBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HICMOInterID" id="HICMOInterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">è®¢åæ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" value="0" name="HICMOQty" id="HICMOQty" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">订åè·è¸ªå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>产å代ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HMateriaID-BT" id="HMateriaID-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">产ååç§°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterName" id="HMaterName" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">è§æ ¼åå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterModel" id="HMaterModel" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æµè½¬å¡å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProcExchBillNo" id="HProcExchBillNo" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å½åå·¥åº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProcName" id="HProcName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HProcID" id="HProcID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HSQProcID-BT" id="HSQProcID-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æµè½¬å¡æ°é</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" value="0" name="HPlanQty" id="HPlanQty"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æµæ°´å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProcNo" placeholder="请é®å
¥åå车" id="HProcNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æ ¸ç®å·¥åº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPayProcID" id="HPayProcID" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" value="0" name="HPayProcID" id="HPayProcID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHLastSubProc" id="checkboxHLastSubProc" title="转ä¸é" lay-skin="primary" lay-filter="checkboxHLastSubProc" checked disabled> |
| | | <input type="hidden" value="true" name="HLastSubProc" id="HLastSubProc"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æä½å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEmpName" id="HEmpName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT" id="HEmployeeID-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID" id="HEmpID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label" style="color:red;"><span style="color:red;">*</span>åæ ¼æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" value="0" name="HQty" id="HQty"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label" style="color:red;"><span style="color:red;">*</span>æ¥åºæ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWasterQty" id="HWasterQty" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ç产çç»</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HGroupName" id="HGroupName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="ProductionTeam-BT" id="ProductionTeam-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HGroupID" id="HGroupID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="ProductionResources-BT" id="ProductionResources-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HSourceID" id="HSourceID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å·¥ä½ä¸å¿</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCenterName" id="HCenterName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HWorkingProcedure-BT" id="HWorkingProcedure-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æ£éªå</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HQCCheckName" id="HQCCheckName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HSecManagerID-BT" id="HSecManagerID-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HQCCheckID" id="HQCCheckID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å·¥æ¶</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkTimes" id="HWorkTimes" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">è®¾å¤æ¸
å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceNameList" id="HSourceNameList" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs8 layui-inline"> |
| | | <label class="layui-form-label">夿³¨</label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="HRemark" id="HRemark" autocomplete="off" style=" width: 75%;"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">è¿ç«PCSæ°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HPieceQty" id="HPieceQty" value="0" style="background-color:#efefef4d;" readonly> |
| | | <!--å
¶ä»ä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¸è¯æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" value="0" name="" id=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">èå2</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEmpName2" id="HEmpName2" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT2" id="HEmployeeID-BT2" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID2" id="HEmpID2"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">èå3</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEmpName3" id="HEmpName3" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT3" id="HEmployeeID-BT3" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID3" id="HEmpID3"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">èå4</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEmpName4" id="HEmpName4" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT4" id="HEmployeeID-BT4" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID4" id="HEmpID4"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">èå5</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEmpName5" id="HEmpName5" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT5" id="HEmployeeID-BT5" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HEmpID5" id="HEmpID5"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">åºç«æ¶é´</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HStationOutTime" id="HStationOutTime" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">模穴å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMouldNum" id="HMouldNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº2</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName2" id="HSourceName2" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="" id="" style="width: 40px; background-color: gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;color:black;"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HSourceID2" id="HSourceID2"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº3</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName3" id="HSourceName3" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="" id="" style="width: 40px; background-color: gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;color:black;"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HSourceID3" id="HSourceID3"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº4</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName4" id="HSourceName4" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="" id="" style="width: 40px; background-color: gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;color:black;"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HSourceID4" id="HSourceID4"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº5</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName5" id="HSourceName5" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="" id="" style="width: 40px; background-color: gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;color:black;"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HSourceID5" id="HSourceID5"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¥åºPNLæ°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HBadPNL" id="HBadPNL" value="0" style="background-color:#efefef4d;" readonly> |
| | | <!--éä»¶ä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-upload"> |
| | | <button type="button" class="layui-btn" id="testList">éæ©æä»¶</button><input class="layui-upload-file" type="file" accept="" name="file" multiple=""> |
| | | <div class="layui-upload-list"> |
| | | <table class="layui-table"> |
| | | <thead> |
| | | <tr> |
| | | <th>æä»¶å</th> |
| | | <th>大å°</th> |
| | | <th>ç¶æ</th> |
| | | <th>æä½</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody id="ProImgByList"> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--å¶åä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å¶å人</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¿®æ¹äºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUpDater" id="HUpDater" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å®¡æ ¸äºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HChecker" id="HChecker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å¶åæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMakeDate" id="HMakeDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¿®æ¹æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUpDateDate" id="HUpDateDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å®¡æ ¸æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å
³é人</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCloseMan" id="HCloseMan" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä½åºäºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDeleteMan" id="HDeleteMan" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å
³éæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä½åºæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æå¼¯åæ°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HDSQty" id="HDSQty" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å质确认人</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" value="0" name="" id=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">NCT岿¬¡æ°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HChongQty" id="HChongQty" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">NCT忬¡</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="" id=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">移交PNLæ°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" value="0" name="HPlanQty" id="HPlanQty"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç³»æ°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HPriceRate" id="HPriceRate" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å§å¤å·¥åå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="" id=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä¸è¯æ°é</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" value="0" name="" id=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">çäº§èµæº2</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HSourceName2" id="HSourceName2" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HSourceID2" id="HSourceID2"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">çäº§èµæº3</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HSourceName3" id="HSourceName3" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HSourceID3" id="HSourceID3"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">çäº§èµæº4</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="" id="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="" id=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æ£éªå5</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="" id="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="" id=""> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="title">éä»¶ä¿¡æ¯</div> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-upload"> |
| | | <button type="button" class="layui-btn" id="testList">éæ©æä»¶</button><input class="layui-upload-file" type="file" accept="" name="file" multiple=""> |
| | | <div class="layui-upload-list"> |
| | | <table class="layui-table"> |
| | | <thead> |
| | | <tr> |
| | | <th>æä»¶å</th> |
| | | <th>大å°</th> |
| | | <th>ç¶æ</th> |
| | | <th>æä½</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody id="ProImgByList"> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layer-footer" style="text-align: center;"> |
| | | <button type="button" lay-submit="" class="buttom_box_little" lay-filter="Saver" id="Saver">æäº¤</button> |
| | | <button type="button" class="buttom_box_little" lay-filter="Cancel" id="Cancel">éåº</button> |
| | | </div> |
| | | <!--éèåæ®µ--> |
| | | <input type="hidden" name="HMaker" id="HMaker"> |
| | | <input type="hidden" name="lngBillKey" id="lngBillKey" value="0"> |
| | | <input type="hidden" name="lngBillSubKey" id="lngBillSubKey" value="0"> |
| | | <input type="hidden" name="eventType" id="eventType" value="Add"> |
| | | <input type="hidden" name="HPlanPieceQty" id="HPlanPieceQty" value="0"><!--è¿ç«PNLæ°--> |
| | | <input type="hidden" name="HPieceQty" id="HPieceQty" value="0"><!--è¿ç«PCSæ°--> |
| | | <input type="hidden" name="HBadPNL" id="HBadPNL" value="0"><!--æ¥åºPNLæ°--> |
| | | <input type="hidden" name="HDSQty" id="HDSQty" value="0"><!--æå¼¯åæ°--> |
| | | <input type="hidden" name="HChongQty" id="HChongQty" value="0"><!--NCT岿¬¡æ°--> |
| | | <input type="hidden" name="HPriceRate" id="HPriceRate" value="0"><!--ç³»æ°--> |
| | | </form> |
| | | </div> |
| | | </div> |
| | |
| | | var params = getUrlVars(); |
| | | 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 HBillNo = params[params[2]]; //è·ååæ®å· |
| | | var closeType = params[params[3]]; //å
³éç±»å |
| | | } |
| | | /*åºå®ä»£ç ï¼æ¯å¼ åæ®é½è¦begin*/ |
| | | |
| | |
| | | PicUpload(); |
| | | } |
| | | }); |
| | | $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé®é»è®¤ç¦ç¨ |
| | | $('#set_AbandonCheck').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé®é»è®¤ç¦ç¨ |
| | | $('#set_Modify').addClass("layui-btn-disabled").attr("disabled", true);//ä¿®æ¹æé®ç¦ç¨ |
| | | } |
| | | else if (OperationType == 3) { |
| | | $("#eventType").val("Modify"); |
| | | RoadBillMain(linterid); |
| | | $('#set_Modify').addClass("layui-btn-disabled").attr("disabled", true);//ä¿®æ¹æé®ç¦ç¨ |
| | | $('#Saver').removeClass("layui-btn-disabled").attr("disabled", false);//ä¿åæé®å¯ç¨ |
| | | $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé®é»è®¤ç¦ç¨ |
| | | $('#set_AbandonCheck').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé®é»è®¤ç¦ç¨ |
| | | } |
| | | else if (OperationType == 4) { |
| | | RoadBillMain(linterid); |
| | | $('#Saver').addClass("layui-btn-disabled").attr("disabled", true);//ä¿ååä¿åæé®ç¦ç¨ |
| | | $('#set_CheckBill').removeClass("layui-btn-disabled").attr("disabled", false);//å®¡æ ¸æé®å¯ç¨ |
| | | $('#set_AbandonCheck').removeClass("layui-btn-disabled").attr("disabled", false);//åå®¡æ ¸æé®å¯ç¨ |
| | | //RoadBillSub(linterid); |
| | | } |
| | | |
| | |
| | | |
| | | function RoadBillMain(linterid)//å 载表头 |
| | | { |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Cj_StationOutBill/GetStationOutBill", |
| | | type: "GET", |
| | |
| | | "HEmpName5": data.HEmpName5, |
| | | "HRemark": data.HRemark |
| | | }); |
| | | if (data.æ¯å¦å®¡æ ¸ == "true") { |
| | | $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé®ç¦ç¨ |
| | | $('#set_AbandonCheck').removeClass("layui-btn-disabled").attr("disabled", false);//åå®¡æ ¸æé®å¯ç¨ |
| | | } else { |
| | | $('#set_AbandonCheck').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé®ç¦ç¨ |
| | | $('#set_CheckBill').removeClass("layui-btn-disabled").attr("disabled", false);//å®¡æ ¸æé®å¯ç¨ |
| | | } |
| | | if (OperationType == 3) { |
| | | $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé®ç¦ç¨ |
| | | $('#set_AbandonCheck').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé®ç¦ç¨ |
| | | } |
| | | PicUpload(); |
| | | layer.close(index); |
| | | } |
| | | , error: function () { |
| | | layer.close(index); |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥"); |
| | | } |
| | | }) |
| | | } |
| | |
| | | //$("#HEmpID").val(sessionStorage["Czybm"]); |
| | | //$("#HEmpName").val(sessionStorage["HUserName"]); |
| | | $("#HMaker").val(sessionStorage["HUserName"]); |
| | | $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); |
| | | $("#HDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); |
| | | |
| | | |
| | | //æ¡å½¢ç åè½¦æ¹æ³ |
| | |
| | | //æ¯å¦è¢«è½¬ä¸å·¥åº |
| | | form.on('checkbox(checkboxHLastSubProc)', function (data) { |
| | | $("#HLastSubProc").val(data.elem.checked); |
| | | }); |
| | | }); |
| | | |
| | | //éåº-å
³é页颿¹æ³ |
| | | $('#Cancel').on('click', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.layui.admin.events.closeThisTabs(); //å
³éé¡µç¾ |
| | | if (OperationType == 1) { |
| | | Pub_Close(closeType); |
| | | } else if (OperationType == 3) { |
| | | Pub_Close(1); |
| | | } else if (OperationType == 4) { |
| | | Pub_Close(1); |
| | | } |
| | | }); |
| | | }) |
| | | |
| | |
| | | url: GetWEBURL() + "/Cj_StationOutBill/AddBill", |
| | | //url:"http://localhost:12761/Cj_StationEntrustOutBill/AddBill", |
| | | async: true, |
| | | data: {"oMain": oMain}, |
| | | data: { "oMain": oMain }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { |
| | | //layer.confirm(data.Message, { |
| | | // icon: 1, skin: 'layui-layer-lan', title: "温馨æç¤º", closeBtn: 0, btn: ['æ°å¢'], |
| | | // btn2: function () { |
| | | // //parent.layui.admin.events.closeThisTabs();å
³éé¡µç¾ |
| | | // //window.close();//å
³é页é¢ï¼æµè§å¨ææï¼PDAæ æ |
| | | // parent.location.href = "../../../views/index.html" |
| | | // }//å
³é |
| | | //}, function () { window.location.reload(); });//æ°å¢ |
| | | layer.close(index); |
| | | layer.msg("æäº¤æå"); |
| | | //ä¿ååæµè§ |
| | | ReRoadBillMain(); |
| | | } |
| | | else { |
| | | layer.close(index); |
| | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //#region ä¿ååæµè§æ¹æ³ |
| | | function ReRoadBillMain() { |
| | | location.replace('Cj_StationOutBill.html?OperationType=4&linterid=' + $("#HInterID").val() + '&HSouceBillType='); |
| | | } |
| | | //#endregion |
| | | |
| | | //éæ©ç产çç»å¼¹çª |
| | | form.on('submit(ProductionTeam-BT)', function () {//éæ©ç产çç» |
| | |
| | | }); |
| | | //鿩工ä½ä¸å¿å¼¹çª |
| | | form.on('submit(HWorkingProcedure-BT)', function () {//鿩工ä½ä¸å¿ |
| | | //layer.open({ |
| | | // type: 2 |
| | | // , area: ['80%', '80%'] |
| | | // , title: 'å·¥ä½ä¸å¿' |
| | | // , shade: 0.6 //é®ç½©éæåº¦ |
| | | // //, maxmin: true //å
许å
¨å±æå°å |
| | | // , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | // , content: ['../../Baseset/åºç¡èµæ/Gy_WorkCenterList.html', 'yes'] |
| | | // , resize: false |
| | | // , cancel: function (index, layero) { |
| | | // } |
| | | //}) |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | | , title: 'å·¥ä½ä¸å¿' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | //, maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WorkCenterList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function (index, layero) { |
| | | } |
| | | }) |
| | | layer.msg('ç¦æ¢éæ©'); |
| | | }); |
| | | //éæ©æä½å |
| | |
| | | } |
| | | }) |
| | | }); |
| | | //éæ©å·¥åº |
| | | form.on('submit(HSQProcID-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) { |
| | | // } |
| | | //}) |
| | | layer.msg('ç¦æ¢éæ©'); |
| | | }); |
| | | //éæ©äº§å |
| | | form.on('submit(HMateriaID-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 () { |
| | | // //$(".layui-btn").removeClass("layui-btn-disabled"); |
| | | // } |
| | | //}) |
| | | layer.msg('ç¦æ¢éæ©'); |
| | | }); |
| | | |
| | | //éæ©ä¾åºå |
| | | form.on('submit(btnSearchSup)', function () { |
| | | layer.msg('ç¦æ¢éæ©'); |
| | | }); |
| | | |
| | | //æä»¶ä¸ä¼ |
| | | function PicUpload() { |
| | |
| | | } |
| | | |
| | | //è·åç¼è¾æ¶,å·²ä¸ä¼ çæä»¶å表 |
| | | if (HBillNo != null || HBillNo != undefined) |
| | | { |
| | | if (HBillNo != null || HBillNo != undefined) { |
| | | var ProImgByList = $('#ProImgByList') |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_StationOutBill/Filelist', |
| | |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | |
| | | } |
| | | |
| | | //#region ä¿®æ¹æé® |
| | | form.on('submit(set_Modify)', function () {//æäº¤ |
| | | //ç¼è¾å夿 |
| | | set_ShowBillJudge(); |
| | | }) |
| | | //#endregion |
| | | |
| | | //#region ç¼è¾å夿 |
| | | function set_ShowBillJudge() { |
| | | var wait = layer.load(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Cj_StationOutBill/set_ShowBillJudge", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HBillNo": HBillNo }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | location.replace('Cj_StationOutBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=&HBillNo=' + HBillNo); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | layer.close(wait); |
| | | }, error: function () { |
| | | layer.close(wait); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region æ°å¢æé® |
| | | form.on('submit(set_AddNew)', function () {//æäº¤ |
| | | layer.confirm('æ°å¢å页颿°æ®å°æ¶å¤±ï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | location.replace('Cj_StationOutBill.html?OperationType=1'); |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | | //#region å®¡æ ¸æé® |
| | | form.on('submit(set_CheckBill)', function () { |
| | | //å®¡æ ¸æ¹æ³ |
| | | set_CheckBill(); |
| | | }) |
| | | //#endregion |
| | | |
| | | //#region å®¡æ ¸æ¹æ³ |
| | | function set_CheckBill() { |
| | | var wait = layer.load(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Cj_StationOutBill/set_CheckBill", |
| | | data: { "HInterID": linterid, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.alert(result.Message, { icon: 6 }); |
| | | $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé®ç¦ç¨ |
| | | $('#set_AbandonCheck').removeClass("layui-btn-disabled").attr("disabled", false);//åå®¡æ ¸æé®å¯ç¨ |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | layer.close(wait); |
| | | }, error: function () { |
| | | layer.close(wait); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region åå®¡æ ¸æé® |
| | | form.on('submit(set_AbandonCheck)', function () { |
| | | //åå®¡æ ¸æ¹æ³ |
| | | set_AbandonCheck(); |
| | | }) |
| | | //#endregion |
| | | |
| | | //#region åå®¡æ ¸æ¹æ³ |
| | | function set_AbandonCheck() { |
| | | var wait = layer.load(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Cj_StationOutBill/set_AbandonCheck", |
| | | data: { "HInterID": linterid, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.alert(result.Message, { icon: 6 }); |
| | | $('#set_AbandonCheck').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé®ç¦ç¨ |
| | | $('#set_CheckBill').removeClass("layui-btn-disabled").attr("disabled", false);//å®¡æ ¸æé®å¯ç¨ |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | layer.close(wait); |
| | | }, error: function () { |
| | | layer.close(wait); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | |
| | | //å¾å°å½åæå¨è¡ |
| | | var rows = r.parentNode.parentNode.rowIndex; |
| | | //å¾å°æå¨è¡ç第ä¸åçå
容:主é®ID |
| | | var HItemID = $("#ProImgByList tr:eq(" + (rows-1) + ") td:eq(0)").html(); |
| | | var HItemID = $("#ProImgByList tr:eq(" + (rows - 1) + ") td:eq(0)").html(); |
| | | //å¾å°æå¨è¡ç第äºåçå
容:åæ®å· |
| | | var HSourceBillNo = $("#ProImgByList tr:eq(" + (rows - 1) + ") td:eq(1)").html(); |
| | | //å¾å°æå¨è¡ç第ä¸åçå
容:æä»¶åç§° |
| | | var HFileName = $("#ProImgByList tr:eq(" + (rows - 1)+ ") td:eq(2)").html(); |
| | | var HFileName = $("#ProImgByList tr:eq(" + (rows - 1) + ") td:eq(2)").html(); |
| | | layer.confirm("确认è¦å é¤åï¼å é¤åä¸è½æ¢å¤", { title: "å é¤ç¡®è®¤" }, function (index) { |
| | | |
| | | |
| | | //å é¤å·²ä¸ä¼ æä»¶ |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_StationOutBill/DeleteFilelist', |
| | |
| | | } |
| | | |
| | | //ä¸è½½æä»¶ |
| | | function dowload(r) { |
| | | function dowload(r) { |
| | | //å¾å°å½åæå¨è¡ |
| | | var rows = r.parentNode.parentNode.rowIndex; |
| | | //å¾å°æå¨è¡ç第äºåçå
容:æä»¶å°å |
| | |
| | | /*window.location.href = url;*/ |
| | | window.open(url) |
| | | } |
| | | |
| | | |
| | | //è¿åç产çç» |
| | | function GetProductionTeamValue(obj) { |
| | | function GetProductionTeamValue(obj) { |
| | | $("#HGroupName").val(obj[0].çç»); |
| | | $("#HGroupID").val(obj[0].HItemID); |
| | | } |
| | | //è¿åæ£éªå |
| | | function GetHSecManagerValue(obj) { |
| | | function GetHSecManagerValue(obj) { |
| | | $("#HQCCheckName").val(obj[0].HName); |
| | | $("#HQCCheckID").val(obj[0].HItemID); |
| | | } |
| | | //è¿åçäº§èµæº |
| | | function GetProductionResourcesValue(obj) { |
| | | function GetProductionResourcesValue(obj) { |
| | | $("#HSourceName").val(obj[0].çäº§èµæº); |
| | | $("#HSourceID").val(obj[0].HItemID); |
| | | } |
| | |
| | | $("#HCenterID").val(obj[0].HItemID); |
| | | } |
| | | //è¿åæä½å |
| | | function GetHWorkerValue(obj) { |
| | | function GetHWorkerValue(obj) { |
| | | $("#HEmpName").val(obj[0].HName); |
| | | $("#HEmpID").val(obj[0].HItemID); |
| | | } |
| | |
| | | $("#HProcID").val(obj[0].HItemID); |
| | | } |
| | | //è¿å产å |
| | | function GetHMaterNameValue(obj) { |
| | | function GetHMaterNameValue(obj) { |
| | | $("#HMaterName").val(obj[0].HName); |
| | | $("#HMaterNumber").val(obj[0].HNumber); |
| | | $("#HMaterID").val(obj[0].HItemID); |
| | |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |
| | | </html> |
| | |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡åå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWorkBillNo" id="HWorkBillNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åæ®å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å·¥åºæµè½¬å¡å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProcExchBillNo" id="HProcExchBillNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-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-ProcessCheck" id="btn-ProcessCheck">å·¥åºæ£</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Print" id="btn-Print"><i class="layui-icon layui-icon-circle"></i>é¢è§</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Cell" id="btn-Cell"><i class="layui-icon layui-icon-ok"></i>ä¿åå宽</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-RefreshCell" id="btn-RefreshCell"><i class="layui-icon layui-icon-refresh"></i>é»è®¤å宽</button> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Print" id="btn-Print"><i class="layui-icon layui-icon-circle"></i>é¢è§</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Cell" id="btn-Cell"><i class="layui-icon layui-icon-ok"></i>ä¿åå宽</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-RefreshCell" id="btn-RefreshCell"><i class="layui-icon layui-icon-refresh"></i>é»è®¤å宽</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Exit" id="btn-Exit">éåº</button> |
| | | </div> |
| | | </script> |
| | |
| | | get_FastQuery(); |
| | | }); |
| | | |
| | | //ç产订ååè½¦æ¹æ³ |
| | | $('#HWorkBillNo').on('keydown', function (event) { |
| | | var HWorkBillNo = $('#HWorkBillNo').val(); |
| | | if (event.keyCode == 13) { |
| | | if (!HWorkBillNo) { |
| | | layer.msg("ä»»å¡åå·ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } |
| | | $("#btnSearch").click(); |
| | | } |
| | | }); |
| | | //åæ®å·åè½¦æ¹æ³ |
| | | $('#HBillNo').on('keydown', function (event) { |
| | | var HBillNo = $('#HBillNo').val(); |
| | | if (event.keyCode == 13) { |
| | | if (!HBillNo) { |
| | | layer.msg("åæ®å·ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } |
| | | $("#btnSearch").click(); |
| | | } |
| | | }); |
| | | //å·¥åºæµè½¬å¡åè½¦æ¹æ³ |
| | | $('#HProcExchBillNo').on('keydown', function (event) { |
| | | var HProcExchBillNo = $('#HProcExchBillNo').val(); |
| | | if (event.keyCode == 13) { |
| | | if (!HProcExchBillNo) { |
| | | layer.msg("å·¥åºæµè½¬å¡å·ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } |
| | | $("#btnSearch").click(); |
| | | } |
| | | }); |
| | | |
| | | //åå§åè¡¨æ ¼ |
| | | function set_InitGrid() { |
| | | option = { |
| | |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | | , { field: 'ä»»å¡å', title: 'ä»»å¡å' } |
| | | , { field: 'åæ®å·', title: 'åæ®å·' } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·' } |
| | | , { field: 'ä»»å¡å', title: 'ä»»å¡å', width: 125 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 190 } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·', width: 125 } |
| | | , { field: 'HProcID', title: 'HProcID', hide: true } |
| | | , { field: 'å½åå·¥åºä»£ç ', title: 'å½åå·¥åºä»£ç ' } |
| | | , { field: 'å½åå·¥åºä»£ç ', title: 'å½åå·¥åºä»£ç ', width: 125 } |
| | | , { field: 'å½åå·¥åº', title: 'å½åå·¥åº' } |
| | | , { field: 'HMaterID', title: 'HMaterID', hide: true } |
| | | , { field: '产å代ç ', title: '产å代ç ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 125 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·' } |
| | | , { |
| | | field: 'åºç«æ¶é´', title: 'åºç«æ¶é´', width: 105, templet: function (d) { |
| | | field: 'åºç«æ¶é´', title: 'åºç«æ¶é´', width: 160, templet: function (d) { |
| | | if (d.åºç«æ¶é´ == null) { |
| | | return ""; |
| | | } |
| | |
| | | } |
| | | } |
| | | , { field: 'HEmpID', title: 'HEmpID', hide: true } |
| | | , { field: 'æä½å代ç ', title: 'æä½å代ç ' } |
| | | , { field: 'æä½å代ç ', title: 'æä½å代ç ', width: 190 } |
| | | , { field: 'æä½å', title: 'æä½å' } |
| | | , { field: 'HSourceID', title: 'HSourceID', hide: true } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ' } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ', width: 125 } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº' } |
| | | , { field: 'HGroupID', title: 'HGroupID', hide: true } |
| | | , { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ' } |
| | | , { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ', width: 125 } |
| | | , { field: 'ç产çç»', title: 'ç产çç»' } |
| | | , { field: 'LOTæ°é', title: 'LOTæ°é' } |
| | | , { field: 'æ¥æ¶æ°é', title: 'æ¥æ¶æ°é' } |
| | |
| | | //åè½æé®æ¯å¦ç¦ç¨æ¹æ³ï¼æ¯æ¬¡å è½½è¡¨æ ¼é½è¦è°ç¨ |
| | | function btnIs() { |
| | | //$('#btn-Add').addClass("layui-btn-disabled").attr("disabled", true);//æ°å¢æé® |
| | | $('#btn-Delete').addClass("layui-btn-disabled").attr("disabled", true);//å é¤æé® |
| | | $('#btn-Audit').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé® |
| | | $('#btn-DeAudit').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé® |
| | | //$('#btn-Delete').addClass("layui-btn-disabled").attr("disabled", true);//å é¤æé® |
| | | //$('#btn-Audit').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé® |
| | | //$('#btn-DeAudit').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé® |
| | | $('#btn-Print').addClass("layui-btn-disabled").attr("disabled", true);//é¢è§æé® |
| | | $('#btn-Cell').addClass("layui-btn-disabled").attr("disabled", true);//ä¿åå宽æé® |
| | | $('#btn-RefreshCell').addClass("layui-btn-disabled").attr("disabled", true);//é»è®¤å宽æé® |
| | |
| | | case 'btn-Edit': set_ShowBill(); |
| | | break; |
| | | //å é¤ |
| | | case 'btn-Delete': layer.msg('å é¤'); |
| | | case 'btn-Delete': btn_Delete(); |
| | | break; |
| | | //å®¡æ ¸ |
| | | case 'btn-Audit': set_CheckBill(); |
| | | break; |
| | | //åå®¡æ ¸ |
| | | case 'btn-DeAudit': layer.msg('åå®¡æ ¸ï¼'); |
| | | case 'btn-DeAudit': set_AbandonCheck(); |
| | | break; |
| | | //å·¥åºæ£ |
| | | case 'btn-ProcessCheck': set_ProcessCheck(); |
| | |
| | | break; |
| | | }; |
| | | }); |
| | | |
| | | //å®¡æ ¸ |
| | | function set_CheckBill() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | //é»è¾å®¡æ ¸æ¹æ³ |
| | | var wait = layer.load(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Cj_StationOutBill/set_CheckBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |
| | | get_FastQuery(table, option); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | layer.close(wait); |
| | | }, error: function () { |
| | | layer.close(wait); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®å®¡æ ¸ï¼'); |
| | | } |
| | | } |
| | | |
| | | //åå®¡æ ¸ |
| | | function set_AbandonCheck() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | //é»è¾å®¡æ ¸æ¹æ³ |
| | | var wait = layer.load(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Cj_StationOutBill/set_AbandonCheck", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |
| | | get_FastQuery(table, option); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | layer.close(wait); |
| | | }, error: function () { |
| | | layer.close(wait); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®å®¡æ ¸ï¼'); |
| | | } |
| | | } |
| | | |
| | | //å·¥åºæ£ |
| | | function set_ProcessCheck() { |
| | |
| | | , shade: 0.6 |
| | | , maxmin: false |
| | | , anim: 0 |
| | | , content: ['Cj_StationOutBill.html?OperationType=' + 1 + '&linterid=' + 0 + '&HBillNo' + 0, 'yes'] |
| | | , content: ['Cj_StationOutBill.html?OperationType=1&linterid=0&HBillNo=0&closeType=1', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | btnIs(); |
| | |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: 'å·¥åºåºç«æ±æ¥å-ç¼è¾' |
| | | , shade: 0.6 |
| | | , maxmin: false |
| | | , anim: 0 |
| | | , content: ['Cj_StationOutBill.html?OperationType=' + 3 + '&linterid=' + data[0].HInterID + '&HBillNo=' + data[0].åæ®å·, 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | btnIs(); |
| | | } |
| | | , end: function () { |
| | | get_FastQuery(table, option); |
| | | } |
| | | }) |
| | | //æå¼ç¼è¾é¡µé¢ |
| | | set_ShowBill_open(data); |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | | } |
| | | } |
| | | |
| | | //#region æå¼ç¼è¾é¡µé¢ |
| | | function set_ShowBill_open(data) { |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: 'å·¥åºåºç«æ±æ¥å-ç¼è¾' |
| | | , shade: 0.6 |
| | | , maxmin: false |
| | | , anim: 0 |
| | | , content: ['Cj_StationOutBill.html?OperationType=4&linterid=' + data[0].HInterID + '&HSouceBillType=&HBillNo=' + data[0].åæ®å·, 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | btnIs(); |
| | | } |
| | | , end: function () { |
| | | get_FastQuery(table, option); |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //éç½®è¿æ»¤æ¡ä»¶ |
| | | function set_ClearQuery() { |
| | | $("#HWorkBillNo").val(); |
| | | $("#HBillNo").val(""); |
| | | $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HProcExchBillNo").val(""); |
| | | } |
| | | |
| | | //å¿«éè¿æ»¤ |
| | | function get_FastQuery() { |
| | | var HStatus = $("select[name='HStatus']").val();//ç¶æ |
| | | var HBeginDate = $("#HBeginDate").val();//å¼å§æ¥æ |
| | | var HEndDate = $("#HEndDate").val();//ç»ææ¥æ |
| | | var HWorkBillNo = $("#HWorkBillNo").val(); |
| | | var HBillNo = $("#HBillNo").val(); |
| | | var HProcExchBillNo = $("#HProcExchBillNo").val(); |
| | | if (HBeginDate) { |
| | | sWhere += " and CONVERT(varchar(100),åºç«æ¶é´, 23) >= '" + HBeginDate + "'"; |
| | | } |
| | | if (HEndDate) { |
| | | sWhere += " and CONVERT(varchar(100),åºç«æ¶é´, 23) <= '" + HEndDate + "'"; |
| | | } |
| | | if (HWorkBillNo) { |
| | | sWhere += " and ä»»å¡å like '%" + HWorkBillNo + "%'"; |
| | | } |
| | | if (HBillNo) { |
| | | sWhere += " and åæ®å· like '%" + HBillNo + "%'"; |
| | | } |
| | | if (HProcExchBillNo) { |
| | | sWhere += " and å·¥åºæµè½¬å¡å· like '%" + HProcExchBillNo + "%'"; |
| | | } |
| | | if (HStatus) { |
| | | switch (HStatus) { |
| | |
| | | }); |
| | | } |
| | | |
| | | //å é¤åæ® |
| | | function btn_Delete() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | layer.confirm('ç¡®å®å é¤' + data[0].åæ®å· + 'åï¼', function (index) { |
| | | var ajaxLoad = layer.load(); |
| | | //é»è¾å 餿¹æ³ |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_StationOutBill/del_StationOutBill', |
| | | type: "GET", |
| | | data: { "HInterID": data[0].HInterID, "HDeleteMan": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | get_FastQuery(); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | layer.close(index); |
| | | }); |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | | } |
| | | } |
| | | |
| | | //éåº |
| | | function get_Exit() { |
| | | parent.layui.admin.events.closeThisTabs(); |
| | | Pub_Close(2); |
| | | } |
| | | |
| | | //以䏿¯layui模å |
| | |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8" /> |
| | | <title>å·¥åºåºç«æ±æ¥åæ¹é</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | <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 src="../../../layuiadmin/PubCustom.js"></script> |
| | | <style> |
| | | .layui-form-item .layui-inline { |
| | | margin-right: 0; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid" style="padding: 0;"> |
| | | <div class="layui-card" style="padding: 15px;"> |
| | | <div class="layui-card-body" style="padding: 1px;"> |
| | | <form class="layui-form" lay-filter="component-form-group" action=""> |
| | | <div class="layui-card-header"> |
| | | <div class="layui-btn-group"> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">éåº</button> |
| | | <button type="button" id="set_SaveBarCode" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_SaveBarCode" style="display:none;">æ«ç ä¿å</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <h2>å·¥åºåºç«æ±æ¥å(æ¹é)</h2> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æµæ°´å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HProcNo" id="HProcNo" placeholder="请è¾å
¥æµæ°´å·" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <h2 style="float: left;">å·²åºç«</h2> |
| | | <input type="text" name="HqtyBill" id="HqtyBill" value="0" style="width: 30px; border: none; text-align: center; font-size: 24px; "> |
| | | <h2 style="float: right;">å¼ åæ®</h2> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <h2></h2> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æ¡å½¢ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HBarCode" id="HBarCode" placeholder="请è¾å
¥åå车" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab" lay-filter=""> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">åºæ¬ä¿¡æ¯</li> |
| | | <li lay-id="2" style="padding:1px;">å¶åä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <!--åºæ¬ä¿¡æ¯--> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>䏻忮å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMainBillNo" id="HMainBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HMainInterID" id="HMainInterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>åæ®æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDate" id="HDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æ ¸ç®å·¥åº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPayProcID" id="HPayProcID" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" value="0" name="HPayProcID" id="HPayProcID"> |
| | | <input type="checkbox" name="checkboxHLastSubProc" id="checkboxHLastSubProc" title="转ä¸å·¥åº" lay-skin="primary" lay-filter="checkboxHLastSubProc" checked disabled style="color:black;"> |
| | | <input type="hidden" value="true" name="HLastSubProc" id="HLastSubProc"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æä½å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEmpName" id="HEmpName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="get_checkEmp" id="get_checkEmp" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label" style="color:red;"><span style="color:red;">*</span>åæ ¼æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HQty" id="HQty"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æ£éªå</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HQCCheckName" id="HQCCheckName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="get_checkEmp2" id="get_checkEmp2" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | <input type="hidden" value="0" name="HQCCheckID" id="HQCCheckID"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>ç产çç»</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HGroupName" id="HGroupName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HGroupID" id="HGroupID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="get_checkGroup" id="get_checkGroup" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>çäº§èµæº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName" id="HSourceName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="get_checkSource" id="get_checkSource" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">è®¾å¤æ¸
å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceNameList" id="HSourceNameList" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å·¥æ¶</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkTimes" id="HWorkTimes" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs8 layui-inline"> |
| | | <label class="layui-form-label">夿³¨</label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="HRemark" id="HRemark" autocomplete="off" style=" width: 75%;"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--å¶åä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å¶å人</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å®¡æ ¸äºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HChecker" id="HChecker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å
³é人</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCloseMan" id="HCloseMan" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å¶åæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMakeDate" id="HMakeDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å®¡æ ¸æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å
³éæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¿®æ¹äºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUpDater" id="HUpDater" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä½åºäºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDeleteMan" id="HDeleteMan" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¿®æ¹æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUpDateDate" id="HUpDateDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä½åºæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab" lay-filter=""> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">æç»ä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <!--æç»ä¿¡æ¯--> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item"> |
| | | <table class="layui-hide" id="mainTable1" lay-filter="mainTable1"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <input type="hidden" name="HBillNo" id="HBillNo" value=""> |
| | | <input type="hidden" name="HInterID" id="HInterID" value="0"> |
| | | <input type="hidden" name="lngBillSubKey" id="lngBillSubKey" value="0"> |
| | | <input type="hidden" name="HICMOInterID" id="HICMOInterID" value="0"> |
| | | <input type="hidden" name="HICMOBillNo" id="HICMOBillNo" value=""> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" value="0"> |
| | | <input type="hidden" name="HMaterName" id="HMaterName" value=""> |
| | | <input type="hidden" name="HMaterNumber" id="HMaterNumber" value=""> |
| | | <input type="hidden" name="HMaterModel" id="HMaterModel" value=""> |
| | | <input type="hidden" name="HPieceQty" id="HPieceQty" value="0"> |
| | | <input type="hidden" name="HPlanQty" id="HPlanQty" value="0"> |
| | | <input type="hidden" name="HProcExchBillNo" id="HProcExchBillNo" value=""> |
| | | <input type="hidden" name="HICMOQty" id="HICMOQty" value="0"> |
| | | <input type="hidden" name="lngBillKey" id="lngBillKey" value="0"> |
| | | <input type="hidden" name="HOrderProcNO" id="HOrderProcNO" value=""> |
| | | <input type="hidden" name="HProcName" id="HProcName" value=""> |
| | | <input type="hidden" name="HProcID" id="HProcID" value="0"> |
| | | <input type="hidden" name="HCenterName" id="HCenterName" value=""> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0"> |
| | | <input type="hidden" name="eventType" id="eventType" value="Add"> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <script type="text/html" id="barDemo1"> |
| | | <!--<a class="layui-btn layui-btn-xs" lay-event="edit">ç¼è¾</a>--> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">å é¤</a> |
| | | </script> |
| | | <script> |
| | | |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index' //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'laydate', 'table', 'element'], function () { |
| | | |
| | | //#region å
¬ç¨åé |
| | | |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , form = layui.form |
| | | , laydate = layui.laydate |
| | | , element = layui.element |
| | | , util = layui.util; |
| | | var HMainEntryRow = 1;//åæ®å·åç¼ |
| | | var HqtyBill = 0;//è¿ç«åæ®æ°é |
| | | |
| | | //åå§è¡¨æ ¼æ°æ® |
| | | var option1 = { |
| | | elem: '#mainTable1' |
| | | , toolbar: '#toolbarDemo1' |
| | | , limit: 500 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , height: 'full-300' |
| | | , cellMinWidth: 110 |
| | | , totalRow: true |
| | | , cols: [[ //表头 |
| | | { type: 'checkbox', totalRowText: 'å计è¡' } |
| | | , { type: 'numbers', title: 'åºå·', totalRow: true } |
| | | , { field: 'HBillNo', title: 'åæ®å·' } |
| | | , { field: 'HInterID', title: '忮ID', hide: true } |
| | | , { field: 'HQty', title: 'æ°é' } |
| | | , { field: 'HProcExchBillNo', title: 'æµè½¬å¡' } |
| | | , { field: 'HICMOBillNo', title: 'ç产订å' } |
| | | , { field: 'HMaterNumber', title: '产å代ç ' } |
| | | , { field: 'HMaterName', title: '产ååç§°' } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·' } |
| | | , { field: 'HSourceName', title: 'çäº§èµæº' } |
| | | , { field: 'HGroupName', title: 'ç产çç»' } |
| | | , { field: 'HEmpName', title: 'æä½å' } |
| | | , { field: 'HMaker', title: 'å¶å人' } |
| | | , { |
| | | field: 'HMakeDate', title: 'å¶åæ¥æ', templet: function (d) { |
| | | if (d.HMakeDate == null) { |
| | | return ""; |
| | | } |
| | | return util.toDateString(d.HMakeDate, "yyyy-MM-dd HH:mm:ss"); |
| | | } |
| | | } |
| | | , { fixed: 'right', title: 'æä½', toolbar: '#barDemo1' } |
| | | ]] |
| | | , text: { |
| | | none: 'æ æ°æ®ï¼' |
| | | } |
| | | }; |
| | | //åå§å è½½è¡¨æ ¼ |
| | | option1.data = []; |
| | | table.render(option1); |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | | |
| | | //夿æ¯å¦ç»å½ æªç»å½åè·³å°ç»å½é¡µ |
| | | get_LoginIs(); |
| | | |
| | | //è·å页é¢è·³è½¬åæ° |
| | | var params = get_UrlVars(); |
| | | if (typeof (params[params[0]]) == "undefined") { |
| | | var OperationType = 1;//æä½ç±»å |
| | | } else { |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var linterid = params[params[1]];//æºåid |
| | | var HSouceBillType = params[params[2]];//æºåç±»å |
| | | } |
| | | //夿æä½ç±»å |
| | | if (OperationType == 1) {//æ æºåæ°å¢ |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | type: "GET", |
| | | data: { "HBillType": '3791' }, |
| | | success: function (d) { |
| | | //console.log(d.data); |
| | | $("#HMainInterID").val(d.data[0].HInterID); |
| | | $("#HMainBillNo").val(d.data[0].HBillNo); |
| | | $("#HDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HMakeDate").val(Pub_Format(new Date(), "yyyy-MM-dd hh:mm:ss")); |
| | | $("#HMaker").val(sessionStorage["HUserName"]); |
| | | layer.close(ajaxLoad); |
| | | } |
| | | }); |
| | | } |
| | | else if (OperationType == 2) {//ææºåæ°å¢ |
| | | |
| | | } |
| | | else if (OperationType == 3) {//ç¼è¾ |
| | | |
| | | } |
| | | else if (OperationType == 4) {//æµè§ |
| | | |
| | | } |
| | | else { |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //#region 触åäºä»¶ï¼å
æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç |
| | | |
| | | //#region éæ©çäº§èµæºæé® |
| | | form.on('submit(get_checkSource)', function () { |
| | | get_checkSource(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©çç»æé® |
| | | form.on('submit(get_checkGroup)', function () { |
| | | get_checkGroup(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©æä½åæé® |
| | | form.on('submit(get_checkEmp)', function () { |
| | | get_checkEmp(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©æ£éªåæé® |
| | | form.on('submit(get_checkEmp2)', function () { |
| | | get_checkEmp2(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region æ«æ¡å½¢ç (æµè½¬å¡) |
| | | $('#HBarCode').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | if ($("#HProcNo").val() == "") { |
| | | layer.msg("请è¾å
¥æµæ°´å·ï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HEmpID").val() == 0) { |
| | | layer.msg("è¯·éæ©æä½åï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HQty").val() == "") { |
| | | layer.msg("请å
å¡«ååæ ¼æ°éï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HQCCheckID").val() == 0) { |
| | | layer.msg("è¯·éæ©æ£éªåï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HGroupID").val() == 0) { |
| | | layer.msg("è¯·éæ©çç»ï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HSourceID").val() == 0) { |
| | | layer.msg("è¯·éæ©çäº§èµæºï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | txtHBarCode_KeyDown($("#HBarCode").val()); |
| | | } |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region æäº¤æé®(ä¿å) |
| | | form.on('submit(set_SaveBarCode)', function (data) {//æäº¤ |
| | | var oMain = data.field; |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Cj_StationOutBill/AddBill", |
| | | async: true, |
| | | data: { "oMain": oMain }, |
| | | dataType: "json", |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.close(index); |
| | | layer.msg("æ«ç åºç«æåï¼", { icon: 6 }); |
| | | $("#HBarCode").val(""); |
| | | HMainEntryRow++; |
| | | HqtyBill++; |
| | | $("#HqtyBill").val(HqtyBill); |
| | | //å è½½æç»ä¿¡æ¯ |
| | | get_BarCodeDetail(); |
| | | } |
| | | else { |
| | | layer.close(index); |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.close(index); |
| | | layer.msg("é误:" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éåºæé® |
| | | form.on('submit(Cancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | if (OperationType == 1) { |
| | | Pub_Close(2); |
| | | } else if (OperationType == 2) { |
| | | Pub_Close(1); |
| | | } |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | | //#region è¡å
äºä»¶ |
| | | table.on('tool(mainTable1)', function (obj) { |
| | | var rowData = obj.data; |
| | | //å é¤åæ® |
| | | if (obj.event === 'del') { |
| | | layer.confirm('ç¡®å®å é¤' + rowData.HBillNo + 'åï¼', function (index) { |
| | | var ajaxLoad = layer.load(); |
| | | //é»è¾å 餿¹æ³ |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_StationOutBill/del_StationOutBill', |
| | | type: "GET", |
| | | data: { "HInterID": rowData.HInterID, "HDeleteMan": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | get_BarCodeDetail(); |
| | | HqtyBill--; |
| | | $("#HqtyBill").val(HqtyBill); |
| | | layer.close(ajaxLoad); |
| | | layer.alert(result.Message, { icon: 6 }); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | layer.close(index); |
| | | }); |
| | | } |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region æµæ°´å·åè½¦æ¹æ³ |
| | | $('#HProcNo').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#HProcNo").attr("readonly", "readonly"); |
| | | $("#HProcNo").css("background-color", "#efefef4d"); |
| | | $("#HBarCode").focus(); |
| | | } |
| | | }); |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | |
| | | //#region 夿æ¯å¦ç»å½ æªç»å½åè·³å°ç»å½é¡µ |
| | | function get_LoginIs() { |
| | | if (sessionStorage.login != "login") { |
| | | layer.confirm("ç»å½å¤±æï¼è¯·éæ°ç»å½ï¼", { |
| | | icon: 4, skin: 'layui-layer-lan', title: "温馨æç¤º", closeBtn: 0, btn: ['éæ°ç»å½'] |
| | | }, function () { window.location.href = "../../user/login.html"; }); |
| | | } |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©çäº§èµæºæ¹æ³ |
| | | function get_checkSource() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'çäº§èµæºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/SourceInformation.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HSourceName").val(checkStatus.data[0].HName); |
| | | $("#HSourceID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©çç»æ¹æ³ |
| | | function get_checkGroup() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'çç»å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/GroupInformation.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HGroupName").val(checkStatus.data[0].HName); |
| | | $("#HGroupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©æä½åæ¹æ³ |
| | | function get_checkEmp() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'æä½åå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/UserInformation.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HEmpName").val(checkStatus.data[0].HName); |
| | | $("#HEmpID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©æ£éªåæ¹æ³ |
| | | function get_checkEmp2() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'æ£éªåå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/UserInformation.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HQCCheckName").val(checkStatus.data[0].HName); |
| | | $("#HQCCheckID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region æ«ç ä¿ååè°ç¨çæ¾ç¤ºæç»ä¿¡æ¯æ¹æ³ |
| | | function get_BarCodeDetail() { |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_StationOutBill/get_BarCodeDetail', |
| | | type: "GET", |
| | | data: { "HMainInterID": $("#HMainInterID").val() }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option1.data = data1.data; |
| | | table.render(option1); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | option1.data = []; |
| | | table.render(option1); |
| | | layer.close(ajaxLoad); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region è·åæµè½¬å¡ä¿¡æ¯ |
| | | function txtHBarCode_KeyDown(HBarCode) { |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Cj_StationEntrustInBill/txtHBarCode_KeyDown", |
| | | type: "GET", |
| | | data: { "HBarCode": HBarCode }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | var data = result.data[0]; |
| | | $("#HICMOInterID").val(data.hicmointerid); |
| | | $("#HICMOBillNo").val(data.ä»»å¡åå·); |
| | | $("#HMaterID").val(data.HMaterID); |
| | | $("#HMaterName").val(data.产å); |
| | | $("#HMaterNumber").val(data.产å代ç ); |
| | | $("#HMaterModel").val(data.è§æ ¼åå·); |
| | | $("#HPieceQty").val(data.æµè½¬å¡æ°é); |
| | | $("#HPlanQty").val(data.æµè½¬å¡æ°é); |
| | | $("#HProcExchBillNo").val(data.åæ®å·); |
| | | $("#HICMOQty").val(data.ä»»å¡åæ°é); |
| | | $("#lngBillKey").val(data.hmainid); |
| | | $("#HOrderProcNO").val(data.订åè·è¸ªå·); |
| | | layer.close(index); |
| | | $("#HProcNo").attr("readonly", "readonly"); |
| | | $("#HProcNo").css("background-color", "#efefef4d"); |
| | | txtHProcNo_KeyDown(HBarCode, $("#HProcNo").val()); |
| | | } |
| | | else { |
| | | layer.close(index); |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.close(index); |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥ï¼" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region è·åæµæ°´å·ä¿¡æ¯ |
| | | function txtHProcNo_KeyDown(sBillNo, sProcNo) { |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Cj_StationInBill/txtHProcNo_KeyDown", |
| | | type: "GET", |
| | | data: { "sBillNo": sBillNo, "sProcNo": sProcNo }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | var data = result.data[0]; |
| | | $("#lngBillSubKey").val(data.hsubid); |
| | | $("#HProcName").val(data.å·¥åº); |
| | | $("#HProcID").val(data.HProcID); |
| | | $("#HCenterName").val(data.å·¥ä½ä¸å¿); |
| | | $("#HCenterID").val(data.HCenterID); |
| | | layer.close(index); |
| | | //è·ååæ®ID |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | type: "GET", |
| | | data: { "HBillType": '3791' }, |
| | | success: function (d) { |
| | | //console.log(d.data); |
| | | $("#HInterID").val(d.data[0].HInterID); |
| | | $("#HBillNo").val($("#HMainBillNo").val() + "-" + HMainEntryRow); |
| | | layer.close(ajaxLoad); |
| | | //ä¿å |
| | | $("#set_SaveBarCode").click(); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.close(index); |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.close(index); |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥ï¼" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>å·¥ä½ä¸å¿</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCenterName" id="HCenterName" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HCenterName" id="HCenterName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="HWorkingProcedure-BT" id="HWorkingProcedure-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | |
| | | <!--<div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>å·¥ä½ä¸å¿</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCenterName" id="HCenterName" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0"> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs8 layui-inline"> |
| | |
| | | <input type="hidden" name="lngBillSubKey" id="lngBillSubKey" value="0"> |
| | | <input type="hidden" name="HMaker" id="HMaker"><!--å¶å人--> |
| | | <input type="hidden" name="eventType" id="eventType" value="Add"> |
| | | <input type="hidden" name="HMainInterID" id="HMainInterID" value="0"> |
| | | </form> |
| | | </div> |
| | | </div> |
| | |
| | | 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 HBillNo = params[params[3]];//åæ®å· |
| | | var closeType = params[params[4]]; //å
³éç±»å |
| | | } |
| | | /*åºå®ä»£ç ï¼æ¯å¼ åæ®é½è¦begin*/ |
| | | |
| | | //夿æ¯å¦æ°å¢ |
| | | if (OperationType == 1) { |
| | |
| | | }); |
| | | $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé®é»è®¤ç¦ç¨ |
| | | $('#set_AbandonCheck').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé®é»è®¤ç¦ç¨ |
| | | $('#set_Modify').addClass("layui-btn-disabled").attr("disabled", true);//ä¿®æ¹æé®ç¦ç¨ |
| | | } |
| | | else if(OperationType == 3){ |
| | | else if (OperationType == 3) { |
| | | $("#eventType").val("Modify"); |
| | | RoadBillMain(linterid); |
| | | $('#set_Modify').addClass("layui-btn-disabled").attr("disabled", true);//ä¿®æ¹æé®ç¦ç¨ |
| | |
| | | //è¿å
¥é¡µé¢é»è®¤å
æ 卿¡å½¢ç ä¸ |
| | | $("#HBarCode").focus(); |
| | | |
| | | //#region 触åäºä»¶ï¼å
æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç |
| | | //#region 触åäºä»¶ï¼å
æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç |
| | | |
| | | //#region æ°å¢æé® |
| | | form.on('submit(set_AddNew)', function () {//æäº¤ |
| | | layer.confirm('æ°å¢å页颿°æ®å°æ¶å¤±ï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.location.reload(); |
| | | location.replace('Cj_StationInBill.html?OperationType=1'); |
| | | }); |
| | | }) |
| | | //#endregion |
| | |
| | | form.on('submit(Cancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | if (OperationType == 1) { |
| | | Pub_Close(2); |
| | | Pub_Close(closeType); |
| | | } else if (OperationType == 3) { |
| | | Pub_Close(1); |
| | | } else if (OperationType == 4) { |
| | |
| | | }) |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | |
| | | //#region ä¿ååæµè§æ¹æ³ |
| | | function ReRoadBillMain() { |
| | | location.replace('Cj_StationInBill.html?OperationType=4&linterid=' + linterid + '&HSouceBillType='); |
| | | location.replace('Cj_StationInBill.html?OperationType=4&linterid=' + $("#HInterID").val() + '&HSouceBillType='); |
| | | } |
| | | //#endregion |
| | | |
| | |
| | | } else { |
| | | $('#set_AbandonCheck').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé®ç¦ç¨ |
| | | $('#set_CheckBill').removeClass("layui-btn-disabled").attr("disabled", false);//å®¡æ ¸æé®å¯ç¨ |
| | | } |
| | | if (OperationType == 3) { |
| | | $('#set_CheckBill').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé®ç¦ç¨ |
| | | $('#set_AbandonCheck').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé®ç¦ç¨ |
| | | } |
| | | PicUpload(); |
| | | layer.close(index); |
| | |
| | | }); |
| | | } |
| | | //#endregion |
| | | //#region ä¿ååæµè§æ¹æ³ |
| | | |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //æä»¶ä¸ä¼ |
| | |
| | | var ProImgByList = $('#ProImgByList') |
| | | , uploadListIns = upload.render({ |
| | | elem: '#testList' |
| | | |
| | | , url: GetWEBURL() + "/Cj_StationOutBill/UploadFile1" |
| | | , accept: 'file' |
| | | , multiple: true |
| | |
| | | //$("#HEmp").val(sessionStorage["HUserName"]); |
| | | $("#HMaker").val(sessionStorage["HUserName"]); |
| | | |
| | | |
| | | |
| | | |
| | | //æ¡å½¢ç åè½¦æ¹æ³ |
| | | $('#HBarCode').on('keydown', function (event) { |
| | |
| | | "HPieceQty": data.æµè½¬å¡æ°é, |
| | | "HPlanQty": data.æµè½¬å¡æ°é, |
| | | "HProcExchBillNo": data.åæ®å·, |
| | | "aa": data.hmainid, //æµè½¬å¡ä¸»å
ç |
| | | "HICMOQty": data.ä»»å¡åæ°é, |
| | | "lngBillKey": data.hmainid, |
| | | "HOrderProcNO": data.订åè·è¸ªå· |
| | |
| | | } |
| | | }) |
| | | }); |
| | | //鿩工ä½ä¸å¿å¼¹çª |
| | | form.on('submit(HWorkingProcedure-BT)', function () {//鿩工ä½ä¸å¿ |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | | , title: 'å·¥ä½ä¸å¿' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | //, maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WorkCenterList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function (index, layero) { |
| | | } |
| | | }) |
| | | //layer.msg('ç¦æ¢éæ©'); |
| | | }); |
| | | |
| | | //éæ©ä¾åºå |
| | | form.on('submit(btnSearchSup)', function () { |
| | |
| | | $("#HEmpName").val(obj[0].HName); |
| | | $("#HEmpID").val(obj[0].HItemID); |
| | | } |
| | | //è¿åå·¥ä½ä¸å¿ |
| | | function GetWorkCenterValue(obj) { //è¿åå·¥ä½ä¸å¿ |
| | | $("#HCenterName").val(obj[0].å·¥ä½ä¸å¿); |
| | | $("#HCenterID").val(obj[0].HItemID); |
| | | } |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |
| | | </html> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä»»å¡åå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWorkBillNo" id="HWorkBillNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åæ®å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å·¥åºæµè½¬å¡å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="å·¥åºæµè½¬å¡å·" id="å·¥åºæµè½¬å¡å·"> |
| | |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Add" id="btn-Add"><i class="layui-icon layui-icon-add-1"></i>æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Edit" id="btn-Edit"><i class="layui-icon layui-icon-edit"></i>ç¼è¾</button> |
| | | <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-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-Print" id="btn-Print"><i class="layui-icon layui-icon-circle"></i>é¢è§</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Cell" id="btn-Cell"><i class="layui-icon layui-icon-ok"></i>ä¿åå宽</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-RefreshCell" id="btn-RefreshCell"><i class="layui-icon layui-icon-refresh"></i>é»è®¤å宽</button> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Print" id="btn-Print"><i class="layui-icon layui-icon-circle"></i>é¢è§</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Cell" id="btn-Cell"><i class="layui-icon layui-icon-ok"></i>ä¿åå宽</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-RefreshCell" id="btn-RefreshCell"><i class="layui-icon layui-icon-refresh"></i>é»è®¤å宽</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Exit" id="btn-Exit">éåº</button> |
| | | </div> |
| | | </script> |
| | |
| | | get_FastQuery(); |
| | | }); |
| | | |
| | | //ç产订ååè½¦æ¹æ³ |
| | | $('#HWorkBillNo').on('keydown', function (event) { |
| | | var HWorkBillNo = $('#HWorkBillNo').val(); |
| | | if (event.keyCode == 13) { |
| | | if (!HWorkBillNo) { |
| | | layer.msg("ä»»å¡åå·ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } |
| | | $("#btnSearch").click(); |
| | | } |
| | | }); |
| | | //åæ®å·åè½¦æ¹æ³ |
| | | $('#HBillNo').on('keydown', function (event) { |
| | | var HBillNo = $('#HBillNo').val(); |
| | | if (event.keyCode == 13) { |
| | | if (!HBillNo) { |
| | | layer.msg("åæ®å·ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } |
| | | $("#btnSearch").click(); |
| | | } |
| | | }); |
| | | //å·¥åºæµè½¬å¡åè½¦æ¹æ³ |
| | | $('#å·¥åºæµè½¬å¡å·').on('keydown', function (event) { |
| | | var HStepBillNo = $('#å·¥åºæµè½¬å¡å·').val(); |
| | | if (event.keyCode == 13) { |
| | | if (!HStepBillNo) { |
| | | layer.msg("å·¥åºæµè½¬å¡å·ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } |
| | | $("#btnSearch").click(); |
| | | } |
| | | }); |
| | | |
| | | //头工å
·æ äºä»¶ |
| | | table.on('toolbar(mainTable)', function (obj) { |
| | | switch (obj.event) { |
| | |
| | | case 'btn-Edit': set_ShowBill(); |
| | | break; |
| | | //å é¤ |
| | | case 'btn-Delete': layer.msg('å é¤'); |
| | | case 'btn-Delete': btn_Delete(); |
| | | break; |
| | | //å®¡æ ¸ |
| | | case 'btn-Audit': set_CheckBill(); |
| | | break; |
| | | //åå®¡æ ¸ |
| | | case 'btn-DeAudit': layer.msg('åå®¡æ ¸ï¼'); |
| | | case 'btn-DeAudit': set_AbandonCheck(); |
| | | break; |
| | | //馿£ |
| | | case 'btn-FirstPieceCheck': set_FirstPieceCheck(); |
| | |
| | | }); |
| | | |
| | | |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | |
| | | //#regionç¼è¾å夿 |
| | | function set_ShowBillJudge(data) { |
| | |
| | | } |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //åè½æé®æ¯å¦ç¦ç¨æ¹æ³ï¼æ¯æ¬¡å è½½è¡¨æ ¼é½è¦è°ç¨ |
| | | function btnIs() { |
| | | //$('#btn-Add').addClass("layui-btn-disabled").attr("disabled", true);//æ°å¢æé® |
| | | $('#btn-Delete').addClass("layui-btn-disabled").attr("disabled", true);//å é¤æé® |
| | | $('#btn-Audit').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé® |
| | | $('#btn-DeAudit').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé® |
| | | //$('#btn-Delete').addClass("layui-btn-disabled").attr("disabled", true);//å é¤æé® |
| | | //$('#btn-Audit').addClass("layui-btn-disabled").attr("disabled", true);//å®¡æ ¸æé® |
| | | //$('#btn-DeAudit').addClass("layui-btn-disabled").attr("disabled", true);//åå®¡æ ¸æé® |
| | | $('#btn-Print').addClass("layui-btn-disabled").attr("disabled", true);//é¢è§æé® |
| | | $('#btn-Cell').addClass("layui-btn-disabled").attr("disabled", true);//ä¿åå宽æé® |
| | | $('#btn-RefreshCell').addClass("layui-btn-disabled").attr("disabled", true);//é»è®¤å宽æé® |
| | |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } |
| | | , { field: 'ä»»å¡å', title: 'ä»»å¡å' } |
| | | , { field: 'åæ®å·', title: 'åæ®å·' } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·' } |
| | | , { field: 'ä»»å¡å', title: 'ä»»å¡å', width: 125 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 190 } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·', width: 125 } |
| | | , { field: 'HProcID', title: 'HProcID', hide: true } |
| | | , { field: 'å½åå·¥åºä»£ç ', title: 'å½åå·¥åºä»£ç ' } |
| | | , { field: 'å½åå·¥åºä»£ç ', title: 'å½åå·¥åºä»£ç ', width: 125 } |
| | | , { field: 'å½åå·¥åº', title: 'å½åå·¥åº' } |
| | | , { field: 'HMaterID', title: 'HMaterID', hide: true } |
| | | , { field: '产å代ç ', title: '产å代ç ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 125 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·' } |
| | | , { |
| | | field: 'è¿ç«æ¶é´', title: 'è¿ç«æ¶é´', width: 105, templet: function (d) { |
| | |
| | | } |
| | | } |
| | | , { field: 'HEmpID', title: 'HEmpID', hide: true } |
| | | , { field: 'æä½å代ç ', title: 'æä½å代ç ' } |
| | | , { field: 'æä½å代ç ', title: 'æä½å代ç ', width: 125 } |
| | | , { field: 'æä½å', title: 'æä½å' } |
| | | , { field: 'HSourceID', title: 'HSourceID', hide: true } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ' } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ', width: 125 } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº' } |
| | | , { field: 'HGroupID', title: 'HGroupID', hide: true } |
| | | , { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ' } |
| | | , { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ', width: 125 } |
| | | , { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ', width: 125 } |
| | | , { field: 'ç产çç»', title: 'ç产çç»' } |
| | | , { field: 'LOTæ°é', title: 'LOTæ°é' } |
| | | , { field: 'æ¥æ¶æ°é', title: 'æ¥æ¶æ°é' } |
| | |
| | | function get_FastQuery() { |
| | | var HStatus = $("select[name='HStatus']").val();//ç¶æ |
| | | var å·¥åºæµè½¬å¡å· = $("#å·¥åºæµè½¬å¡å·").val(); |
| | | var HWorkBillNo = $("#HWorkBillNo").val(); //ä»»å¡åå· |
| | | var HBillNo = $("#HBillNo").val(); //åæ®å· |
| | | var HBeginDate = $("#HBeginDate").val();//å¼å§æ¥æ |
| | | var HEndDate = $("#HEndDate").val();//ç»ææ¥æ |
| | | if (å·¥åºæµè½¬å¡å·) { |
| | |
| | | } |
| | | if (HEndDate) { |
| | | sWhere += " and CONVERT(varchar(100),è¿ç«æ¶é´, 23) <= '" + HEndDate + "'"; |
| | | } |
| | | if (HWorkBillNo) { |
| | | sWhere += " and ä»»å¡å like '%" + HWorkBillNo + "%'"; |
| | | } |
| | | if (HBillNo) { |
| | | sWhere += " and åæ®å· like '%" + HBillNo + "%'"; |
| | | } |
| | | if (HStatus) { |
| | | switch (HStatus) { |
| | |
| | | |
| | | //éç½®è¿æ»¤æ¡ä»¶ |
| | | function set_ClearQuery() { |
| | | $("#HWorkBillNo").val(); |
| | | $("#HBillNo").val(""); |
| | | $("#å·¥åºæµè½¬å¡å·").val(""); |
| | | $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | //ç¼è¾å夿 |
| | | //set_ShowBillJudge(data); |
| | | //æå¼ç¼è¾é¡µé¢ |
| | | set_ShowBill_open(data); |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | | } |
| | | } |
| | | |
| | | //å é¤åæ® |
| | | function btn_Delete() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | layer.confirm('ç¡®å®å é¤' + data[0].åæ®å· + 'åï¼', function (index) { |
| | | var ajaxLoad = layer.load(); |
| | | //é»è¾å 餿¹æ³ |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_StationInBill/del_StationInBill', |
| | | type: "GET", |
| | | data: { "HInterID": data[0].HInterID, "HDeleteMan": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | get_FastQuery(); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | layer.close(index); |
| | | }); |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | | } |
| | |
| | | , shade: 0.6 |
| | | , maxmin: false |
| | | , anim: 0 |
| | | , content: ['Cj_StationInBill.html?OperationType=' + 1 + '&linterid=' + 0 +'&HBillNo'+0, 'yes'] |
| | | , content: ['Cj_StationInBill.html?OperationType=1&linterid=0&HSouceBillType=&HBillNo=0&closeType=1', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | btnIs(); |
| | |
| | | , shade: 0.6 |
| | | , maxmin: false |
| | | , anim: 0 |
| | | , content: ['../../è´¨é管ç/é¦ä»¶æ£éªå/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=' + 3790, 'yes'] |
| | | , content: ['../../è´¨é管ç/é¦ä»¶æ£éªå/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid + '&HSouceBillType=3790&HICMOEntryID=0', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | btnIs(); |
| | | } |
| | | ,end: function () { |
| | | , end: function () { |
| | | get_FastQuery(table, option); |
| | | } |
| | | }) |
| | |
| | | |
| | | //éåº |
| | | function get_Exit() { |
| | | parent.layui.admin.events.closeThisTabs(); |
| | | Pub_Close(2); |
| | | } |
| | | |
| | | //å®¡æ ¸ |
| | |
| | | url: GetWEBURL() + "/Cj_StationInBill/set_CheckBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 0) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |
| | | get_FastQuery(table, option); |
| | | } else { |
| | |
| | | } |
| | | } |
| | | |
| | | //åå®¡æ ¸ |
| | | function set_AbandonCheck() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | //é»è¾å®¡æ ¸æ¹æ³ |
| | | var wait = layer.load(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Cj_StationInBill/set_AbandonCheck", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "CurUserName": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |
| | | get_FastQuery(table, option); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | layer.close(wait); |
| | | }, error: function () { |
| | | layer.close(wait); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®å®¡æ ¸ï¼'); |
| | | } |
| | | } |
| | | |
| | | //以䏿¯layui模å |
| | | }); |
| | |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8" /> |
| | | <title>å·¥åºè¿ç«æ¥æ¶åæ¹é</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | <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 src="../../../layuiadmin/PubCustom.js"></script> |
| | | <style> |
| | | .layui-form-item .layui-inline { |
| | | margin-right: 0; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid" style="padding: 0;"> |
| | | <div class="layui-card" style="padding: 15px;"> |
| | | <div class="layui-card-body" style="padding: 1px;"> |
| | | <form class="layui-form" lay-filter="component-form-group" action=""> |
| | | <div class="layui-card-header"> |
| | | <div class="layui-btn-group"> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">éåº</button> |
| | | <button type="button" id="set_SaveBarCode" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_SaveBarCode" style="display:none;">æ«ç ä¿å</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <h2>å·¥åºè¿ç«æ¥æ¶å(æ¹é)</h2> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æµæ°´å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HProcNo" id="HProcNo" placeholder="请è¾å
¥æµæ°´å·" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <h2 style="float: left;">å·²è¿ç«</h2> |
| | | <input type="text" name="HqtyBill" id="HqtyBill" value="0" style="width: 30px; border: none; text-align: center; font-size: 24px; "> |
| | | <h2 style="float: right;">å¼ åæ®</h2> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <h2></h2> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æ¡å½¢ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HBarCode" id="HBarCode" placeholder="请è¾å
¥åå车" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab" lay-filter=""> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">åºæ¬ä¿¡æ¯</li> |
| | | <li lay-id="2" style="padding:1px;">å¶åä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <!--åºæ¬ä¿¡æ¯--> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>䏻忮å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMainBillNo" id="HMainBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HMainInterID" id="HMainInterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>åæ®æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDate" id="HDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æ¥æ¶æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HQty" id="HQty"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>çäº§èµæº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName" id="HSourceName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="get_checkSource" id="get_checkSource" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>ç产çç»</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HGroupName" id="HGroupName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HGroupID" id="HGroupID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="get_checkGroup" id="get_checkGroup" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label"><span style="color:red;">*</span>æ¥æ¶äºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEmpName" id="HEmpName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="get_checkEmp" id="get_checkEmp" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs8 layui-inline"> |
| | | <label class="layui-form-label">夿³¨</label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="HRemark" id="HRemark" autocomplete="off" style=" width: 75%;"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--å¶åä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å¶å人</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å®¡æ ¸äºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HChecker" id="HChecker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å
³é人</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCloseMan" id="HCloseMan" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å¶åæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMakeDate" id="HMakeDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å®¡æ ¸æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å
³éæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¿®æ¹äºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUpDater" id="HUpDater" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä½åºäºº</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDeleteMan" id="HDeleteMan" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¿®æ¹æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUpDateDate" id="HUpDateDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä½åºæ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab" lay-filter=""> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">æç»ä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <!--æç»ä¿¡æ¯--> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item"> |
| | | <table class="layui-hide" id="mainTable1" lay-filter="mainTable1"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <input type="hidden" name="HBillNo" id="HBillNo" value=""> |
| | | <input type="hidden" name="HInterID" id="HInterID" value="0"> |
| | | <input type="hidden" name="lngBillSubKey" id="lngBillSubKey" value="0"> |
| | | <input type="hidden" name="HICMOInterID" id="HICMOInterID" value="0"> |
| | | <input type="hidden" name="lngICMOEntryID" id="lngICMOEntryID" value="0"> |
| | | <input type="hidden" name="HICMOBillNo" id="HICMOBillNo" value=""> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" value="0"> |
| | | <input type="hidden" name="HMaterName" id="HMaterName" value=""> |
| | | <input type="hidden" name="HMaterNumber" id="HMaterNumber" value=""> |
| | | <input type="hidden" name="HMaterModel" id="HMaterModel" value=""> |
| | | <input type="hidden" name="HPieceQty" id="HPieceQty" value="0"> |
| | | <input type="hidden" name="HPlanQty" id="HPlanQty" value="0"> |
| | | <input type="hidden" name="HProcExchBillNo" id="HProcExchBillNo" value=""> |
| | | <input type="hidden" name="HICMOQty" id="HICMOQty" value="0"> |
| | | <input type="hidden" name="lngBillKey" id="lngBillKey" value="0"> |
| | | <input type="hidden" name="HOrderProcNO" id="HOrderProcNO" value=""> |
| | | <input type="hidden" name="HProcName" id="HProcName" value=""> |
| | | <input type="hidden" name="HProcID" id="HProcID" value="0"> |
| | | <input type="hidden" name="HCenterName" id="HCenterName" value=""> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0"> |
| | | <input type="hidden" name="eventType" id="eventType" value="Add"> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <script type="text/html" id="barDemo1"> |
| | | <!--<a class="layui-btn layui-btn-xs" lay-event="edit">ç¼è¾</a>--> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">å é¤</a> |
| | | </script> |
| | | <script> |
| | | |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index' //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'laydate', 'table', 'element'], function () { |
| | | |
| | | //#region å
¬ç¨åé |
| | | |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , form = layui.form |
| | | , laydate = layui.laydate |
| | | , element = layui.element |
| | | , util = layui.util; |
| | | var HMainEntryRow = 1;//åæ®å·åç¼ |
| | | var HqtyBill = 0;//è¿ç«åæ®æ°é |
| | | |
| | | //åå§è¡¨æ ¼æ°æ® |
| | | var option1 = { |
| | | elem: '#mainTable1' |
| | | , toolbar: '#toolbarDemo1' |
| | | , limit: 500 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , height: 'full-300' |
| | | , cellMinWidth: 110 |
| | | , totalRow: true |
| | | , cols: [[ //表头 |
| | | { type: 'checkbox', totalRowText: 'å计è¡' } |
| | | , { type: 'numbers', title: 'åºå·', totalRow: true } |
| | | , { field: 'HBillNo', title: 'åæ®å·' } |
| | | , { field: 'HInterID', title: '忮ID', hide: true } |
| | | , { field: 'HQty', title: 'æ°é' } |
| | | , { field: 'HProcExchBillNo', title: 'æµè½¬å¡' } |
| | | , { field: 'HICMOBillNo', title: 'ç产订å' } |
| | | , { field: 'HMaterNumber', title: '产å代ç ' } |
| | | , { field: 'HMaterName', title: '产ååç§°' } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·' } |
| | | , { field: 'HSourceName', title: 'çäº§èµæº' } |
| | | , { field: 'HGroupName', title: 'ç产çç»' } |
| | | , { field: 'HEmpName', title: 'æ¥æ¶äºº' } |
| | | , { field: 'HMaker', title: 'å¶å人' } |
| | | , { |
| | | field: 'HMakeDate', title: 'å¶åæ¥æ', templet: function (d) { |
| | | if (d.HMakeDate == null) { |
| | | return ""; |
| | | } |
| | | return util.toDateString(d.HMakeDate, "yyyy-MM-dd HH:mm:ss"); |
| | | } |
| | | } |
| | | , { fixed: 'right', title: 'æä½', toolbar: '#barDemo1' } |
| | | ]] |
| | | , text: { |
| | | none: 'æ æ°æ®ï¼' |
| | | } |
| | | }; |
| | | //åå§å è½½è¡¨æ ¼ |
| | | option1.data = []; |
| | | table.render(option1); |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | | |
| | | //夿æ¯å¦ç»å½ æªç»å½åè·³å°ç»å½é¡µ |
| | | get_LoginIs(); |
| | | |
| | | //è·å页é¢è·³è½¬åæ° |
| | | var params = get_UrlVars(); |
| | | if (typeof (params[params[0]]) == "undefined") { |
| | | var OperationType = 1;//æä½ç±»å |
| | | } else { |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var linterid = params[params[1]];//æºåid |
| | | var HSouceBillType = params[params[2]];//æºåç±»å |
| | | } |
| | | //夿æä½ç±»å |
| | | if (OperationType == 1) {//æ æºåæ°å¢ |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | type: "GET", |
| | | data: { "HBillType": '3790' }, |
| | | success: function (d) { |
| | | //console.log(d.data); |
| | | $("#HMainInterID").val(d.data[0].HInterID); |
| | | $("#HMainBillNo").val(d.data[0].HBillNo); |
| | | $("#HDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HMakeDate").val(Pub_Format(new Date(), "yyyy-MM-dd hh:mm:ss")); |
| | | $("#HMaker").val(sessionStorage["HUserName"]); |
| | | layer.close(ajaxLoad); |
| | | } |
| | | }); |
| | | } |
| | | else if (OperationType == 2) {//ææºåæ°å¢ |
| | | |
| | | } |
| | | else if (OperationType == 3) {//ç¼è¾ |
| | | |
| | | } |
| | | else if (OperationType == 4) {//æµè§ |
| | | |
| | | } |
| | | else { |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //#region 触åäºä»¶ï¼å
æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç |
| | | |
| | | //#region éæ©çäº§èµæºæé® |
| | | form.on('submit(get_checkSource)', function () { |
| | | get_checkSource(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©çç»æé® |
| | | form.on('submit(get_checkGroup)', function () { |
| | | get_checkGroup(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©æ¥æ¶äººæé® |
| | | form.on('submit(get_checkEmp)', function () { |
| | | get_checkEmp(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region æ«æ¡å½¢ç (æµè½¬å¡) |
| | | $('#HBarCode').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | if ($("#HProcNo").val() == "") { |
| | | layer.msg("请è¾å
¥æµæ°´å·ï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HQty").val() == "") { |
| | | layer.msg("请å
å¡«åæ¥æ¶æ°éï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HSourceID").val() == 0) { |
| | | layer.msg("è¯·éæ©çäº§èµæºï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HGroupID").val() == 0) { |
| | | layer.msg("è¯·éæ©çç»ï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | if ($("#HEmpID").val() == 0) { |
| | | layer.msg("è¯·éæ©æ¥æ¶äººï¼", { icon: 7 }); |
| | | $("#HBarCode").val(""); |
| | | return; |
| | | } |
| | | txtHBarCode_KeyDown($("#HBarCode").val()); |
| | | } |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region æäº¤æé®(ä¿å) |
| | | form.on('submit(set_SaveBarCode)', function (data) {//æäº¤ |
| | | var oMain = data.field; |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Cj_StationInBill/AddBill", |
| | | async: true, |
| | | data: { "oMain": oMain }, |
| | | dataType: "json", |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.close(index); |
| | | layer.msg("æ«ç è¿ç«æåï¼", { icon: 6 }); |
| | | $("#HBarCode").val(""); |
| | | HMainEntryRow++; |
| | | HqtyBill++; |
| | | $("#HqtyBill").val(HqtyBill); |
| | | //å è½½æç»ä¿¡æ¯ |
| | | get_BarCodeDetail(); |
| | | } |
| | | else { |
| | | layer.close(index); |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.close(index); |
| | | layer.msg("é误:" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éåºæé® |
| | | form.on('submit(Cancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | if (OperationType == 1) { |
| | | Pub_Close(2); |
| | | } else if (OperationType == 2) { |
| | | Pub_Close(1); |
| | | } |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | | //#region è¡å
äºä»¶ |
| | | table.on('tool(mainTable1)', function (obj) { |
| | | var rowData = obj.data; |
| | | //å é¤åæ® |
| | | if (obj.event === 'del') { |
| | | layer.confirm('ç¡®å®å é¤' + rowData.HBillNo + 'åï¼', function (index) { |
| | | var ajaxLoad = layer.load(); |
| | | //é»è¾å 餿¹æ³ |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_StationInBill/del_StationInBill', |
| | | type: "GET", |
| | | data: { "HInterID": rowData.HInterID, "HDeleteMan": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | get_BarCodeDetail(); |
| | | HqtyBill--; |
| | | $("#HqtyBill").val(HqtyBill); |
| | | layer.close(ajaxLoad); |
| | | layer.alert(result.Message, { icon: 6 }); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | layer.close(index); |
| | | }); |
| | | } |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region æµæ°´å·åè½¦æ¹æ³ |
| | | $('#HProcNo').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#HProcNo").attr("readonly", "readonly"); |
| | | $("#HProcNo").css("background-color", "#efefef4d"); |
| | | $("#HBarCode").focus(); |
| | | } |
| | | }); |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | |
| | | //#region 夿æ¯å¦ç»å½ æªç»å½åè·³å°ç»å½é¡µ |
| | | function get_LoginIs() { |
| | | if (sessionStorage.login != "login") { |
| | | layer.confirm("ç»å½å¤±æï¼è¯·éæ°ç»å½ï¼", { |
| | | icon: 4, skin: 'layui-layer-lan', title: "温馨æç¤º", closeBtn: 0, btn: ['éæ°ç»å½'] |
| | | }, function () { window.location.href = "../../user/login.html"; }); |
| | | } |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©çäº§èµæºæ¹æ³ |
| | | function get_checkSource() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'çäº§èµæºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/SourceInformation.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HSourceName").val(checkStatus.data[0].HName); |
| | | $("#HSourceID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©çç»æ¹æ³ |
| | | function get_checkGroup() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'çç»å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/GroupInformation.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HGroupName").val(checkStatus.data[0].HName); |
| | | $("#HGroupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©æ£éªåæ¹æ³ |
| | | function get_checkEmp() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'æ£éªåå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/UserInformation.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HEmpName").val(checkStatus.data[0].HName); |
| | | $("#HEmpID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region æ«ç ä¿ååè°ç¨çæ¾ç¤ºæç»ä¿¡æ¯æ¹æ³ |
| | | function get_BarCodeDetail() { |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_StationInBill/get_BarCodeDetail', |
| | | type: "GET", |
| | | data: { "HMainInterID": $("#HMainInterID").val() }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option1.data = data1.data; |
| | | table.render(option1); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | option1.data = []; |
| | | table.render(option1); |
| | | layer.close(ajaxLoad); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region è·åæµè½¬å¡ä¿¡æ¯ |
| | | function txtHBarCode_KeyDown(HBarCode) { |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Cj_StationEntrustInBill/txtHBarCode_KeyDown", |
| | | type: "GET", |
| | | data: { "HBarCode": HBarCode }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | var data = result.data[0]; |
| | | $("#HICMOInterID").val(data.hicmointerid); |
| | | $("#lngICMOEntryID").val(data.lngICMOEntryID); |
| | | $("#HICMOBillNo").val(data.ä»»å¡åå·); |
| | | $("#HMaterID").val(data.HMaterID); |
| | | $("#HMaterName").val(data.产å); |
| | | $("#HMaterNumber").val(data.产å代ç ); |
| | | $("#HMaterModel").val(data.è§æ ¼åå·); |
| | | $("#HPieceQty").val(data.æµè½¬å¡æ°é); |
| | | $("#HPlanQty").val(data.æµè½¬å¡æ°é); |
| | | $("#HProcExchBillNo").val(data.åæ®å·); |
| | | $("#HICMOQty").val(data.ä»»å¡åæ°é); |
| | | $("#lngBillKey").val(data.hmainid); |
| | | $("#HOrderProcNO").val(data.订åè·è¸ªå·); |
| | | layer.close(index); |
| | | $("#HProcNo").attr("readonly", "readonly"); |
| | | $("#HProcNo").css("background-color", "#efefef4d"); |
| | | txtHProcNo_KeyDown(HBarCode, $("#HProcNo").val()); |
| | | } |
| | | else { |
| | | layer.close(index); |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.close(index); |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥ï¼" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region è·åæµæ°´å·ä¿¡æ¯ |
| | | function txtHProcNo_KeyDown(sBillNo, sProcNo) { |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Cj_StationInBill/txtHProcNo_KeyDown", |
| | | type: "GET", |
| | | data: { "sBillNo": sBillNo, "sProcNo": sProcNo }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | var data = result.data[0]; |
| | | $("#lngBillSubKey").val(data.hsubid); |
| | | $("#HProcName").val(data.å·¥åº); |
| | | $("#HProcID").val(data.HProcID); |
| | | $("#HCenterName").val(data.å·¥ä½ä¸å¿); |
| | | $("#HCenterID").val(data.HCenterID); |
| | | layer.close(index); |
| | | //è·ååæ®ID |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | type: "GET", |
| | | data: { "HBillType": '3790' }, |
| | | success: function (d) { |
| | | //console.log(d.data); |
| | | $("#HInterID").val(d.data[0].HInterID); |
| | | $("#HBillNo").val($("#HMainBillNo").val() + "-" + HMainEntryRow); |
| | | layer.close(ajaxLoad); |
| | | //ä¿å |
| | | $("#set_SaveBarCode").click(); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.close(index); |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.close(index); |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥ï¼" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |