From e931c54b14724641959d4ad31b13da859f69e4eb Mon Sep 17 00:00:00 2001 From: wyb <1qaz@123> Date: 星期五, 28 五月 2021 15:11:08 +0800 Subject: [PATCH] 职员、单位、生产资源、不良原因、货币复选框优化 --- WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_Currency.html | 7 +++ WebTM/Properties/PublishProfiles/LAYUI.pubxml.user | 16 ++++---- WebTM/views/基础资料/生产基础资料/Add_Edit_Gy_Source.html | 7 +++ WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_Unit.html | 7 +++ WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_Employee.html | 62 ++++++++++++++++++++++++++++-- WebTM/views/基础资料/生产基础资料/Add_Edit_Gy_BadReason.html | 7 +++ 6 files changed, 89 insertions(+), 17 deletions(-) diff --git a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user index 63de281..84ae889 100644 --- a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user +++ b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user @@ -5,7 +5,7 @@ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <_PublishTargetUrl>D:\缃戠珯鍙戝竷\鏅轰簯MESWMS\LAYUI</_PublishTargetUrl> - <History>True|2021-05-28T05:57:27.0842735Z;True|2021-05-28T09:43:20.1440634+08:00;True|2021-05-28T09:18:20.6994283+08:00;True|2021-05-27T17:48:05.1485157+08:00;True|2021-05-27T14:12:24.8809260+08:00;True|2021-05-27T13:55:41.4584398+08:00;True|2021-05-27T13:38:04.4939557+08:00;True|2021-05-25T17:58:59.4925936+08:00;True|2021-05-25T17:34:39.0766301+08:00;True|2021-05-25T16:52:27.5836825+08:00;True|2021-05-25T16:17:11.2915197+08:00;True|2021-05-25T15:56:40.9073807+08:00;True|2021-05-25T15:55:13.6625654+08:00;True|2021-05-25T14:19:47.6594488+08:00;True|2021-05-25T13:29:54.4902763+08:00;True|2021-05-25T10:07:46.4913499+08:00;True|2021-05-25T10:07:00.5180012+08:00;True|2021-05-25T10:03:19.5172048+08:00;True|2021-05-25T10:03:14.0017887+08:00;True|2021-05-25T09:56:45.2214181+08:00;True|2021-05-25T09:40:44.7928610+08:00;True|2021-05-25T09:39:54.9824104+08:00;True|2021-05-21T15:22:12.2171707+08:00;True|2021-05-21T15:19:42.7333615+08:00;True|2021-05-21T11:29:58.3974818+08:00;True|2021-05-21T11:28:09.4616811+08:00;True|2021-05-21T10:47:41.8471117+08:00;True|2021-05-21T10:22:07.2445648+08:00;True|2021-05-21T10:17:03.7723841+08:00;True|2021-05-20T19:16:06.9191828+08:00;True|2021-05-20T15:55:05.5871601+08:00;True|2021-05-20T14:29:30.2254277+08:00;True|2021-05-20T14:25:34.5236240+08:00;True|2021-05-20T14:20:39.0358706+08:00;True|2021-05-20T13:48:02.9388392+08:00;True|2021-05-20T13:39:47.1587014+08:00;True|2021-05-20T13:31:23.4635763+08:00;True|2021-05-20T10:45:56.3395800+08:00;True|2021-05-20T10:40:02.3046411+08:00;True|2021-05-20T08:58:30.2138098+08:00;True|2021-05-19T17:30:07.9866409+08:00;True|2021-05-19T16:35:53.3131106+08:00;True|2021-05-19T15:31:29.5405517+08:00;True|2021-05-19T10:47:11.4381053+08:00;True|2021-05-18T15:34:44.5123556+08:00;True|2021-05-18T15:33:45.3281373+08:00;True|2021-05-18T13:36:24.3027108+08:00;True|2021-05-18T10:30:46.9715813+08:00;True|2021-05-17T16:30:52.0536279+08:00;True|2021-05-17T16:25:48.5246048+08:00;True|2021-05-17T16:23:09.2504235+08:00;True|2021-05-17T16:20:08.1040765+08:00;True|2021-05-17T16:18:13.0021838+08:00;True|2021-05-17T15:49:53.5154178+08:00;True|2021-05-17T15:20:53.2553451+08:00;True|2021-05-17T13:22:30.1785650+08:00;True|2021-05-12T09:19:40.6104101+08:00;True|2021-05-12T08:51:31.1903832+08:00;True|2021-05-11T17:54:23.2917461+08:00;True|2021-05-11T17:41:51.8743268+08:00;True|2021-05-11T15:35:42.7284799+08:00;True|2021-05-11T15:21:56.5628091+08:00;True|2021-05-10T16:46:03.1180467+08:00;True|2021-05-10T16:15:39.9956955+08:00;True|2021-05-08T19:06:57.2743132+08:00;True|2021-05-08T19:05:29.1103688+08:00;True|2021-05-08T19:04:19.9539329+08:00;True|2021-05-08T18:01:38.7928100+08:00;True|2021-05-08T17:52:29.7429021+08:00;True|2021-05-08T17:48:25.9203761+08:00;True|2021-05-08T17:47:15.0602917+08:00;True|2021-05-08T17:43:27.4889222+08:00;True|2021-05-08T17:39:59.4612336+08:00;True|2021-05-08T17:39:33.4978946+08:00;True|2021-05-08T17:39:29.0267002+08:00;True|2021-05-08T17:37:47.5853967+08:00;True|2021-05-08T15:29:49.3055657+08:00;True|2021-05-08T15:27:07.7824934+08:00;True|2021-05-08T14:52:00.4322071+08:00;True|2021-05-08T14:30:25.4769844+08:00;True|2021-05-08T14:20:25.2085810+08:00;True|2021-05-08T13:22:50.6523779+08:00;True|2021-05-08T13:22:45.2166230+08:00;True|2021-05-08T10:18:30.8161572+08:00;True|2021-05-07T20:22:41.7365405+08:00;True|2021-05-07T20:20:31.3610753+08:00;True|2021-05-07T20:20:19.7448959+08:00;True|2021-05-07T20:03:14.9285946+08:00;True|2021-05-07T09:04:49.9965754+08:00;True|2021-05-06T18:08:51.9761525+08:00;True|2021-05-06T17:25:04.5129323+08:00;True|2021-05-06T17:18:48.0130806+08:00;True|2021-05-06T16:27:20.4296013+08:00;True|2021-05-06T16:21:58.2678114+08:00;True|2021-05-06T16:19:59.7383975+08:00;True|2021-05-06T16:17:38.0581420+08:00;True|2021-05-06T16:13:32.0399307+08:00;True|2021-05-06T16:12:43.4430581+08:00;True|2021-05-06T15:03:01.2067903+08:00;True|2021-05-06T15:00:38.4937170+08:00;True|2021-05-06T15:00:20.9792819+08:00;True|2021-05-06T14:47:13.8375625+08:00;True|2021-05-06T14:47:08.2656998+08:00;True|2021-05-06T14:31:31.6193969+08:00;True|2021-05-06T14:30:30.7221216+08:00;True|2021-05-06T14:29:07.9915201+08:00;True|2021-05-06T10:03:10.3335348+08:00;True|2021-04-28T10:26:58.1316805+08:00;True|2021-04-27T16:36:16.4269210+08:00;True|2021-04-27T16:24:41.5059209+08:00;True|2021-04-27T15:53:32.5901894+08:00;True|2021-04-27T15:22:47.3758568+08:00;True|2021-04-27T15:20:08.3268603+08:00;True|2021-04-27T15:07:44.8758565+08:00;True|2021-04-27T14:55:25.1708246+08:00;True|2021-04-27T11:29:16.9305170+08:00;True|2021-04-27T11:22:59.6375169+08:00;True|2021-04-27T11:18:40.6175151+08:00;True|2021-04-27T11:11:03.1485102+08:00;True|2021-04-27T10:59:43.1454752+08:00;True|2021-04-27T10:52:14.9373756+08:00;True|2021-04-26T16:06:17.8889031+08:00;True|2021-04-26T16:01:07.5729037+08:00;True|2021-04-26T15:43:13.1943879+08:00;True|2021-04-26T15:40:31.4783881+08:00;True|2021-04-26T13:48:32.1338637+08:00;True|2021-04-26T13:41:20.7638645+08:00;True|2021-04-26T13:36:41.2688664+08:00;True|2021-04-16T08:22:27.9458518+08:00;True|2021-04-15T16:59:13.8465752+08:00;True|2021-04-15T15:35:34.3385670+08:00;True|2021-04-15T14:45:34.4613245+08:00;True|2021-04-15T14:41:37.0870016+08:00;True|2021-04-15T14:37:07.0200028+08:00;True|2021-04-13T16:40:55.8205619+08:00;True|2021-04-13T16:17:05.5478494+08:00;</History> + <History>True|2021-05-28T07:09:56.1970299Z;True|2021-05-28T14:25:51.6645627+08:00;True|2021-05-28T13:57:27.0842735+08:00;True|2021-05-28T09:43:20.1440634+08:00;True|2021-05-28T09:18:20.6994283+08:00;True|2021-05-27T17:48:05.1485157+08:00;True|2021-05-27T14:12:24.8809260+08:00;True|2021-05-27T13:55:41.4584398+08:00;True|2021-05-27T13:38:04.4939557+08:00;True|2021-05-25T17:58:59.4925936+08:00;True|2021-05-25T17:34:39.0766301+08:00;True|2021-05-25T16:52:27.5836825+08:00;True|2021-05-25T16:17:11.2915197+08:00;True|2021-05-25T15:56:40.9073807+08:00;True|2021-05-25T15:55:13.6625654+08:00;True|2021-05-25T14:19:47.6594488+08:00;True|2021-05-25T13:29:54.4902763+08:00;True|2021-05-25T10:07:46.4913499+08:00;True|2021-05-25T10:07:00.5180012+08:00;True|2021-05-25T10:03:19.5172048+08:00;True|2021-05-25T10:03:14.0017887+08:00;True|2021-05-25T09:56:45.2214181+08:00;True|2021-05-25T09:40:44.7928610+08:00;True|2021-05-25T09:39:54.9824104+08:00;True|2021-05-21T15:22:12.2171707+08:00;True|2021-05-21T15:19:42.7333615+08:00;True|2021-05-21T11:29:58.3974818+08:00;True|2021-05-21T11:28:09.4616811+08:00;True|2021-05-21T10:47:41.8471117+08:00;True|2021-05-21T10:22:07.2445648+08:00;True|2021-05-21T10:17:03.7723841+08:00;True|2021-05-20T19:16:06.9191828+08:00;True|2021-05-20T15:55:05.5871601+08:00;True|2021-05-20T14:29:30.2254277+08:00;True|2021-05-20T14:25:34.5236240+08:00;True|2021-05-20T14:20:39.0358706+08:00;True|2021-05-20T13:48:02.9388392+08:00;True|2021-05-20T13:39:47.1587014+08:00;True|2021-05-20T13:31:23.4635763+08:00;True|2021-05-20T10:45:56.3395800+08:00;True|2021-05-20T10:40:02.3046411+08:00;True|2021-05-20T08:58:30.2138098+08:00;True|2021-05-19T17:30:07.9866409+08:00;True|2021-05-19T16:35:53.3131106+08:00;True|2021-05-19T15:31:29.5405517+08:00;True|2021-05-19T10:47:11.4381053+08:00;True|2021-05-18T15:34:44.5123556+08:00;True|2021-05-18T15:33:45.3281373+08:00;True|2021-05-18T13:36:24.3027108+08:00;True|2021-05-18T10:30:46.9715813+08:00;True|2021-05-17T16:30:52.0536279+08:00;True|2021-05-17T16:25:48.5246048+08:00;True|2021-05-17T16:23:09.2504235+08:00;True|2021-05-17T16:20:08.1040765+08:00;True|2021-05-17T16:18:13.0021838+08:00;True|2021-05-17T15:49:53.5154178+08:00;True|2021-05-17T15:20:53.2553451+08:00;True|2021-05-17T13:22:30.1785650+08:00;True|2021-05-12T09:19:40.6104101+08:00;True|2021-05-12T08:51:31.1903832+08:00;True|2021-05-11T17:54:23.2917461+08:00;True|2021-05-11T17:41:51.8743268+08:00;True|2021-05-11T15:35:42.7284799+08:00;True|2021-05-11T15:21:56.5628091+08:00;True|2021-05-10T16:46:03.1180467+08:00;True|2021-05-10T16:15:39.9956955+08:00;True|2021-05-08T19:06:57.2743132+08:00;True|2021-05-08T19:05:29.1103688+08:00;True|2021-05-08T19:04:19.9539329+08:00;True|2021-05-08T18:01:38.7928100+08:00;True|2021-05-08T17:52:29.7429021+08:00;True|2021-05-08T17:48:25.9203761+08:00;True|2021-05-08T17:47:15.0602917+08:00;True|2021-05-08T17:43:27.4889222+08:00;True|2021-05-08T17:39:59.4612336+08:00;True|2021-05-08T17:39:33.4978946+08:00;True|2021-05-08T17:39:29.0267002+08:00;True|2021-05-08T17:37:47.5853967+08:00;True|2021-05-08T15:29:49.3055657+08:00;True|2021-05-08T15:27:07.7824934+08:00;True|2021-05-08T14:52:00.4322071+08:00;True|2021-05-08T14:30:25.4769844+08:00;True|2021-05-08T14:20:25.2085810+08:00;True|2021-05-08T13:22:50.6523779+08:00;True|2021-05-08T13:22:45.2166230+08:00;True|2021-05-08T10:18:30.8161572+08:00;True|2021-05-07T20:22:41.7365405+08:00;True|2021-05-07T20:20:31.3610753+08:00;True|2021-05-07T20:20:19.7448959+08:00;True|2021-05-07T20:03:14.9285946+08:00;True|2021-05-07T09:04:49.9965754+08:00;True|2021-05-06T18:08:51.9761525+08:00;True|2021-05-06T17:25:04.5129323+08:00;True|2021-05-06T17:18:48.0130806+08:00;True|2021-05-06T16:27:20.4296013+08:00;True|2021-05-06T16:21:58.2678114+08:00;True|2021-05-06T16:19:59.7383975+08:00;True|2021-05-06T16:17:38.0581420+08:00;True|2021-05-06T16:13:32.0399307+08:00;True|2021-05-06T16:12:43.4430581+08:00;True|2021-05-06T15:03:01.2067903+08:00;True|2021-05-06T15:00:38.4937170+08:00;True|2021-05-06T15:00:20.9792819+08:00;True|2021-05-06T14:47:13.8375625+08:00;True|2021-05-06T14:47:08.2656998+08:00;True|2021-05-06T14:31:31.6193969+08:00;True|2021-05-06T14:30:30.7221216+08:00;True|2021-05-06T14:29:07.9915201+08:00;True|2021-05-06T10:03:10.3335348+08:00;True|2021-04-28T10:26:58.1316805+08:00;True|2021-04-27T16:36:16.4269210+08:00;True|2021-04-27T16:24:41.5059209+08:00;True|2021-04-27T15:53:32.5901894+08:00;True|2021-04-27T15:22:47.3758568+08:00;True|2021-04-27T15:20:08.3268603+08:00;True|2021-04-27T15:07:44.8758565+08:00;True|2021-04-27T14:55:25.1708246+08:00;True|2021-04-27T11:29:16.9305170+08:00;True|2021-04-27T11:22:59.6375169+08:00;True|2021-04-27T11:18:40.6175151+08:00;True|2021-04-27T11:11:03.1485102+08:00;True|2021-04-27T10:59:43.1454752+08:00;True|2021-04-27T10:52:14.9373756+08:00;True|2021-04-26T16:06:17.8889031+08:00;True|2021-04-26T16:01:07.5729037+08:00;True|2021-04-26T15:43:13.1943879+08:00;True|2021-04-26T15:40:31.4783881+08:00;True|2021-04-26T13:48:32.1338637+08:00;True|2021-04-26T13:41:20.7638645+08:00;True|2021-04-26T13:36:41.2688664+08:00;True|2021-04-16T08:22:27.9458518+08:00;True|2021-04-15T16:59:13.8465752+08:00;True|2021-04-15T15:35:34.3385670+08:00;True|2021-04-15T14:45:34.4613245+08:00;True|2021-04-15T14:41:37.0870016+08:00;True|2021-04-15T14:37:07.0200028+08:00;True|2021-04-13T16:40:55.8205619+08:00;True|2021-04-13T16:17:05.5478494+08:00;</History> </PropertyGroup> <ItemGroup> <File Include="bin/layuiadmin/layui/layui.js"> @@ -23,11 +23,11 @@ </File> <File Include="bin/WebTM.dll"> <publishTime>04/27/2021 20:31:08</publishTime> - <publishTime>05/28/2021 09:43:26</publishTime> + <publishTime>05/28/2021 14:25:54</publishTime> </File> <File Include="bin/WebTM.pdb"> <publishTime>04/27/2021 20:31:08</publishTime> - <publishTime>05/28/2021 09:43:26</publishTime> + <publishTime>05/28/2021 14:25:54</publishTime> </File> <File Include="layuiadmin/config.js"> <publishTime>04/12/2021 11:31:26</publishTime> @@ -1963,13 +1963,13 @@ <publishTime>05/06/2021 09:49:21</publishTime> </File> <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Add_Edit_Gy_Currency.html"> - <publishTime>05/26/2021 15:08:52</publishTime> + <publishTime>05/28/2021 15:09:20</publishTime> </File> <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Add_Edit_Gy_Employee.html"> - <publishTime>05/28/2021 13:56:56</publishTime> + <publishTime>05/28/2021 15:08:31</publishTime> </File> <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Add_Edit_Gy_Unit.html"> - <publishTime>05/26/2021 13:57:46</publishTime> + <publishTime>05/28/2021 15:09:07</publishTime> </File> <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Currency.html"> <publishTime>05/26/2021 15:03:53</publishTime> @@ -2067,10 +2067,10 @@ <publishTime>05/06/2021 09:49:21</publishTime> </File> <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Add_Edit_Gy_BadReason.html"> - <publishTime>05/25/2021 17:25:20</publishTime> + <publishTime>05/28/2021 15:09:28</publishTime> </File> <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Add_Edit_Gy_Source.html"> - <publishTime>05/27/2021 14:38:26</publishTime> + <publishTime>05/28/2021 15:08:53</publishTime> </File> <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_BadReason.html"> <publishTime>04/12/2021 11:31:26</publishTime> diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Currency.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Currency.html" index 0cd8690..4c51d4f 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Currency.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Currency.html" @@ -74,7 +74,7 @@ <div class="layui-col-xs4"> <label class="layui-form-label"> 绂佺敤鏍囧織:</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title=""> + <input type="checkbox" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title=""> <input type="hidden" value="false" name="HStopflag" id="HStopflag"> </div> </div> @@ -159,6 +159,11 @@ if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 var data = result.data.h_v_Edit_Gy_CurrencyList[0]; console.log("杩斿洖鐨刣ata.HStopFlag" + JSON.stringify(data.绂佺敤鏍囪)); + var IsHStopflag = data.绂佺敤鏍囪; + //绂佺敤鏍囪 + if (IsHStopflag == "true") { + $("input[name='checkboxHStopflag'][value='" + IsHStopflag + "']").attr("checked", true); + } form.val("component-form-group", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫�� "HNumber": data.璐у竵浠g爜 , "HItemID": data.HItemID diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Employee.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Employee.html" index 50aa730..8a9c3db 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Employee.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Employee.html" @@ -578,14 +578,14 @@ <div class="layui-col-xs3"> <label class="layui-form-label">涓嶆墦鍗★細</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHNoBrushFlag" id="checkboxHNoBrushFlag" lay-skin="primary" lay-filter="checkboxHNoBrushFlag" value="true" title="鏄惁鎵撳崱"> + <input type="checkbox" name="checkboxHNoBrushFlag" id="checkboxHNoBrushFlag" lay-skin="primary" lay-filter="checkboxHNoBrushFlag" value="true" title="鏄惁鎵撳崱"> <input type="hidden" value="false" name="HNoBrushFlag" id="HNoBrushFlag"> </div> </div> <div class="layui-col-xs3"> <label class="layui-form-label">绂佺敤鏍囧織锛�</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title="鏄惁绂佺敤"> + <input type="checkbox" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title="鏄惁绂佺敤"> <input type="hidden" value="false" name="HStopflag" id="HStopflag"> </div> @@ -594,7 +594,7 @@ <div class="layui-col-xs3"> <label class="layui-form-label">璋冧紤鏍囧織锛�</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHOverType" id="checkboxHOverType" lay-skin="primary" lay-filter="checkboxHOverType" value="true" title="鏄惁璋冧紤"> + <input type="checkbox" name="checkboxHOverType" id="checkboxHOverType" lay-skin="primary" lay-filter="checkboxHOverType" value="true" title="鏄惁璋冧紤"> <input type="hidden" value="false" name="HOverType" id="HOverType"> </div> @@ -604,7 +604,7 @@ <label class="layui-form-label">杞彮璋冧紤鏍囧織锛�</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHShiftFlag" id="checkboxHShiftFlag" lay-skin="primary" lay-filter="checkboxHShiftFlag" value="true" title="鏄惁杞彮璋冧紤"> + <input type="checkbox" name="checkboxHShiftFlag" id="checkboxHShiftFlag" lay-skin="primary" lay-filter="checkboxHShiftFlag" value="true" title="鏄惁杞彮璋冧紤"> <input type="hidden" value="false" name="HShiftFlag" id="HShiftFlag"> </div> </div> @@ -612,7 +612,7 @@ <div class="layui-col-xs3"> <label class="layui-form-label">鍋滃彂宸ヨ祫锛�</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHStopwagesFlag" id="checkboxHStopwagesFlag" lay-skin="primary" lay-filter="checkboxHStopwagesFlag" value="true" title="鏄惁鍋滃彂"> + <input type="checkbox" name="checkboxHStopwagesFlag" id="checkboxHStopwagesFlag" lay-skin="primary" lay-filter="checkboxHStopwagesFlag" value="true" title="鏄惁鍋滃彂"> <input type="hidden" value="false" name="HStopwagesFlag" id="HStopwagesFlag"> </div> @@ -792,6 +792,33 @@ if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 var data = result.data.h_v_Edit_IF_EmployeeList[0]; console.log("杩斿洖鐨刣ata.HStopFlag" + JSON.stringify(data.绂佺敤鏍囪)); + console.log("杩斿洖鐨刣ata.HNoBrushFlag" + JSON.stringify(data.鏄惁鎵撳崱)); + var IsHNoBrushFlag = data.鏄惁鎵撳崱; + //鏄惁鎵撳崱 + if (IsHNoBrushFlag =="true") { + $("input[name='checkboxHNoBrushFlag'][value='" + IsHNoBrushFlag + "']").attr("checked", true); + } + var IsHStopflag = data.绂佺敤鏍囪; + //绂佺敤鏍囪 + if (IsHStopflag == "true") { + $("input[name='checkboxHStopflag'][value='" + IsHStopflag + "']").attr("checked", true); + } + var IsHOverType = data.鏄惁璋冧紤; + //鏄惁璋冧紤 + if (IsHOverType == "true") { + $("input[name='checkboxHOverType'][value='" + IsHOverType + "']").attr("checked", true); + } + var IsHShiftFlag = data.鏄惁杞彮璋冧紤; + //鏄惁杞彮璋冧紤 + if (IsHShiftFlag == "true") { + $("input[name='checkboxHShiftFlag'][value='" + IsHShiftFlag + "']").attr("checked", true); + } + var IsHStopwagesFlag = data.鏄惁鍋滃彂; + //鏄惁鍋滃彂 + if (IsHStopwagesFlag == "true") { + $("input[name='checkboxHStopwagesFlag'][value='" + IsHStopwagesFlag + "']").attr("checked", true); + } + form.val("component-form-group", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫�� "HNumber": data.鑱屽憳浠g爜 , "HItemID": data.HItemID @@ -801,6 +828,7 @@ , "HGroup": data.鐝粍鍚嶇О , "HEndFlag": data.鏄庣粏鏍囪 , "HNoBrushFlag": data.鏄惁鎵撳崱 + , "HOverType": data.鏄惁璋冧紤 , "HShiftFlag": data.鏄惁杞彮璋冧紤 , "HStopwagesFlag": data.鏄惁鍋滃彂 , "HInsuranceStatus": data.鏄惁鍙備繚 @@ -974,6 +1002,30 @@ // }) //}) + //鏄惁鎵撳崱 + form.on('checkbox(checkboxHNoBrushFlag)', function (data) { + /* alert('寮瑰嚭涓嶆墦鍗¢�夌鍊�' + data.elem.checked);*/ + $("#HNoBrushFlag").val(data.elem.checked); + }); + //鏄惁绂佺敤 + form.on('checkbox(checkboxHStopflag)', function (data) { + $("#HStopflag").val(data.elem.checked); + }); + //鏄惁璋冧紤 + form.on('checkbox(checkboxHOverType)', function (data) { + $("#HOverType").val(data.elem.checked); + }); + //杞彮璋冧紤鏍囧織 + form.on('checkbox(checkboxHShiftFlag)', function (data) { + $("#HShiftFlag").val(data.elem.checked); + }); + //鍋滃彂宸ヨ祫 + form.on('checkbox(checkboxHStopwagesFlag)', function (data) { + $("#HStopwagesFlag").val(data.elem.checked); + }); + + + form.on('submit(Saver)', function (data) {//淇濆瓨 diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Unit.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Unit.html" index 05a346e..9f2660b 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Unit.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Unit.html" @@ -75,7 +75,7 @@ <div class="layui-col-xs4"> <label class="layui-form-label"> 绂佺敤鏍囧織:</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title=""> + <input type="checkbox" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title=""> <input type="hidden" value="false" name="HStopflag" id="HStopflag"> </div> </div> @@ -160,6 +160,11 @@ if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 var data = result.data.h_v_Edit_Gy_UnitList[0]; console.log("杩斿洖鐨刣ata.HStopFlag" + JSON.stringify(data.绂佺敤鏍囪)); + var IsHStopflag = data.绂佺敤鏍囪; + //绂佺敤鏍囪 + if (IsHStopflag == "true") { + $("input[name='checkboxHStopflag'][value='" + IsHStopflag + "']").attr("checked", true); + } form.val("component-form-group", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫�� "HNumber": data.璁¢噺鍗曚綅浠g爜 , "HItemID": data.HItemID diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_BadReason.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_BadReason.html" index dd25a60..791d2fa 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_BadReason.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_BadReason.html" @@ -97,7 +97,7 @@ <div class="layui-col-xs5"> <label class="layui-form-label"> 绂佺敤鏍囧織:</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title="鏄惁绂佺敤"> + <input type="checkbox" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title="鏄惁绂佺敤"> <input type="hidden" value="false" name="HStopflag" id="HStopflag"> </div> </div> @@ -180,6 +180,11 @@ if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 var data = result.data.h_v_IF_Edit_BadReasonList[0]; console.log("杩斿洖鐨刣ata.HStopFlag" + JSON.stringify(data.绂佺敤鏍囪)); + var IsHStopflag = data.绂佺敤鏍囪; + //绂佺敤鏍囪 + if (IsHStopflag == "true") { + $("input[name='checkboxHStopflag'][value='" + IsHStopflag + "']").attr("checked", true); + } form.val("component-form-group", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫�� "HNumber": data.涓嶈壇鍘熷洜浠g爜 , "HItemID": data.HItemID diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Source.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Source.html" index b00d929..8b5242d 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Source.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_Source.html" @@ -176,7 +176,7 @@ <div class="layui-col-xs5"> <label class="layui-form-label"> 绂佺敤鏍囧織:</label> <div class="layui-input-inline"> - <input type="radio" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title="鏄惁绂佺敤"> + <input type="checkbox" name="checkboxHStopflag" id="checkboxHStopflag" lay-skin="primary" lay-filter="checkboxHStopflag" value="true" title="鏄惁绂佺敤"> <input type="hidden" value="false" name="HStopflag" id="HStopflag"> </div> </div> @@ -259,6 +259,11 @@ if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝 var data = result.data.h_v_Edit_IF_SourceList[0]; console.log("杩斿洖鐨刣ata.HStopFlag" + JSON.stringify(data.绂佺敤鏍囪)); + var IsHStopflag = data.绂佺敤鏍囪; + //绂佺敤鏍囪 + if (IsHStopflag == "true") { + $("input[name='checkboxHStopflag'][value='" + IsHStopflag + "']").attr("checked", true); + } form.val("component-form-group", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫�� "HNumber": data.鐢熶骇璧勬簮浠g爜 , "HItemID": data.HItemID -- Gitblit v1.9.1