| | |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | | </File> |
| | | <File Include="bin/WebTM.dll"> |
| | | <publishTime>01/18/2021 10:04:21</publishTime> |
| | | <publishTime>01/21/2021 11:58:12</publishTime> |
| | | </File> |
| | | <File Include="bin/WebTM.pdb"> |
| | | <publishTime>01/18/2021 10:04:21</publishTime> |
| | | <publishTime>01/21/2021 11:58:12</publishTime> |
| | | </File> |
| | | <File Include="layuiadmin/config.js"> |
| | | <publishTime>01/14/2021 10:06:23</publishTime> |
| | |
| | | <publishTime>01/14/2021 10:06:23</publishTime> |
| | | </File> |
| | | <File Include="layuiadmin/Scripts/webConfig.js"> |
| | | <publishTime>01/19/2021 14:13:36</publishTime> |
| | | <publishTime>01/21/2021 11:35:01</publishTime> |
| | | </File> |
| | | <File Include="layuiadmin/style/admin.css"> |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | | </File> |
| | | <File Include="views/Baseset/åºç¡èµæ/Gy_WorkCenterList.html"> |
| | | <publishTime>01/19/2021 14:12:23</publishTime> |
| | | <publishTime>01/19/2021 22:26:49</publishTime> |
| | | </File> |
| | | <File Include="views/component/anim/index.html"> |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | | </File> |
| | | <File Include="views/index.html"> |
| | | <publishTime>01/14/2021 17:44:54</publishTime> |
| | | <publishTime>01/21/2021 20:23:40</publishTime> |
| | | </File> |
| | | <File Include="views/senior/echarts/bar.html"> |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | | </File> |
| | | <File Include="views/user/login.html"> |
| | | <publishTime>01/15/2021 11:10:33</publishTime> |
| | | <publishTime>01/21/2021 19:29:19</publishTime> |
| | | </File> |
| | | <File Include="views/user/reg.html"> |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | |
| | | <publishTime>01/14/2021 14:48:04</publishTime> |
| | | </File> |
| | | <File Include="views/å·¥åºæ±æ¥/MES_StationInBillList.html"> |
| | | <publishTime>01/14/2021 15:07:03</publishTime> |
| | | <publishTime>01/21/2021 20:21:06</publishTime> |
| | | </File> |
| | | <File Include="views/å·¥åºæ±æ¥/MES_StationInBill_PDA.html"> |
| | | <publishTime>01/19/2021 15:03:45</publishTime> |
| | | <publishTime>01/21/2021 20:16:54</publishTime> |
| | | </File> |
| | | <File Include="views/å·¥åºæ±æ¥/MES_StationOutBill.html"> |
| | | <publishTime>01/14/2021 15:28:59</publishTime> |
| | | <publishTime>01/19/2021 22:22:31</publishTime> |
| | | </File> |
| | | <File Include="views/å·¥åºæ±æ¥/MES_StationOutBillList.html"> |
| | | <publishTime>01/14/2021 15:07:10</publishTime> |
| | | <publishTime>01/21/2021 20:21:21</publishTime> |
| | | </File> |
| | | <File Include="views/å·¥åºæ±æ¥/MES_StationOutBill_PDA.html"> |
| | | <publishTime>01/18/2021 14:39:27</publishTime> |
| | | <publishTime>01/21/2021 20:18:12</publishTime> |
| | | </File> |
| | | <File Include="views/ç产管ç/ç产任å¡å/Sc_ICMOBillList.html"> |
| | | <publishTime>01/21/2021 15:23:36</publishTime> |
| | | </File> |
| | | <File Include="views/ç»è£
å/Sc_AssemblyBill_Fast.html"> |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | | </File> |
| | | <File Include="views/计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBillList.html"> |
| | | <publishTime>01/21/2021 15:28:28</publishTime> |
| | | </File> |
| | | <File Include="views/颿åè´§/å
¶ä»åºåº/Kf_OtherOutBackBill_Fast.html"> |
| | | <publishTime>01/14/2021 10:06:24</publishTime> |
| | |
| | | <publishTime>05/08/2020 23:33:42</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>01/18/2021 08:57:06</publishTime> |
| | | <publishTime>01/21/2021 11:58:13</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | <Content Include="views\å·¥åºæ±æ¥\MES_StationOutBill_PDA.html" /> |
| | | <Content Include="views\å·¥åºæ±æ¥\MES_StationOutBill.html" /> |
| | | <Content Include="views\å·¥åºæ±æ¥\MES_StationOutBillList.html" /> |
| | | <Content Include="views\ç产管ç\ç产任å¡å\Sc_ICMOBillList.html" /> |
| | | <Content Include="views\ç»è£
å\Sc_AssemblyBill_Fast.html" /> |
| | | <Content Include="views\计å管ç\å·¥èºè·¯çº¿\Gy_RoutingBillList.html" /> |
| | | <Content Include="views\颿åè´§\å
¶ä»åºåº\Kf_OtherOutBackBill_FastList.html" /> |
| | | <Content Include="views\颿åè´§\å
¶ä»åºåº\Kf_OtherOutBill_FastList.html" /> |
| | | <Content Include="views\颿åè´§\å
¶ä»åºåº\Kf_OtherOutBackBill_Fast.html" /> |
| | |
| | | function GetWEBURL() { |
| | | //var WEBURL = "http://192.168.16.80:8011/"; //åå
¬å®¤æå¡å¨ |
| | | //var WEBURL = "http://124.70.129.242/WebAPI/"; //é
çªè¯º |
| | | var WEBURL = "http://localhost:8084/WebAPI/"; |
| | | var WEBURL = "http://124.70.129.242/WebAPI/"; //é
çªè¯º |
| | | //var WEBURL = "http://localhost:8084/WebAPI/"; |
| | | //61.130.49.162:9090 |
| | | //WEBURL = ""; |
| | | return WEBURL |
| | |
| | | |
| | | function GetWEBURL1() { |
| | | //var WEBURL = 'http://192.168.16.80:8011/'; //åå
¬å®¤æå¡å¨ |
| | | //var WEBURL = 'http://124.70.129.242/WebAPI/'; //é
çªè¯º |
| | | var WEBURL = 'http://localhost:8084/WebAPI/'; |
| | | var WEBURL = 'http://124.70.129.242/WebAPI/'; //é
çªè¯º |
| | | //var WEBURL = 'http://localhost:8084/WebAPI/'; |
| | | //61.130.49.162:9090 |
| | | //WEBURL = ""; |
| | | return WEBURL |
| | |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'HItemID', title: 'HItemID', hide: true } |
| | | , { field: 'ç产çç»ä»£ç ', width: 110, title: 'ç产çç»ä»£ç ' } |
| | | , { field: 'ç产çç»', width: 110, title: 'ç产çç»', sort: true } |
| | | , { field: 'å·¥ä½ä¸å¿ä»£ç ', width: 110, title: 'å·¥ä½ä¸å¿ä»£ç ' } |
| | | , { field: 'å·¥ä½ä¸å¿', width: 110, title: 'å·¥ä½ä¸å¿', sort: true } |
| | | ]] |
| | | , page: true |
| | | }); |
| | |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <title>æ¡ç </title> |
| | | <title>æºäºLMES管çç³»ç»</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"> |
| | |
| | | <div class="layui-side layui-side-menu"> |
| | | <div class="layui-side-scroll"> |
| | | <div class="layui-logo" lay-href="home/console.html"> |
| | | <span>æ¡ç ä¸å¡æµç¨</span> |
| | | <span>æºäºLMES管çç³»ç»</span> |
| | | </div> |
| | | |
| | | <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu"> |
| | | |
| | | <!--<li data-name="component" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="å°è´§ç¡®è®¤" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-home"></i> |
| | | <cite>å°è´§ç¡®è®¤</cite> |
| | | </a> |
| | | </li>--> |
| | | <li data-name="template" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="éªæ¶å
¥åº" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-component"></i> |
| | | <cite>éªæ¶å
¥åº</cite> |
| | | </a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a href="éªæ¶å
¥åº/å¤è´å
¥åº/Kf_POStockInBill_Fast.html" target="main_self_frame">å¤è´å
¥åº</a></dd> |
| | | <!--<dd class="layui-this"><a href="éªæ¶å
¥åº/å¤è´å
¥åº/Kf_POStockInBackBill.html" target="main_self_frame">å¤è´å
¥åº(红å)</a></dd>--> |
| | | <dd><a href="éªæ¶å
¥åº/å§å¤å
¥åº/Kf_EntrustInBill_Fast.html" target="main_self_frame">å§å¤å
¥åº</a></dd> |
| | | <!--<dd class="layui-this"><a href="éªæ¶å
¥åº/å§å¤å
¥åº/Kf_EntrustInBackBill.html" target="main_self_frame">å§å¤å
¥åº(红å)</a></dd>--> |
| | | <dd><a href="éªæ¶å
¥åº/产åå
¥åº/Kf_ProductInBill_Fast.html" target="main_self_frame">产åå
¥åº</a></dd> |
| | | <!--<dd class="layui-this"><a href="éªæ¶å
¥åº/产åå
¥åº/Kf_ProductInBackBill.html" target="main_self_frame">产åå
¥åº(红å)</a></dd>--> |
| | | <!--<dd class="layui-this"><a href="éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherInBill_Fast.html" target="main_self_frame">å
¶ä»å
¥åº</a></dd> |
| | | <dd class="layui-this"><a href="éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherInBackBill_Fast.html" target="main_self_frame">å
¶ä»å
¥åº(红å)</a></dd>--> |
| | | </dl> |
| | | </li> |
| | | <!--<li data-name="template" class="layui-nav-item"> |
| | | <!--<a href="javascript:;" lay-tips="ç产管ç" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-template"></i> |
| | | <cite>ç产管ç</cite> |
| | | <li data-name="set" class="layui-nav-item"> |
| | | <a><i class="layui-icon layui-icon-set"></i><cite>计å管ç</cite></a> |
| | | <dl class="layui-nav-child"> |
| | | <dd class="layui-nav-itemed"> |
| | | <a>å·¥èºè·¯çº¿</a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a lay-href="计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBillList.html">å·¥èºè·¯çº¿å表</a></dd> |
| | | </dl> |
| | | </dd> |
| | | </dl> |
| | | </li> |
| | | <li data-name="set" class="layui-nav-item"> |
| | | <a><i class="layui-icon layui-icon-set"></i><cite>ç产管ç</cite></a> |
| | | <dl class="layui-nav-child"> |
| | | <dd class="layui-nav-itemed"> |
| | | <a>ç产任å¡å</a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a lay-href="ç产管ç/ç产任å¡å/Sc_ICMOBillList.html">ç产任å¡åå表</a></dd> |
| | | </dl> |
| | | </dd> |
| | | </dl> |
| | | </li> |
| | | <li data-name="template" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="éªæ¶å
¥åº" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-component"></i> |
| | | <cite>éªæ¶å
¥åº</cite> |
| | | </a> |
| | | <dl class="layui-nav-child"> |
| | | <dd class="layui-this"><a href="ç»è£
å/Sc_AssemblyBill_Fast.html" target="main_self_frame">ç»è£
å</a></dd> |
| | | <dd class="layui-this"><a href="éªæ¶å
¥åº/产åå
¥åº/Xs_SeOrderPickUp_New.html" target="main_self_frame">ä¸è¯æ±æ¥</a></dd> |
| | | </dl>--> |
| | | <!--</a>--> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a href="éªæ¶å
¥åº/å¤è´å
¥åº/Kf_POStockInBill_Fast.html" target="main_self_frame">å¤è´å
¥åº</a></dd> |
| | | <!--<dd class="layui-this"><a href="éªæ¶å
¥åº/å¤è´å
¥åº/Kf_POStockInBackBill.html" target="main_self_frame">å¤è´å
¥åº(红å)</a></dd>--> |
| | | <dd><a href="éªæ¶å
¥åº/å§å¤å
¥åº/Kf_EntrustInBill_Fast.html" target="main_self_frame">å§å¤å
¥åº</a></dd> |
| | | <!--<dd class="layui-this"><a href="éªæ¶å
¥åº/å§å¤å
¥åº/Kf_EntrustInBackBill.html" target="main_self_frame">å§å¤å
¥åº(红å)</a></dd>--> |
| | | <dd><a href="éªæ¶å
¥åº/产åå
¥åº/Kf_ProductInBill_Fast.html" target="main_self_frame">产åå
¥åº</a></dd> |
| | | <!--<dd class="layui-this"><a href="éªæ¶å
¥åº/产åå
¥åº/Kf_ProductInBackBill.html" target="main_self_frame">产åå
¥åº(红å)</a></dd>--> |
| | | <!--<dd class="layui-this"><a href="éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherInBill_Fast.html" target="main_self_frame">å
¶ä»å
¥åº</a></dd> |
| | | <dd class="layui-this"><a href="éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherInBackBill_Fast.html" target="main_self_frame">å
¶ä»å
¥åº(红å)</a></dd>--> |
| | | </dl> |
| | | </li> |
| | | <!--<li data-name="template" class="layui-nav-item"> |
| | | <!--<a href="javascript:;" lay-tips="ç产管ç" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-template"></i> |
| | | <cite>ç产管ç</cite> |
| | | </a> |
| | | <dl class="layui-nav-child"> |
| | | <dd class="layui-this"><a href="ç»è£
å/Sc_AssemblyBill_Fast.html" target="main_self_frame">ç»è£
å</a></dd> |
| | | <dd class="layui-this"><a href="éªæ¶å
¥åº/产åå
¥åº/Xs_SeOrderPickUp_New.html" target="main_self_frame">ä¸è¯æ±æ¥</a></dd> |
| | | </dl>--> |
| | | <!--</a>--> |
| | | </li>--> |
| | | <li data-name="template" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="颿åè´§" lay-direction="2"> |
| | |
| | | <dd><a href="颿åè´§/éå®åºåº/Kf_SellOutBill_Fast.html" target="main_self_frame">éå®åºåº</a></dd> |
| | | <!--<dd class="layui-this"><a href="颿åè´§/éå®åºåº/Kf_SellOutBackBill_Fast.html" target="main_self_frame">éå®åºåº(红å)</a></dd>--> |
| | | <!--<dd class ="layui-this"><a href="颿åè´§/å
¶ä»åºåº/Kf_OtherOutBill_Fast.html" target="main_self_frame">å
¶ä»åºåº</a></dd> |
| | | <dd class="layui-this"><a href="颿åè´§/å
¶ä»åºåº/Kf_OtherOutBackBill_Fast.html" target="main_self_frame">å
¶ä»åºåº(红å)</a></dd>--> |
| | | <dd class="layui-this"><a href="颿åè´§/å
¶ä»åºåº/Kf_OtherOutBackBill_Fast.html" target="main_self_frame">å
¶ä»åºåº(红å)</a></dd>--> |
| | | <!--<dd><a lay-href="ç»è£
å/Sc_AssemblyBill_Fast.html">ç»è£
å</a></dd>--> |
| | | |
| | | <!-- <dd><a>åæé¢æ</a></dd>--> |
| | | <!-- <dd><a>åæé¢æ</a></dd>--> |
| | | </dl> |
| | | </li> |
| | | <li data-name="template" class="layui-nav-item"> |
| | |
| | | <dd><a href="éªæ¶å
¥åº/产åå
¥åº/Kf_ProductInBackBillList.html" target="main_self_frame">产åå
¥åºå红åç¼åå表</a></dd> |
| | | <dd><a href="éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherInBackBill_FastList.html" target="main_self_frame">å
¶ä»å
¥åºå红åç¼åå表</a></dd> |
| | | <dd><a href="éªæ¶å
¥åº/å¤è´å
¥åº/Kf_POStockInBackBillList.html" target="main_self_frame">å¤è´å
¥åºå红åç¼åå表</a></dd> |
| | | <dd><a href="éªæ¶å
¥åº/å§å¤å
¥åº/Kf_EntrustInBackBillList.html" target="main_self_frame">å§å¤å
¥åºå红åç¼åå表</a></dd> |
| | | <dd><a href="éªæ¶å
¥åº/å§å¤å
¥åº/Kf_EntrustInBackBillList.html" target="main_self_frame">å§å¤å
¥åºå红åç¼åå表</a></dd> |
| | | </dl> |
| | | </li> |
| | | <!--<li data-name="template" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="éè´§æ«æ" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-senior"></i> |
| | | <cite>éè´§æ«æ</cite> |
| | | </a> |
| | | </li>--> |
| | | <a href="javascript:;" lay-tips="éè´§æ«æ" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-senior"></i> |
| | | <cite>éè´§æ«æ</cite> |
| | | </a> |
| | | </li>--> |
| | | <!--<li data-name="template" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="ä»åºè°æ¨" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-user"></i> |
| | | <cite>ä»åºè°æ¨</cite> |
| | | </a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a href="ä»åºè°æ¨/ä»åºè°æ¨/Kf_MoveStockBill_Fast.html" target="main_self_frame">è°æ¨å</a></dd> |
| | | <dd><a>é¢æè°æ¨</a></dd> |
| | | </dl> |
| | | </li>--> |
| | | <a href="javascript:;" lay-tips="ä»åºè°æ¨" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-user"></i> |
| | | <cite>ä»åºè°æ¨</cite> |
| | | </a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a href="ä»åºè°æ¨/ä»åºè°æ¨/Kf_MoveStockBill_Fast.html" target="main_self_frame">è°æ¨å</a></dd> |
| | | <dd><a>é¢æè°æ¨</a></dd> |
| | | </dl> |
| | | </li>--> |
| | | <!--<li data-name="template" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="çç¹è°æ¨" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-set"></i> |
| | | <cite>çç¹è°æ¨</cite> |
| | | </a> |
| | | </li> |
| | | <li data-name="template" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="æ¡ç æ¥è¯¢" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-template"></i> |
| | | <cite>æ¡ç æ¥è¯¢</cite> |
| | | </a> |
| | | </li>--> |
| | | <!--<li data-name="set" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="设置" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-set"></i> |
| | | <cite>主æ§å°</cite> |
| | | </a> |
| | | </li>--> |
| | | <a href="javascript:;" lay-tips="çç¹è°æ¨" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-set"></i> |
| | | <cite>çç¹è°æ¨</cite> |
| | | </a> |
| | | </li> |
| | | <li data-name="template" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="æ¡ç æ¥è¯¢" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-template"></i> |
| | | <cite>æ¡ç æ¥è¯¢</cite> |
| | | </a> |
| | | </li>--> |
| | | <!--<li data-name="set" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="设置" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-set"></i> |
| | | <cite>åºç¡èµæ</cite> |
| | | </a> |
| | | </li>--> |
| | | <a href="javascript:;" lay-tips="设置" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-set"></i> |
| | | <cite>主æ§å°</cite> |
| | | </a> |
| | | </li>--> |
| | | <!--<li data-name="set" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="设置" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-set"></i> |
| | | <cite>åºç¡èµæ</cite> |
| | | </a> |
| | | </li>--> |
| | | <li data-name="set" class="layui-nav-item"> |
| | | <a href="javascript:;" lay-tips="设置" lay-direction="2"> |
| | | <i class="layui-icon layui-icon-set"></i> |
| | |
| | | var dd = '<dd><a href="å·¥åºæ±æ¥/MES_StationInBill_PDA.html">å·¥åºè¿ç«æ±æ¥åPDA</a ></dd > <dd><a href="å·¥åºæ±æ¥/MES_StationOutBill_PDA.html">å·¥åºåºç«æ±æ¥åPDA</a></dd>'; |
| | | $("#append").prepend(dd); |
| | | } else { |
| | | var dd = '<dd><a lay-href="å·¥åºæ±æ¥/MES_StationInBill.html" target="main_self_frame">å·¥åºè¿ç«æ±æ¥å</a ></dd > <dd><a lay-href="å·¥åºæ±æ¥/MES_StationOutBill.html" target="main_self_frame">å·¥åºåºç«æ±æ¥å</a></dd>'; |
| | | var dd = '<dd><a lay-href="å·¥åºæ±æ¥/MES_StationInBill_PDA.html" target="main_self_frame">å·¥åºè¿ç«æ±æ¥å</a ></dd > <dd><a lay-href="å·¥åºæ±æ¥/MES_StationOutBill_PDA.html" target="main_self_frame">å·¥åºåºç«æ±æ¥å</a></dd>'; |
| | | $("#append").prepend(dd); |
| | | } |
| | | }); |
| | |
| | | sessionStorage["HSupName"] = result.data[0].HSupName; |
| | | sessionStorage["Czmm"] = result.data[0].Czmm; |
| | | sessionStorage["Czybm"] = result.data[0].Czybm; |
| | | sessionStorage["HEmpID"] = result.data[0].HEmpID; |
| | | sessionStorage["HGroup"] = result.data[0].HGroup; |
| | | sessionStorage["HGroupID"] = result.data[0].HGroupID; |
| | | sessionStorage["HProc"] = result.data[0].HProc; |
| | | sessionStorage["HProcNo"] = result.data[0].HProcNo; |
| | | sessionStorage["HSource"] = result.data[0].HSource; |
| | | sessionStorage["HSourceID"] = result.data[0].HSourceID; |
| | | sessionStorage["HWorkCenter"] = result.data[0].HWorkCenter; |
| | | sessionStorage["HWorkCenterID"] = result.data[0].HWorkCenterID; |
| | | sessionStorage["HProcName"] = result.data[0].HProcName; |
| | | //sessionStorage["IP"] = System.Configuration.ConfigurationSettings.AppSettings("name"); |
| | | |
| | | window.location.href = '../../views/index.html' |
| | |
| | | success: function (result) { |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | layer.msg(result.Message, { icon: 1 }); |
| | | sessionStorage["HUserName"] = UserName; |
| | | sessionStorage["HUserName"] = result.data[0].Czymc;; |
| | | sessionStorage["HBillerID"] = result.data[0].HK3UserID; |
| | | sessionStorage["SourceFlag"] = false; |
| | | sessionStorage["HKeeperID"] = result.data[0].HKeeperID; |
| | |
| | | sessionStorage["HSPName"] = result.data[0].HSPName; |
| | | sessionStorage["HSupID"] = result.data[0].HSupID; |
| | | sessionStorage["HSupName"] = result.data[0].HSupName; |
| | | sessionStorage["Czmm"] = result.data[0].Czmm; |
| | | sessionStorage["Czybm"] = result.data[0].Czybm; |
| | | sessionStorage["HEmpID"] = result.data[0].HEmpID; |
| | | sessionStorage["HGroup"] = result.data[0].HGroup; |
| | | sessionStorage["HGroupID"] = result.data[0].HGroupID; |
| | | sessionStorage["HProc"] = result.data[0].HProc; |
| | | sessionStorage["HProcNo"] = result.data[0].HProcNo; |
| | | sessionStorage["HSource"] = result.data[0].HSource; |
| | | sessionStorage["HSourceID"] = result.data[0].HSourceID; |
| | | sessionStorage["HWorkCenter"] = result.data[0].HWorkCenter; |
| | | sessionStorage["HWorkCenterID"] = result.data[0].HWorkCenterID; |
| | | sessionStorage["HProcName"] = result.data[0].HProcName; |
| | | |
| | | //sessionStorage["IP"] = System.Configuration.ConfigurationSettings.AppSettings("name"); |
| | | |
| | | window.location.href = '../../views/index.html' |
| | |
| | | ,height: 'full-50' |
| | | , page: true |
| | | , cols: [[ |
| | | //{ field: 'hmainid', title: 'hmainid', width: 85 } |
| | | { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 110 } |
| | | , { field: '订åè·è¸ªå·', title: '订åè·è¸ªå·', width: 110 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 165 } |
| | | , { field: 'ç产订å', title: 'ç产订å', width: 175 } |
| | | , { field: 'æµè½¬å¡å·', title: 'æµè½¬å¡å·', width: 170 } |
| | | //, { field: 'HMaterID', title: 'HMaterID', width: 95 } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 165 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 160 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 220 } |
| | | , { field: '计éåä½', title: '计éåä½', width: 95 } |
| | | , { field: 'æµæ°´å·', title: 'æµæ°´å·', width: 80 } |
| | | //, { field: 'HCenterID', title: 'HCenterID', width: 105 } |
| | | , { field: 'å·¥ä½ä¸å¿', title: 'å·¥ä½ä¸å¿', width: 95 } |
| | | //, { field: 'HProcID', title: 'HProcID', width: 90 } |
| | | , { field: 'å·¥åº', title: 'å·¥åº', width: 95 } |
| | | //, { field: 'HEmpID', title: 'HEmpID', width: 90 } |
| | | , { field: 'æ¥æ¶äºº', title: 'æ¥æ¶äºº', width: 80 } |
| | | , { field: 'è¿ç«æ¥æ¶æ°é', title: 'è¿ç«æ¥æ¶æ°é', width: 120 } |
| | | , { field: 'è¿ç«æ¶é´', title: 'è¿ç«æ¶é´', width: 182 } |
| | | , { field: 'å¶å人', title: 'å¶å人', width: 80 } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', width: 182 } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº', width: 80 } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', width: 182 } |
| | | , { field: 'æµè½¬å¡æ°é', title: 'æµè½¬å¡æ°é', width: 105 } |
| | | //{ field: 'HEmpID', title: 'HEmpID', sort: true, width: 110 } |
| | | //, { field: 'HGroupID', title: 'HGroupID', width: 110 } |
| | | //, { field: 'HMaterID', title: 'HMaterID', sort: true, width: 165 } |
| | | //, { field: 'HProcID', title: 'HProcID', width: 175 } |
| | | //, { field: 'HSourceID', title: 'HSourceID', width: 170 } |
| | | { field: 'è¿ç«æ¶é´', title: 'è¿ç«æ¶é´', width: 120 } |
| | | , { field: 'ä»»å¡å', title: 'ä»»å¡å', width: 80 } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·', width: 165 } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 100 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 100 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 100 } |
| | | , { field: 'å½åå·¥åº', title: 'å½åå·¥åº', width: 100 } |
| | | , { field: 'LOTæ°é', title: 'è®¢åæ°é', width: 100 } |
| | | , { field: 'æ¥æ¶æ°é', title: 'æ¥æ¶æ°é', width: 100 } |
| | | , { field: 'ç产çç»', title: 'ç产çç»', width: 100 } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº', width: 100 } |
| | | , { field: 'æä½å', title: 'æä½å', width: 100 } |
| | | //, { field: 'hmainid', title: 'hmainid', width: 160 } |
| | | //, { field: 'å½åå·¥åºä»£ç ', title: 'å½åå·¥åºä»£ç ', width: 80 } |
| | | //, { field: 'æä½å代ç ', title: 'æä½å代ç ', width: 80 } |
| | | //, { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ', width: 80 } |
| | | //, { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ', width: 105 } |
| | | |
| | | ]] |
| | | }; |
| | | |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL1() + '/LEMS/MES_StationInBillList_Json', |
| | | url: GetWEBURL1() + '/api/newBill/getStationInBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | console.log(data1) |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | if (data1.code == 1) { |
| | | option.data = data1.data.h_v_MES_StationInBillList; |
| | | table.render(option); |
| | | } else { |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | layer.alert(data1.code + data1.msg, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥!", { |
| | |
| | | } |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL1() + '/LEMS/MES_StationInBillList_Json', |
| | | url: GetWEBURL1() + '/api/newBill/getStationInBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | if (data1.code == 1) { |
| | | option.data = data1.data.h_v_MES_StationInBillList; |
| | | table.render(option); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | layer.alert(data1.code + data1.msg, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£å¤±æ!", { icon: 5 }); |
| | |
| | | <input type="text" name="HQty" class="layui-input" id="HQty" placeholder="请è¾å
¥è¿ç«æ°é"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <tr style="display:none;"> |
| | | <th>çäº§èµæº</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HSource" class="layui-input" id="HSource" placeholder="éæ©çäº§èµæº" style="background-color:#efefef4d;" readonly> |
| | |
| | | |
| | | //è·åå½åæ¶é´å¤ç |
| | | $("#HStationInTime").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HEmp").val(sessionStorage["HUserName"]); |
| | | $("#HEmpID").val(sessionStorage["Czybm"]); |
| | | $("#HEmp").val(sessionStorage["HUserName"]);//å建人 |
| | | $("#HEmpID").val(sessionStorage["HEmpID"]); |
| | | $("#HProc").val(sessionStorage["HProc"]);//å·¥åº |
| | | $("#HProcID").val(sessionStorage["HProcName"]); |
| | | $("#HSource").val(sessionStorage["HSource"]);//çäº§èµæº |
| | | $("#HSourceID").val(sessionStorage["HSourceID"]); |
| | | $("#HGroup").val(sessionStorage["HGroup"]);//ç产çç» |
| | | $("#HGroupID").val(sessionStorage["HGroupID"]); |
| | | $("#HCenter").val(sessionStorage["HWorkCenter"]);//å·¥ä½ä¸å¿ |
| | | $("#HCenterID").val(sessionStorage["HWorkCenterID"]); |
| | | $("#HProcNo").val(sessionStorage["HProcNo"]);//æµæ°´å· |
| | | |
| | | |
| | | |
| | | //页é¢åå§åèµå¼ |
| | | //è·ååæ®å· |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/api/newBill/getNewInterBillNo", |
| | | type: "GET", |
| | | //data: { "HBillType": '3790' }, |
| | | data: { "billType": '3790' }, |
| | | success: function (d) { |
| | | $("#HBillNo").val(d.data.HBillNo);//è¿ç«åå· |
| | | $("#HInterID").val(d.data.HInterID);//è¿ç«åå·ID |
| | |
| | | |
| | | $("#HBarCode").focus(); |
| | | $("#HBarCode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#Serial_number").attr("readonly", "readonly");//æµæ°´å·åªè¯» |
| | | $("#Serial_number").css("background-color", "#efefef4d"); |
| | | $("#Entrants_number").attr("readonly", "readonly");//è¿ç«æ°éåªè¯» |
| | | $("#Entrants_number").css("background-color", "#efefef4d"); |
| | | |
| | | |
| | | //æ«æ¡å½¢ç æ¹æ³ |
| | |
| | | layer.alert("æ¡å½¢ç 为空ï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | // |
| | | $.ajax({ |
| | | url: GetWEBURL() + "api/newBill/getHbarCodeDetail", |
| | | type: "GET", |
| | |
| | | "sBillBarCode": HBarCode |
| | | }, |
| | | success: function (result) { |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HProcExchBillNo": $("#HBarCode").val() |
| | | , "HProcID": data.HProcID |
| | | , "HProc": data.å·¥åº |
| | | , "HCenter": data.å·¥ä½ä¸å¿ |
| | | , "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | //, "HProcID": data.HProcID |
| | | //, "HProc": data.å·¥åº |
| | | //, "HCenter": data.å·¥ä½ä¸å¿ |
| | | //, "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | , "HICMOInterID": data.hicmointerid |
| | | , "HICMOBillNo": data.ä»»å¡åå· |
| | | , "HDeptID": data.HDeptID |
| | | , "HQty": data.è®¡åæ°é |
| | | , "HMaterID": data.产å代ç |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterName": data.产å |
| | | , "HMaterModel": data.è§æ ¼åå· |
| | | , "HICMOQty": data.ç产æ°é |
| | |
| | | //$("#HBarCode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | //$("#HBarCode").css("background-color", "#efefef4d"); |
| | | $("#HBarCode").css("box-shadow", "none"); |
| | | $("#HProcNo").removeAttr("readonly");//ç§»é¤æµæ°´å·åªè¯» |
| | | $("#HProcNo").css("background-color", "white"); |
| | | $("#HProcNo").focus(); |
| | | $("#HProcNo").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ«æ¡å½¢ç æ¹æ³åçé误!", { icon: 5 }); |
| | |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HProcID": data.HProcID |
| | | , "HProc": data.å·¥åº |
| | | , "HCenter": data.å·¥ä½ä¸å¿ |
| | | , "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | , "HICMOInterID": data.hicmointerid |
| | | //"HProcID": data.HProcID |
| | | //, "HProc": data.å·¥åº |
| | | //, "HCenter": data.å·¥ä½ä¸å¿ |
| | | //, "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | "HICMOInterID": data.hicmointerid |
| | | , "HICMOBillNo": data.ä»»å¡åå· |
| | | , "HDeptID": data.HDeptID |
| | | , "HQty": data.è®¡åæ°é |
| | | , "HMaterID": data.产å代ç |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterName": data.产å |
| | | , "HMaterModel": data.è§æ ¼åå· |
| | | , "HICMOQty": data.ç产æ°é |
| | |
| | | $("#HProcNo").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æµæ°´å·æ¹æ³åçé误!", { icon: 5 }); |
| | |
| | | form.on('submit(Saver)', function (data) {//æäº¤ |
| | | //debugger; |
| | | var sMainStr =data.field; |
| | | console.log(sMainStr); |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | //url: GetWEBURL() + "/api/newBill/setStationInBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | url: "http://localhost:12761/api/newBill/setStationInBill", |
| | | url: GetWEBURL() + "/api/newBill/setStationInBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: sMainStr, |
| | | dataType: "json", |
| | |
| | | //éåºæé® |
| | | form.on('submit(Close)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦å
³éæ¬é¡µåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.layui.admin.events.closeThisTabs(); |
| | | parent.location.href = "../../views/index.html"; |
| | | }); |
| | | }); |
| | | |
| | | //æ°å¢æé® |
| | | //form.on('submit(HAddBT)', function (data) {//éåº |
| | | // layer.confirm('æ¨ç¡®å®è¦æ°å¢åï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | // window.location.reload(); |
| | | // }); |
| | | //}); |
| | | form.on('submit(HAddBT)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦æ°å¢åï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.location.reload(); |
| | | }); |
| | | }); |
| | | |
| | | |
| | | |
| | |
| | | |
| | | //æ ¡éªæ¯å¦éæ©å¼¹çªäºä»¶ |
| | | function checkPopup() { |
| | | if (!$("#HSource").val()) { |
| | | $("#HSource").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#HGroup").val()) { |
| | | //if (!$("#HSource").val()) {//çäº§èµæº |
| | | // $("#HSource").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | //} |
| | | //else |
| | | if (!$("#HGroup").val()) { |
| | | $("#HGroup").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#HCenter").val()) { |
| | |
| | | } |
| | | } |
| | | |
| | | //è¿åçäº§èµæº |
| | | function GetProductionResourcesValue(obj) { //è¿åçäº§èµæº |
| | | if ($("#HSource").val()) { |
| | | $("#HSource").css("box-shadow", "none"); |
| | |
| | | //è¿åå·¥ä½ä¸å¿ |
| | | function GetWorkCenterValue(obj) { //è¿åå·¥ä½ä¸å¿ |
| | | if (obj.length == 0) { |
| | | layer.msg("请å
éæ©çç»", { index: 0 }); |
| | | layer.msg("请å
鿩工ä½ä¸å¿", { index: 0 }); |
| | | } else { |
| | | $("#HCenter").val(obj[0].ç产çç»); |
| | | $("#HCenter").val(obj[0].å·¥ä½ä¸å¿); |
| | | $("#HCenterID").val(obj[0].HItemID); |
| | | $("#HCenter").css("box-shadow", "none"); |
| | | checkPopup(); |
| | |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=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" type="text/javascript"></script> |
| | | <script src="../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <style> |
| | | .layui-form-label { |
| | | font-size: 14px; |
| | | width: 85px; |
| | | text-align: inherit; |
| | | } |
| | | /*å
¨å±è®¾ç½®è¾å
¥æ¡é«åº¦*/ |
| | | .layui-input { |
| | | height: 30px; |
| | | } |
| | | /*设置表头è¾å
¥æ¡*/ |
| | | .t1_input { |
| | | padding: 1%; |
| | | } |
| | | /*æ¬ç«ä¿¡æ¯td*/ |
| | | .bz_td { |
| | | display: -webkit-box; /*设置æé®ä¸æ¢è¡*/ |
| | | padding: 1%; /*设置è¾å
¥æ¡è¾¹è·*/ |
| | | } |
| | | /*设置æ¬ç«ä¿¡æ¯æé®é«åº¦*/ |
| | | .bz_btu { |
| | | height: 30px; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid"> |
| | | <div class="layui-fluid" style="padding:0"> |
| | | <div class="layui-card"> |
| | | <!--<div class="layui-card-header"></div>--> |
| | | <div class="layui-card-body" style="padding: 15px;"> |
| | | <div class="layui-card-body" style="padding: 0;"> |
| | | <form class="layui-form" action="" lay-filter="component-form-group"> |
| | | <div class="layui-form-item" style="margin-bottom: 20px;"> |
| | | <div style="background-color:#0085E8;"> |
| | | <span style="color: white;"><i class="layui-icon layui-icon-form"></i>å·¥åºåºç«æ±æ¥å</span> |
| | | </div> |
| | | <div class="layui-form-item" style="margin: 1% 0;text-align: right;"> |
| | | <button type="button" lay-submit="" lay-filter="HAddBT" class="layui-btn layui-btn-radius">æ°å¢</button> |
| | | <!--<button type="button" lay-submit="" lay-filter="Saver" class="layui-btn layui-btn-radius">æ¸
空</button>--> |
| | | <!--<button type="button" lay-submit="" lay-filter="Saver" class="layui-btn layui-btn-radius">åè´¨å¤æ</button>--> |
| | | <button type="button" lay-submit="" lay-filter="Refresh" class="layui-btn layui-btn-radius">ä¿å</button> |
| | | <!--<button type="button" lay-submit="" lay-filter="" class="layui-btn layui-btn-radius">æ¸
空</button>--> |
| | | <button type="button" lay-submit="" lay-filter="Saver" class="layui-btn layui-btn-radius">ä¿å</button> |
| | | <button type="button" lay-submit="" lay-filter="Close" class="layui-btn layui-btn-radius layui-btn-danger">éåº</button> |
| | | <button type="button" lay-submit="" onclick="check();">æµè¯</button> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row" style="padding:10px 0"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <fieldset class="layui-elem-field layui-field-title" style="text-align:center;"> |
| | | <legend>å·¥åºåºç«æ±æ¥å</legend> |
| | | </fieldset> |
| | | </div> |
| | | <div class="layui-col-xs1 layui-inline"> |
| | | <img src="222.jpg" style="width:70%;height:50%;" /> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class=""> |
| | | <label class="layui-inline" style="width:60px;">æ¡å½¢ç </label> |
| | | <div class="layui-inline"> |
| | | <input type="text" style="border-radius: 50px;width:254%" name="æ¡å½¢ç " id="HFbarcode" lay-verify="HFbarcode" autocomplete="off" placeholder="请è¾å
¥æ¡å½¢ç " class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class=""> |
| | | <label class="layui-inline" style="width:60px;">æµæ°´å·</label> |
| | | <div class="layui-inline"> |
| | | <input type="text" style="border-radius: 50px;" name="æµæ°´å·" id="Serial_number" lay-verify="Serial_number" autocomplete="off" placeholder="请è¾å
¥æµæ°´å·" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-inline" style="width:60px;">åæ ¼æ°é</label> |
| | | <div class="layui-inline"> |
| | | <input type="text" style="border-radius: 50px;" name="åæ ¼æ°é" id="QualifiedQuantity" lay-verify="sQty" autocomplete="off" placeholder="请è¾å
¥æµæ°´å·" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-inline" style="width:60px;">æ¥åºæ°é</label> |
| | | <div class="layui-inline"> |
| | | <input type="text" style="border-radius: 50px;" name="æ¥åºæ°é" id="ScrapQuantity" lay-verify="HBarCode" autocomplete="off" placeholder="请è¾å
¥è¿ç«æ°é" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!--åºç«ä¿¡æ¯&å
¶ä»ä¿¡æ¯--> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-col-md8 layui-card-body layui-inline"> |
| | | <div class="layui-tab"> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li data-status="" class="layui-this">åºç«ä¿¡æ¯</li> |
| | | <li data-status="2">å
¶ä»ä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <div class="layui-tab-item layui-show" style="height:250px;"> |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æµè½¬å¡å·</th> |
| | | <td> |
| | | <input type="text" name="æµè½¬å¡å·" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æµè½¬å¡å·å·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:90px;padding:10px">æ±æ¥æ¶é´</th> |
| | | <td> |
| | | <input type="text" class="layui-input" id="HDateNow" style="background-color:#efefef4d;width:120px" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">ç产订åå·</th> |
| | | <td> |
| | | <input type="text" name="ç产订åå·" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="è¿ç«æ¶é´" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">产å代ç </th> |
| | | <td> |
| | | <input type="text" name="产å代ç " id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="产å代ç " class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">产ååç§°</th> |
| | | <td> |
| | | <input type="text" name="产ååç§°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="产ååç§°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">è§æ ¼åå·</th> |
| | | <td> |
| | | <input type="text" name="è§æ ¼åå·" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="è§æ ¼åå·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">计éåä½</th> |
| | | <td> |
| | | <input type="text" name="计éåä½" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="计éåä½" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">产åç±»å</th> |
| | | <td> |
| | | <input type="text" name="产åç±»å" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="产åç±»å" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">æ±æ¥ç±»å</th> |
| | | <td> |
| | | <input type="text" name="æ±æ¥ç±»å" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æ±æ¥ç±»å" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æµè½¬å¡æ°é</th> |
| | | <td> |
| | | <input type="text" name="æµè½¬å¡æ°é" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æµè½¬å¡æ°é" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">çäº§è®¢åæ°é</th> |
| | | <td> |
| | | <input type="text" name="çäº§è®¢åæ°é" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="çäº§è®¢åæ°é" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">åæ®å·</th> |
| | | <td> |
| | | <input type="text" name="åæ®å·" id="HBillNo2" lay-verify="HBillNo2" autocomplete="off" placeholder="åæ®å·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="åæ®å·ID" id="HInterID" lay-verify="HInterID"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">订åè·è¸ªå·</th> |
| | | <td> |
| | | <input type="text" name="订åè·è¸ªå·" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="订åè·è¸ªå·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æä½å2</th> |
| | | <td> |
| | | <input type="text" name="æä½å2" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æä½å2" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">æä½å3</th> |
| | | <td> |
| | | <input type="text" name="æä½å3" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æä½å3" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">æä½å4</th> |
| | | <td> |
| | | <input type="text" name="æä½å4" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æä½å4" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æä½å5</th> |
| | | <td> |
| | | <input type="text" name="æä½å5" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æä½å5" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | <div class="layui-tab-item" style="height:250px;"> |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">å¶å人</th> |
| | | <td> |
| | | <input type="text" name="å¶å人" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="å¶å人" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">å¶åæ¥æ</th> |
| | | <td> |
| | | <input type="text" name="å¶åæ¥æ" class="layui-input" id="HDateNow" placeholder="å¶åæ¥æ" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">ä¿®æ¹äºº</th> |
| | | <td> |
| | | <input type="text" name="ä¿®æ¹äºº" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="ä¿®æ¹äºº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">ä¿®æ¹æ¥æ</th> |
| | | <td> |
| | | <input type="text" name="ä¿®æ¹æ¥æ" class="layui-input" id="HDateNow" placeholder="ä¿®æ¹æ¥æ" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">å®¡æ ¸äºº</th> |
| | | <td> |
| | | <input type="text" name="å®¡æ ¸äºº" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="å®¡æ ¸äºº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">å®¡æ ¸æ¥æ</th> |
| | | <td> |
| | | <input type="text" name="å®¡æ ¸æ¥æ" class="layui-input" id="HDateNow" placeholder="å®¡æ ¸æ¥æ" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px"></th> |
| | | <td></td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">è¿ç«PNLæ°</th> |
| | | <td> |
| | | <input type="text" name="è¿ç«PNLæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="è¿ç«PNLæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">è¿ç«PSCæ°</th> |
| | | <td> |
| | | <input type="text" name="è¿ç«PSCæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="è¿ç«PSCæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æ¥åºPNLæ°</th> |
| | | <td> |
| | | <input type="text" name="æ¥åºPNLæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æ¥åºPNLæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">æºå°</th> |
| | | <td> |
| | | <input type="text" name="æºå°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æºå°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æå¼¯åæ°</th> |
| | | <td> |
| | | <input type="text" name="æå¼¯åæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æå¼¯åæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">å质确认人</th> |
| | | <td> |
| | | <input type="text" name="å质确认人" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="å质确认人" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">NCT岿¬¡æ°</th> |
| | | <td> |
| | | <input type="text" name="NCT岿¬¡æ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="NCT岿¬¡æ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">NCT忬¡</th> |
| | | <td> |
| | | <input type="text" name="NCT忬¡" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="NCT忬¡" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">移交PNLæ°</th> |
| | | <td> |
| | | <input type="text" name="移交PNLæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="移交PNLæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">ç³»æ°</th> |
| | | <td> |
| | | <input type="text" name="ç³»æ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="ç³»æ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--æ¬ç«ä¿¡æ¯--> |
| | | <div class="layui-inline" style="padding-left:5px;border:1px solid #e6e6e6;width:28%"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4"> |
| | | <label class="layui-form-label">æ¬ç«ä¿¡æ¯</label> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">å½åå·¥åº</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="å½åå·¥åº" id="HWorkShopName" lay-verify="HWorkShopName" autocomplete="off" placeholder="éæ©å½åå·¥åº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="å½åå·¥åºä»£ç " id="HWorkShopID" lay-verify="HWorkShopID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HWorkShop-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">å·¥ä½ä¸å¿</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="å·¥ä½ä¸å¿" id="HProcName" lay-verify="HProcName" autocomplete="off" placeholder="鿩工ä½ä¸å¿" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="å·¥ä½ä¸å¿ä»£ç " id="HProcID" lay-verify="HProcID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HWorkingProcedure-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">ç产车é´</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="ç产车é´" id="HScOrgName" lay-verify="HScOrgName" autocomplete="off" placeholder="éæ©ç产车é´" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="ç产车é´ä»£ç " id="HScOrgID" lay-verify="HScOrgID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOrganization-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">ç产ç»ç»</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="ç产ç»ç»" id="HOrganization" lay-verify="HOrganization" autocomplete="off" placeholder="éæ©ç产ç»ç»" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="ç产ç»ç»ä»£ç " id="HOrganizationID" lay-verify="HOrganizationID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOrganization-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æä½å</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="æä½å" id="Operator" lay-verify="Operator" autocomplete="off" placeholder="éæ©æä½å" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="æä½å代ç " id="OperatorID" lay-verify="OperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="Operator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">ç产çç»</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="ç产çç»" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©ç产çç»" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="ç产çç»ä»£ç " id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">çäº§èµæº</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="çäº§èµæº" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©çäº§èµæº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="çäº§èµæºä»£ç " id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æ ¸ç®å·¥åº</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="æ ¸ç®å·¥åº" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©æ ¸ç®å·¥åº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="æ ¸ç®å·¥åºä»£ç " id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æ£éªå</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="æ£éªå" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©æ£éªå" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="æ£éªå代ç " id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">å·¥æ¶</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="HOperatorName" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="鿩工æ¶" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="HOperatorID" id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">è®¾å¤æ¸
å</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="HOperatorName" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©è®¾å¤æ¸
å" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="HOperatorID" id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">模穴å·</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="HOperatorName" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©æ¨¡ç©´å·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="HOperatorID" id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--å¾
åºç«å·¥å&仿¥åºç«--> |
| | | <div class="layui-card"> |
| | | <div class="layui-card-body"> |
| | | <div class="layui-tab"> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li data-status="" class="layui-this">å¾
åºç«å·¥å</li> |
| | | <li data-status="2">仿¥åºç«</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs12"> |
| | | <table class="layui-hide" id="djs-table" lay-filter="djs-table"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs12"> |
| | | <table class="layui-hide" id="jr-table" lay-filter="jr-table"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <table style="width:80%;"> |
| | | <tbody> |
| | | <tr> |
| | | <th>æ¡å½¢ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HBarCode" class="layui-input" id="HBarCode" placeholder="请è¾å
¥æ¡å½¢ç " style="border-radius: 50px;"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æµè½¬å¡å·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="æµè½¬å¡å·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æµæ°´å·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HProcNo" class="layui-input" id="HProcNo" placeholder="请è¾å
¥æµæ°´å·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥åºä»£ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HProcID" class="layui-input" id="HProcID" placeholder="请è¾å
¥å·¥åºä»£ç " style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥åºåç§°</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HProc" class="layui-input" id="HProc" placeholder="请è¾å
¥å·¥åºåç§°" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å建人</th> |
| | | <td class="t1_input"> |
| | | <input type="text" class="layui-input" id="HEmp" placeholder="请è¾å
¥å建人" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" value="0" autocomplete="off" class="layui-input"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>åæ ¼æ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HQty" class="layui-input" id="HQty" placeholder="请è¾å
¥åæ ¼æ°é"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥æ¶</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HWorkTimes" class="layui-input" id="HWorkTimes" placeholder="请è¾å
¥å·¥æ¶"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æ¥åºæ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HWasterQty" class="layui-input" id="HWasterQty" placeholder="请è¾å
¥æ¥åºæ°é"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>çäº§èµæº</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HSource" class="layui-input" id="HSource" placeholder="éæ©çäº§èµæº" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="ProductionResources-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>ç产çç»</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HGroup" class="layui-input" id="HGroup" placeholder="éæ©ç产çç»" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HGroupID" id="HGroupID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="ProductionTeam-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥ä½ä¸å¿</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HCenter" class="layui-input" id="HCenter" placeholder="鿩工ä½ä¸å¿" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="HWorkingProcedure-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æ£éªå</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HQCCheck" class="layui-input" id="HQCCheck" placeholder="éæ©æ£éªå" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HQCCheckID" id="HQCCheckID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="HSecManagerID-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>åºç«åå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HBillNo" class="layui-input" id="HBillNo" placeholder="请è¾å
¥åºç«åå·" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HInterID" class="layui-input" id="HInterID"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æ¥æ</th> |
| | | <td class="t1_input"> |
| | | <input type="date" name="HStationOutTime" class="layui-input" id="HStationOutTime" placeholder="è¯·éæ©æ¥æ"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>ç产订å</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HICMOBillNo" class="layui-input" id="HICMOBillNo" placeholder="请è¾å
¥ç产订å" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>产å代ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HMaterID" class="layui-input" id="HMaterID" placeholder="请è¾å
¥äº§å代ç " style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>产ååç§°</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HMaterName" class="layui-input" id="HMaterName" placeholder="请è¾å
¥äº§ååç§°" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>è§æ ¼åå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HMaterModel" class="layui-input" id="HMaterModel" placeholder="请è¾å
¥è§æ ¼åå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>订åè·è¸ªå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HOrderProcNO" class="layui-input" id="HOrderProcNO" placeholder="请è¾å
¥è®¢åè·è¸ªå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>çäº§è®¢åæ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HICMOQty" class="layui-input" id="HICMOQty" placeholder="请è¾å
¥çäº§è®¢åæ°é" style="background-color:#efefef4d;" readonly> |
| | | <!--éèåæ®µ--> |
| | | <input type="hidden" name="HICMOInterID" class="layui-input" id="HICMOInterID"><!--ä»»å¡åå·IDåhicmointerid--> |
| | | <input type="hidden" name="HDeptID" class="layui-input" id="HDeptID"><!--ç产车é´id--> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <script src="../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../layuiadmin/Scripts/json2.js" type="text/javascript"></script> |
| | | <script src="../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script> |
| | | <script src="../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script type="text/html" id="wl-BT"> |
| | | <a class="layui-btn layui-btn-xs HEdit" lay-event="DeleteOne">å é¤</a> |
| | | </script> |
| | | <script src="../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script> |
| | | |
| | | function getUrlVars() { |
| | |
| | | index: 'lib/index' //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'laydate', 'table', 'element'], function () { |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , element = layui.element |
| | | , layer = layui.layer |
| | | , laydate = layui.laydate |
| | | , table = layui.table |
| | | , form = layui.form; |
| | | |
| | | , admin = layui.admin |
| | | , element = layui.element |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , laydate = layui.laydate |
| | | , form = layui.form; |
| | | |
| | | //è·åå½åæ¶é´å¤ç |
| | | var data = new Date(); |
| | | var year = data.getFullYear(); //è·åå¹´ |
| | | var month = data.getMonth() + 1; //è·åæ |
| | | var day = data.getDate(); //è·åæ¥ |
| | | var time = year + "-" + month + "-" + day; |
| | | $("#HStationOutTime").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HEmp").val(sessionStorage["HUserName"]); |
| | | $("#HEmpID").val(sessionStorage["Czybm"]); |
| | | |
| | | //页é¢åå§åèµå¼ |
| | | //è·ååæ®å· |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | url: GetWEBURL() + "/api/newBill/getNewInterBillNo", |
| | | type: "GET", |
| | | data: { "HBillType": '3791' }, |
| | | //data: { "HBillType": '3790' }, |
| | | success: function (d) { |
| | | $("#HInterID").val(d.data[0].HInterID); |
| | | $("#HBillNo2").val(d.data[0].HBillNo); |
| | | $("#HBillNo").val(d.data.HBillNo);//è¿ç«åå· |
| | | $("#HInterID").val(d.data.HInterID);//è¿ç«åå·ID |
| | | }, error: function () { |
| | | layer.alert("è·ååæ®å·å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | $("#HDateNow").val(time);//å è½½å½åæ¶é´ |
| | | |
| | | $("#HFbarcode").focus(); |
| | | $("#HFbarcode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HBarCode").focus(); |
| | | $("#HBarCode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#Serial_number").attr("readonly", "readonly");//æµæ°´å·åªè¯» |
| | | $("#Serial_number").css("background-color", "#efefef4d"); |
| | | $("#QualifiedQuantity").attr("readonly", "readonly");//åæ ¼æ°éåªè¯» |
| | | $("#QualifiedQuantity").css("background-color", "#efefef4d"); |
| | | $("#ScrapQuantity").attr("readonly", "readonly");//æ¥åºæ°éåªè¯» |
| | | $("#ScrapQuantity").css("background-color", "#efefef4d"); |
| | | $("#Entrants_number").attr("readonly", "readonly");//è¿ç«æ°éåªè¯» |
| | | $("#Entrants_number").css("background-color", "#efefef4d"); |
| | | |
| | | |
| | | //æ«æ¡å½¢ç æ¹æ³ |
| | | $('#HFbarcode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HFbarcode = $('#HFbarcode').val(); |
| | | $('#HBarCode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HBarCode = $('#HBarCode').val();//æ¡å½¢ç ï¼æµè½¬å¡å·ï¼ï¼æ°æ®åºä¸ä¸ºåæ®å·ï¼ |
| | | if (event.keyCode == 13) { |
| | | //å¤æææ¬æ¡æ¯å¦ææ°æ® new |
| | | if (HFbarcode == "") { |
| | | if (HBarCode == "") { |
| | | layer.alert("æ¡å½¢ç 为空ï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | // |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/LEMS/TxtHBarCode_KeyDown", |
| | | url: GetWEBURL() + "api/newBill/getHbarCodeDetail", |
| | | type: "GET", |
| | | data: { |
| | | "sBillBarCode": HFbarcode |
| | | "sBillBarCode": HBarCode |
| | | }, |
| | | success: function (result) { |
| | | var data = result.data; |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "订åè·è¸ªå·": data[0].订åè·è¸ªå· |
| | | , "产å代ç ": data[0].产å代ç |
| | | , "产ååç§°": data[0].产å |
| | | , "è§æ ¼åå·": data[0].è§æ ¼åå· |
| | | , "æµè½¬å¡æ°é": data[0].æµè½¬å¡æ°é |
| | | , "å¶å人": data[0].å¶å人 |
| | | , "å¶åæ¥æ": data[0].å¶åæ¥æ |
| | | , "ä¿®æ¹äºº": data[0].ä¿®æ¹äºº |
| | | , "ä¿®æ¹æ¥æ": data[0].ä¿®æ¹æ¥æ |
| | | , "å®¡æ ¸äºº": data[0].å®¡æ ¸äºº |
| | | , "å®¡æ ¸æ¥æ": data[0].å®¡æ ¸æ¥æ |
| | | , "ç产订åå·": data[0].æºååå· |
| | | , "çäº§è®¢åæ°é": data[0].ç产æ°é |
| | | , "æµè½¬å¡å·": $("#HFbarcode").val() |
| | | "HProcExchBillNo": $("#HBarCode").val() |
| | | , "HProcID": data.HProcID |
| | | , "HProc": data.å·¥åº |
| | | , "HCenter": data.å·¥ä½ä¸å¿ |
| | | , "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | , "HICMOInterID": data.hicmointerid |
| | | , "HICMOBillNo": data.ä»»å¡åå· |
| | | , "HDeptID": data.HDeptID |
| | | , "HQty": data.è®¡åæ°é |
| | | , "HMaterID": data.产å代ç |
| | | , "HMaterName": data.产å |
| | | , "HMaterModel": data.è§æ ¼åå· |
| | | , "HICMOQty": data.ç产æ°é |
| | | , "HOrderProcNO": data.订åè·è¸ªå· |
| | | }); |
| | | $("#HFbarcode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | $("#HFbarcode").css("background-color", "#efefef4d"); |
| | | $("#HFbarcode").css("box-shadow", "none"); |
| | | $("#Serial_number").removeAttr("readonly");//ç§»é¤æµæ°´å·åªè¯» |
| | | $("#Serial_number").css("background-color", "white"); |
| | | $("#Serial_number").focus(); |
| | | $("#Serial_number").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | //$("#HBarCode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | //$("#HBarCode").css("background-color", "#efefef4d"); |
| | | $("#HBarCode").css("box-shadow", "none"); |
| | | $("#HProcNo").removeAttr("readonly");//ç§»é¤æµæ°´å·åªè¯» |
| | | $("#HProcNo").css("background-color", "white"); |
| | | $("#HProcNo").focus(); |
| | | $("#HProcNo").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | } else { |
| | | // $("#verifycode").click(); |
| | | //layer.msg(result.Message, { icon: 5 }); |
| | | layer.alert(result.Message, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ«æ¡å½¢ç æ¹æ³åçé误!", { icon: 5 }); |
| | | } |
| | | }); |
| | | // layer.msg($('#HFbarcode').val(), { icon: 1 }); |
| | | } |
| | | }); |
| | | |
| | | //æµæ°´å·åè½¦æ¹æ³ |
| | | $('#Serial_number').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var sProcNo = $('#Serial_number').val(); |
| | | var sBillNo = $('#HBillNo').val(); |
| | | $('#HProcNo').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HProcNo = $('#HProcNo').val(); |
| | | var HBarCode = $('#HBarCode').val(); |
| | | if (event.keyCode == 13) { |
| | | if (sProcNo == "" || sBillNo == "") { |
| | | if (HProcNo == "" || HBarCode == "") { |
| | | layer.alert("æµæ°´å·ææµè½¬å¡å·ä¸ºç©ºï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/LEMS/TxtHProcNo_KeyDown", |
| | | url: GetWEBURL() + "/api/newBill/getProcDetail", |
| | | type: "GET", |
| | | data: { |
| | | "sProcNo": sProcNo |
| | | , "sBillNo": sBillNo |
| | | "sBillNo": HBarCode |
| | | , "sProcNo": HProcNo |
| | | }, |
| | | success: function (result) { |
| | | var data = result.data; |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "订åè·è¸ªå·": data[0].订åè·è¸ªå· |
| | | , "产å代ç ": data[0].产å代ç |
| | | , "产ååç§°": data[0].产å |
| | | , "è§æ ¼åå·": data[0].è§æ ¼åå· |
| | | , "æµè½¬å¡æ°é": data[0].æµè½¬å¡æ°é |
| | | , "å·¥ä½ä¸å¿": data[0].å·¥ä½ä¸å¿ |
| | | , "å·¥ä½ä¸å¿ä»£ç ": data[0].å·¥ä½ä¸å¿ä»£ç |
| | | , "å½åå·¥åº": data[0].å·¥åº |
| | | , "å½åå·¥åºä»£ç ": data[0].å·¥åºä»£ç |
| | | , "ç产车é´": data[0].çäº§è½¦é´ |
| | | , "ç产车é´ä»£ç ": data[0].ç产车é´ä»£ç |
| | | , "æä½å": data[0].æä½å·¥ |
| | | , "æä½å代ç ": data[0].æä½å·¥ä»£ç |
| | | , "ç产çç»": data[0].çç» |
| | | , "ç产çç»ä»£ç ": data[0].çç»ä»£ç |
| | | , "çäº§èµæº": data[0].çäº§èµæº |
| | | , "çäº§èµæºä»£ç ": data[0].çäº§èµæºä»£ç |
| | | , "å¶å人": data[0].å¶å人 |
| | | , "å¶åæ¥æ": data[0].å¶åæ¥æ |
| | | , "ä¿®æ¹äºº": data[0].ä¿®æ¹äºº |
| | | , "ä¿®æ¹æ¥æ": data[0].ä¿®æ¹æ¥æ |
| | | , "å®¡æ ¸äºº": data[0].å®¡æ ¸äºº |
| | | , "å®¡æ ¸æ¥æ": data[0].å®¡æ ¸æ¥æ |
| | | , "ç产订åå·": data[0].æºååå· |
| | | , "çäº§è®¢åæ°é": data[0].ç产æ°é |
| | | , "æµè½¬å¡å·": $("#HFbarcode").val() |
| | | "HProcID": data.HProcID |
| | | , "HProc": data.å·¥åº |
| | | , "HCenter": data.å·¥ä½ä¸å¿ |
| | | , "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | , "HICMOInterID": data.hicmointerid |
| | | , "HICMOBillNo": data.ä»»å¡åå· |
| | | , "HDeptID": data.HDeptID |
| | | , "HQty": data.è®¡åæ°é |
| | | , "HMaterID": data.产å代ç |
| | | , "HMaterName": data.产å |
| | | , "HMaterModel": data.è§æ ¼åå· |
| | | , "HICMOQty": data.ç产æ°é |
| | | }); |
| | | $("#Serial_number").attr("readonly", "readonly");//æµæ°´å·åªè¯» |
| | | $("#Serial_number").css("background-color", "#efefef4d"); |
| | | $("#Serial_number").css("box-shadow", "none"); |
| | | $("#QualifiedQuantity").removeAttr("readonly");//ç§»é¤åæ ¼æ°éåªè¯» |
| | | $("#QualifiedQuantity").css("background-color", "white"); |
| | | $("#QualifiedQuantity").focus(); |
| | | $("#QualifiedQuantity").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HProcNo").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } else { |
| | | // $("#verifycode").click(); |
| | | //layer.msg(result.Message, { icon: 5 }); |
| | | layer.alert(result.Message, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | |
| | | }); |
| | | |
| | | //åæ ¼æ°éåè½¦æ¹æ³ |
| | | $('#QualifiedQuantity').on('keydown', function (event) { |
| | | $('#HQty').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#QualifiedQuantity").attr("readonly", "readonly");//åæ ¼æ°éåªè¯» |
| | | $("#QualifiedQuantity").css("background-color", "#efefef4d"); |
| | | $("#QualifiedQuantity").css("box-shadow", "none"); |
| | | $("#ScrapQuantity").removeAttr("readonly");//ç§»é¤æ¥åºæ°éåªè¯» |
| | | $("#ScrapQuantity").focus(); |
| | | $("#ScrapQuantity").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HQty").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //å·¥æ¶åè½¦æ¹æ³ |
| | | $('#HWorkTimes').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#HWorkTimes").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //æ¥åºæ°éåè½¦æ¹æ³ |
| | | $('#ScrapQuantity').on('keydown', function (event) { |
| | | $('#HWasterQty').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#ScrapQuantity").attr("readonly", "readonly");//æ¥åºæ°éåªè¯» |
| | | $("#ScrapQuantity").css("background-color", "#efefef4d"); |
| | | $("#ScrapQuantity").css("box-shadow", "none"); |
| | | if ($("#Operator").val()) { |
| | | $("#Operator").css("box-shadow", "none"); |
| | | } else { |
| | | $("#Operator").css("box-shadow", "1px 1px 1px 2px #00ff00"); |
| | | } |
| | | $("#HWasterQty").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //éæ©æä½åå¼¹çª |
| | | form.on('submit(Operator-BT)', function () {//éæ©ä»ä½ |
| | | //éæ©ç产çç»å¼¹çª |
| | | form.on('submit(ProductionTeam-BT)', function () {//éæ©ç产çç» |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['60%', '60%'] |
| | | , title: 'æ¬ç«å·¥åº' |
| | | , area: ['80%', '80%'] |
| | | , title: 'ç产çç»' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | //, maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../Baseset/åºç¡èµæ/Gy_GetProductionTeamList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function (index, layero) { |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | //éæ©çäº§èµæºå¼¹çª |
| | | form.on('submit(ProductionResources-BT)', function () {//çäº§èµæº |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | | , title: 'çäº§èµæº' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | //, maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../Baseset/åºç¡èµæ/Gy_GetProductionResourcesList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function (index, layero) { |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | //鿩工ä½ä¸å¿å¼¹çª |
| | | 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) { |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | //éæ©æ£éªå |
| | | form.on('submit(HSecManagerID-BT)', function (data) {//éæ©æ£éªå |
| | | var sMainStr = JSON.stringify(data.field); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: 'æ£éªåå表' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../Baseset/åºç¡èµæ/Gy_EmployeeList.html?Type=HWorker', 'yes'] |
| | | , content: ['../Baseset/åºç¡èµæ/Gy_EmployeeList.html?Type=HSecManager', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | //$(".layui-btn").removeClass("layui-btn-disabled"); |
| | |
| | | }) |
| | | }); |
| | | |
| | | //éæ©ç产ç»ç»å¼¹çª |
| | | form.on('submit(HOrganization-BT)', function () {//éæ©ç产ç»ç» |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['60%', '60%'] |
| | | , title: 'ç产ç»ç»' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../Baseset/åºç¡èµæ/Gy_OrgList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | //$(".layui-btn").removeClass("layui-btn-disabled"); |
| | | } |
| | | }) |
| | | //ä¿åæé® |
| | | form.on('submit(Saver)', function (data) {//æäº¤ |
| | | //debugger; |
| | | var sMainStr = data.field; |
| | | console.log(sMainStr); |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + "/api/newBill/setStationOutBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | //url:"http://localhost:12761/api/newBill/setStationOutBill", |
| | | async: true, |
| | | data: sMainStr, |
| | | dataType: "json", |
| | | success: function (result) { |
| | | console.log(result); |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | $("#sHWHID").val(""); |
| | | layer.alert(result.msg + "åå·ä¸ºï¼" + $("#HBillNo").val(), { icon: 1 }, function () { |
| | | window.location.reload();//å·æ°é¡µé¢ |
| | | }); |
| | | } |
| | | else { |
| | | layer.alert(result.msg, { icon: 5 }); |
| | | } |
| | | layer.closeAll("loading"); |
| | | layui.form.render(); |
| | | }, |
| | | error: function (err) { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥:" + err, { icon: 5 }); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //éåºæé® |
| | | form.on('submit(Close)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦å
³éæ¬é¡µåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.layui.admin.events.closeThisTabs(); |
| | | parent.location.href = "../../views/index.html"; |
| | | }); |
| | | }); |
| | | |
| | | //å¾
æ¥æ¶å·¥åé¡µç¾ |
| | | table.render({ |
| | | elem: '#djs-table' |
| | | , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' |
| | | , cols: [[ |
| | | { field: 'HInterID', title: 'åºå·' } |
| | | , { field: 'HBillNo', title: 'ç¶æ', sort: true } |
| | | , { field: 'HMaker', title: 'ç产订å' } |
| | | , { field: 'HMakeDate', title: 'è®¡åæ¥æ' } |
| | | , { field: 'HQty', title: 'ç©æç¼ç ' } |
| | | , { field: 'HSourceBillNo', title: 'ç©æåç§°' } |
| | | , { field: 'HRedBlueFlag', title: 'è§æ ¼åå·' } |
| | | , { field: 'HSourceBillType', title: 'è®¡åæ°é' } |
| | | , { field: 'HSourceBillType', title: 'å·²æ±æ¥æ°é' } |
| | | , { field: 'HSourceBillType', title: 'å·²å
¥åºæ°é' } |
| | | ]] |
| | | , height: 300 |
| | | , done: function () { |
| | | layer.closeAll("loading"); |
| | | } |
| | | //æ°å¢æé® |
| | | form.on('submit(HAddBT)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦æ°å¢åï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.location.reload(); |
| | | }); |
| | | }); |
| | | |
| | | //仿¥è¿ç«é¡µç¾ |
| | | table.render({ |
| | | elem: '#jr-table' |
| | | , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { field: 'HInterID', title: 'åºå·',width:80 } |
| | | , { field: 'HBillNo', title: 'æ±æ¥æ¥æ', width: 110, sort: true } |
| | | , { field: 'HMaker', title: 'çäº§æ±æ¥åå·' } |
| | | , { field: 'HMakeDate', title: 'ç产订åå·' } |
| | | , { field: 'HQty', title: 'ç©æç¼ç ' } |
| | | , { field: 'HSourceBillNo', title: 'ç©æåç§°' } |
| | | , { field: 'HRedBlueFlag', title: 'è§æ ¼åå·' } |
| | | , { field: 'HSourceBillType', title: 'è®¡åæ°é' } |
| | | , { field: 'HSourceBillType', title: 'æ±æ¥æ°é' } |
| | | , { field: 'HSourceBillType', title: 'å¶å人' } |
| | | , { field: 'HSourceBillType', title: 'å¶åæ¥æ' } |
| | | ]] |
| | | , height: 300 |
| | | , done: function () { |
| | | layer.closeAll("loading"); |
| | | } |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | |
| | | //åçjsåå§å |
| | | $(function () { |
| | | |
| | | }); |
| | | |
| | | |
| | | |
| | | function GetOrgValue(obj) //è¿åç产ç»ç» |
| | | { |
| | | $("#HOrganization").val(obj[0].HName); |
| | | $("#HOrganizationID").val(obj[0].HNumber); |
| | | //æ ¡éªæ¯å¦éæ©å¼¹çªäºä»¶ |
| | | function checkPopup() { |
| | | if (!$("#HQty").val()) { |
| | | $("#HQty").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HQty").focus(); |
| | | } |
| | | else if (!$("#HWorkTimes").val()) { |
| | | $("#HWorkTimes").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HWorkTimes").focus(); |
| | | } |
| | | else if (!$("#HWasterQty").val()) { |
| | | $("#HWasterQty").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HWasterQty").focus(); |
| | | } |
| | | else if (!$("#HSource").val()) { |
| | | $("#HSource").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | $("#HSource").focus(); |
| | | } |
| | | else if (!$("#HGroup").val()) { |
| | | $("#HGroup").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | $("#HGroup").focus(); |
| | | } |
| | | else if (!$("#HCenter").val()) { |
| | | $("#HCenter").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | $("#HCenter").focus(); |
| | | } |
| | | } |
| | | |
| | | function GetHWorkerValue(obj) //è¿åæä½å |
| | | { |
| | | $("#Operator").val(obj[0].HName); |
| | | $("#OperatorID").val(obj[0].HItemID); |
| | | //è¿åç产çç» |
| | | function GetProductionTeamValue(obj) { //è¿åç产çç» |
| | | if (obj.length == 0) { |
| | | layer.msg("请å
éæ©çç»", { index: 0 }); |
| | | } else { |
| | | $("#HGroup").val(obj[0].çç»); |
| | | $("#HGroupID").val(obj[0].HItemID); |
| | | $("#HGroup").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | layer.closeAll(); |
| | | } |
| | | } |
| | | //function GetHDeptNameValue(obj) //è¿åé¨é¨ |
| | | //{ |
| | | // $("#HDeptName").val(obj[0].HName); |
| | | // $("#HDeptID").val(obj[0].HItemID); |
| | | //} |
| | | |
| | | //è¿åçäº§èµæº |
| | | function GetProductionResourcesValue(obj) { //è¿åçäº§èµæº |
| | | if ($("#HSource").val()) { |
| | | $("#HSource").css("box-shadow", "none"); |
| | | } |
| | | $("#HSource").val(obj[0].çäº§èµæº); |
| | | $("#HSourceID").val(obj[0].HItemID); |
| | | $("#HSource").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | |
| | | //è¿åå·¥ä½ä¸å¿ |
| | | function GetWorkCenterValue(obj) { //è¿åå·¥ä½ä¸å¿ |
| | | if (obj.length == 0) { |
| | | layer.msg("请å
éæ©çç»", { index: 0 }); |
| | | } else { |
| | | $("#HCenter").val(obj[0].å·¥ä½ä¸å¿); |
| | | $("#HCenterID").val(obj[0].HItemID); |
| | | $("#HCenter").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | layer.closeAll(); |
| | | } |
| | | } |
| | | |
| | | //è¿åæ£éªå |
| | | function GetHSecManagerValue(obj) { //è¿åæ£éªå |
| | | $("#HQCCheck").val(obj[0].HName); |
| | | $("#HQCCheckID").val(obj[0].HItemID); |
| | | } |
| | | |
| | | |
| | | </script> |
| | |
| | | ,height: 'full-50' |
| | | , page: true |
| | | , cols: [[ |
| | | { field: 'éæ©', title: 'éæ©', width: 110 } |
| | | //, { field: 'hmainid', title: 'hmainid', width: 110 } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 165 } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', width: 175 } |
| | | , { field: 'æ£éªå', title: 'æ£éªå', width: 170 } |
| | | , { field: 'ä»»å¡å', title: 'ä»»å¡å', width: 165 } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·', width: 160 } |
| | | //, { field: 'HProcExchInterID', title: 'HProcExchInterID', width: 220 } |
| | | , { field: 'å®¢æ·æ¡ç ', title: 'å®¢æ·æ¡ç ', width: 95 } |
| | | , { field: 'å®¢æ·æ¡ç NEW', title: 'å®¢æ·æ¡ç NEW', width: 80 } |
| | | , { field: 'æ¹æ¬¡å·', title: 'æ¹æ¬¡å·', width: 95 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 95 } |
| | | //, { field: 'HProcID', title: 'HProcID', width: 80 } |
| | | , { field: 'å½åå·¥åºä»£ç ', title: 'å½åå·¥åºä»£ç ', width: 120 } |
| | | , { field: 'å½åå·¥åº', title: 'å½åå·¥åº', width: 182 } |
| | | //, { field: 'HMaterID', title: 'HMaterID', width: 80 } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 182 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 80 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 182 } |
| | | //, { field: 'HunitID', title: 'HunitID', width: 105 } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 105 } |
| | | , { field: '计éåä½', title: '计éåä½', width: 105 } |
| | | , { field: '模穴å·', title: '模穴å·', width: 105 } |
| | | , { field: 'ç©æè¾
å©1', title: 'ç©æè¾
å©1', width: 105 } |
| | | , { field: 'ç©æè¾
å©2', title: 'ç©æè¾
å©2', width: 105 } |
| | | , { field: 'åºç«æ¶é´', title: 'åºç«æ¶é´', width: 105 } |
| | | //, { field: 'HEmpID', title: 'HEmpID', width: 105 } |
| | | , { field: 'æä½å代ç ', title: 'æä½å代ç ', width: 105 } |
| | | , { field: 'æä½å', title: 'æä½å', width: 105 } |
| | | //, { field: 'HSourceID', title: 'HSourceID', width: 105 } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ', width: 105 } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº', width: 105 } |
| | | //, { field: 'HGroupID', title: 'HGroupID', width: 105 } |
| | | , { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ', width: 105 } |
| | | , { field: 'ç产çç»', title: 'ç产çç»', width: 105 } |
| | | , { field: '任塿°é', title: '任塿°é', width: 105 } |
| | | , { field: 'æ°é', title: 'æ°é', width: 105 } |
| | | , { field: 'åºç«æ°é', title: 'åºç«æ°é', width: 105 } |
| | | , { field: 'å·¥æ¶', title: 'å·¥æ¶', width: 105 } |
| | | , { field: 'å¶å人', title: 'å¶å人', width: 105 } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', width: 105 } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', width: 105 } |
| | | //, { field: 'HSubID', title: 'HSubID', width: 105 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨', width: 105 } |
| | | //, { field: 'HBillType', title: 'HBillType', width: 105 } |
| | | , { field: 'åæ®ç±»å', title: 'åæ®ç±»å', width: 105 } |
| | | { field: 'åºç«æ¶é´', title: 'åºç«æ¶é´', width: 120 } |
| | | , { field: 'ä»»å¡å', title: 'ä»»å¡å', width: 80 } |
| | | , { field: 'å·¥åºæµè½¬å¡å·', title: 'å·¥åºæµè½¬å¡å·', width: 165 } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 100 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 100 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 100 } |
| | | , { field: 'å½åå·¥åº', title: 'å½åå·¥åº', width: 100 } |
| | | , { field: 'LOTæ°é', title: 'è®¢åæ°é', width: 100 } |
| | | , { field: 'æ¥æ¶æ°é', title: 'æ¥æ¶æ°é', width: 100 } |
| | | , { field: 'ç产çç»', title: 'ç产çç»', width: 100 } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº', width: 100 } |
| | | , { field: 'æä½å', title: 'æä½å', width: 100 } |
| | | //,{ field: 'HEmpID', title: 'HEmpID', width: 110 } |
| | | //, { field: 'HGroupID', title: 'HGroupID', sort: true, width: 165 } |
| | | //, { field: 'HMaterID', title: 'HMaterID', width: 175 } |
| | | //, { field: 'HProcID', title: 'HProcID', width: 170 } |
| | | //, { field: 'HSourceID', title: 'HSourceID', width: 165 } |
| | | //, { field: 'hmainid', title: 'hmainid', width: 95 } |
| | | //, { field: 'å½åå·¥åºä»£ç ', title: 'å½åå·¥åºä»£ç ', width: 80 } |
| | | //, { field: 'æ¥æ¶æ°é', title: 'æ¥æ¶æ°é', width: 182 } |
| | | //, { field: 'æä½å代ç ', title: 'æä½å代ç ', width: 105 } |
| | | //, { field: 'ç产çç»ä»£ç ', title: 'ç产çç»ä»£ç ', width: 105 } |
| | | //, { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ', width: 105 } |
| | | ]] |
| | | }; |
| | | |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL1() + '/LEMS/MES_StationOutBillList_Json', |
| | | url: GetWEBURL1() + '/api/newBill/getStationOutBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | console.log(data1) |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | if (data1.code == 1) { |
| | | option.data = data1.data.h_v_MES_StationOutBillList; |
| | | table.render(option); |
| | | } else { |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | layer.alert(data1.code + data1.msg, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥!", { |
| | |
| | | } |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL1() + '/LEMS/MES_StationOutBillList_Json', |
| | | url: GetWEBURL1() + '/api/newBill/getStationOutBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | if (data1.code == 1) { |
| | | option.data = data1.data.h_v_MES_StationOutBillList; |
| | | table.render(option); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | layer.alert(data1.code + data1.msg, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£å¤±æ!", { icon: 5 }); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | |
| | | <tr> |
| | | <th>æ¡å½¢ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="æ¡å½¢ç " class="layui-input" id="sBillBarCode" placeholder="请è¾å
¥æ¡å½¢ç " style="border-radius: 50px;"> |
| | | <input type="text" name="HBarCode" class="layui-input" id="HBarCode" placeholder="请è¾å
¥æ¡å½¢ç " style="border-radius: 50px;"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æµè½¬å¡å·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="æµè½¬å¡å·" class="layui-input" id="æµè½¬å¡å·" placeholder="æµè½¬å¡å·" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="æµè½¬å¡å·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æµæ°´å·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="æµæ°´å·" class="layui-input" id="sProcNo" placeholder="请è¾å
¥æµæ°´å·" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HProcNo" class="layui-input" id="HProcNo" placeholder="请è¾å
¥æµæ°´å·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥åºä»£ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="å·¥åºä»£ç " class="layui-input" id="å·¥åºä»£ç " placeholder="请è¾å
¥å·¥åºä»£ç " style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HProcID" class="layui-input" id="HProcID" placeholder="请è¾å
¥å·¥åºä»£ç " style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥åºåç§°</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="å·¥åºåç§°" class="layui-input" id="å·¥åºåç§°" placeholder="请è¾å
¥å·¥åºåç§°" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HProc" class="layui-input" id="HProc" placeholder="请è¾å
¥å·¥åºåç§°" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å建人</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="å建人" class="layui-input" id="å建人" placeholder="请è¾å
¥å建人" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" id="HEmp" placeholder="请è¾å
¥å建人" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" value="0" autocomplete="off" class="layui-input"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>åæ ¼æ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="åæ ¼æ°é" class="layui-input" id="åæ ¼æ°é" placeholder="请è¾å
¥åæ ¼æ°é"> |
| | | <input type="text" name="HQty" class="layui-input" id="HQty" placeholder="请è¾å
¥åæ ¼æ°é"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <tr style="display:none;"> |
| | | <th>å·¥æ¶</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="å·¥æ¶" class="layui-input" id="å·¥æ¶" placeholder="请è¾å
¥å·¥æ¶"> |
| | | <input type="text" name="HWorkTimes" class="layui-input" id="HWorkTimes" placeholder="请è¾å
¥å·¥æ¶"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <tr style="display:none;"> |
| | | <th>æ¥åºæ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="æ¥åºæ°é" class="layui-input" id="æ¥åºæ°é" placeholder="请è¾å
¥æ¥åºæ°é"> |
| | | <input type="text" name="HWasterQty" class="layui-input" id="HWasterQty" placeholder="请è¾å
¥æ¥åºæ°é"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <tr style="display:none;"> |
| | | <th>çäº§èµæº</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="ç产çç»" class="layui-input" id="ProductionResources" placeholder="éæ©çäº§èµæº" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="çäº§èµæºä»£ç " id="ProductionResourcesID" value="0" autocomplete="off" class="layui-input"> |
| | | <input type="text" name="HSource" class="layui-input" id="HSource" placeholder="éæ©çäº§èµæº" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="ProductionResources-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>ç产çç»</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="ç产çç»" class="layui-input" id="ProductionTeam" placeholder="éæ©ç产çç»" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="ç产çç»ä»£ç " id="ProductionTeamID" value="0" autocomplete="off" class="layui-input"> |
| | | <input type="text" name="HGroup" class="layui-input" id="HGroup" placeholder="éæ©ç产çç»" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HGroupID" id="HGroupID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="ProductionTeam-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥ä½ä¸å¿</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="å·¥ä½ä¸å¿" class="layui-input" id="WorkCenter" placeholder="鿩工ä½ä¸å¿" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="å·¥ä½ä¸å¿ID" id="WorkCenterID" value="0" autocomplete="off" class="layui-input"> |
| | | <input type="text" name="HCenter" class="layui-input" id="HCenter" placeholder="鿩工ä½ä¸å¿" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="HWorkingProcedure-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <tr style="display:none;"> |
| | | <th>æ£éªå</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="æ£éªå" class="layui-input" id="Employee" placeholder="éæ©æ£éªå" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="æ£éªåID" id="EmployeeID" value="0" autocomplete="off" class="layui-input"> |
| | | <input type="text" name="HQCCheck" class="layui-input" id="HQCCheck" placeholder="éæ©æ£éªå" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HQCCheckID" id="HQCCheckID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="HSecManagerID-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>åºç«åå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="åºç«åå·" class="layui-input" id="HBillNo" placeholder="请è¾å
¥åºç«åå·" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="åºç«åå·ID" class="layui-input" id="HInterID"> |
| | | <input type="text" name="HBillNo" class="layui-input" id="HBillNo" placeholder="请è¾å
¥åºç«åå·" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HInterID" class="layui-input" id="HInterID"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æ¥æ</th> |
| | | <td class="t1_input"> |
| | | <input type="date" name="æ¥æ" class="layui-input HDateNow" id="HDateNow" placeholder="è¯·éæ©æ¥æ"> |
| | | <input type="date" name="HStationOutTime" class="layui-input" id="HStationOutTime" placeholder="è¯·éæ©æ¥æ"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>ç产订å</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="ç产订å" class="layui-input" id="ç产订å" placeholder="请è¾å
¥ç产订å" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HICMOBillNo" class="layui-input" id="HICMOBillNo" placeholder="请è¾å
¥ç产订å" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>产å代ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="产å代ç " class="layui-input" id="产å代ç " placeholder="请è¾å
¥äº§å代ç " style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HMaterID" class="layui-input" id="HMaterID" placeholder="请è¾å
¥äº§å代ç " style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>产ååç§°</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="产ååç§°" class="layui-input" id="产ååç§°" placeholder="请è¾å
¥äº§ååç§°" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HMaterName" class="layui-input" id="HMaterName" placeholder="请è¾å
¥äº§ååç§°" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>è§æ ¼åå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="è§æ ¼åå·" class="layui-input" id="è§æ ¼åå·" placeholder="请è¾å
¥è§æ ¼åå·" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HMaterModel" class="layui-input" id="HMaterModel" placeholder="请è¾å
¥è§æ ¼åå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>订åè·è¸ªå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="订åè·è¸ªå·" class="layui-input" id="订åè·è¸ªå·" placeholder="请è¾å
¥è®¢åè·è¸ªå·" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HOrderProcNO" class="layui-input" id="HOrderProcNO" placeholder="请è¾å
¥è®¢åè·è¸ªå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>çäº§è®¢åæ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="çäº§è®¢åæ°é" class="layui-input" id="çäº§è®¢åæ°é" placeholder="请è¾å
¥çäº§è®¢åæ°é" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" name="HICMOQty" class="layui-input" id="HICMOQty" placeholder="请è¾å
¥çäº§è®¢åæ°é" style="background-color:#efefef4d;" readonly> |
| | | <!--éèåæ®µ--> |
| | | <input type="hidden" name="HICMOInterID" class="layui-input" id="HICMOInterID"><!--ä»»å¡åå·IDåhicmointerid--> |
| | | <input type="hidden" name="HDeptID" class="layui-input" id="HDeptID"><!--ç产车é´id--> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | |
| | | , form = layui.form; |
| | | |
| | | //è·åå½åæ¶é´å¤ç |
| | | $("#HDateNow").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#å建人").val(sessionStorage["HUserName"]); |
| | | $("#HStationOutTime").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HEmp").val(sessionStorage["HUserName"]);//å建人 |
| | | $("#HEmpID").val(sessionStorage["HEmpID"]); |
| | | $("#HProc").val(sessionStorage["HProc"]);//å·¥åº |
| | | $("#HProcID").val(sessionStorage["HProcName"]); |
| | | $("#HSource").val(sessionStorage["HSource"]);//çäº§èµæº |
| | | $("#HSourceID").val(sessionStorage["HSourceID"]); |
| | | $("#HGroup").val(sessionStorage["HGroup"]);//ç产çç» |
| | | $("#HGroupID").val(sessionStorage["HGroupID"]); |
| | | $("#HCenter").val(sessionStorage["HWorkCenter"]);//å·¥ä½ä¸å¿ |
| | | $("#HCenterID").val(sessionStorage["HWorkCenterID"]); |
| | | $("#HProcNo").val(sessionStorage["HProcNo"]);//æµæ°´å· |
| | | |
| | | //页é¢åå§åèµå¼ |
| | | //è·ååæ®å· |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/api/newBill/getNewInterBillNo", |
| | | type: "GET", |
| | | //data: { "HBillType": '3790' }, |
| | | data: { "HBillType": '3791' }, |
| | | success: function (d) { |
| | | $("#HBillNo").val(d.data.HBillNo);//è¿ç«åå· |
| | | $("#HInterID").val(d.data.HInterID);//è¿ç«åå·ID |
| | |
| | | } |
| | | }); |
| | | |
| | | $("#sBillBarCode").focus(); |
| | | $("#sBillBarCode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#Serial_number").attr("readonly", "readonly");//æµæ°´å·åªè¯» |
| | | $("#Serial_number").css("background-color", "#efefef4d"); |
| | | $("#Entrants_number").attr("readonly", "readonly");//è¿ç«æ°éåªè¯» |
| | | $("#Entrants_number").css("background-color", "#efefef4d"); |
| | | $("#HBarCode").focus(); |
| | | $("#HBarCode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | |
| | | |
| | | //æ«æ¡å½¢ç æ¹æ³ |
| | | $('#sBillBarCode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var sBillBarCode = $('#sBillBarCode').val();//æ¡å½¢ç ï¼æµè½¬å¡å·ï¼ï¼æ°æ®åºä¸ä¸ºåæ®å·ï¼ |
| | | $('#HBarCode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HBarCode = $('#HBarCode').val();//æ¡å½¢ç ï¼æµè½¬å¡å·ï¼ï¼æ°æ®åºä¸ä¸ºåæ®å·ï¼ |
| | | if (event.keyCode == 13) { |
| | | //å¤æææ¬æ¡æ¯å¦ææ°æ® new |
| | | if (sBillBarCode == "") { |
| | | if (HBarCode == "") { |
| | | layer.alert("æ¡å½¢ç 为空ï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | |
| | | url: GetWEBURL() + "api/newBill/getHbarCodeDetail", |
| | | type: "GET", |
| | | data: { |
| | | "sBillBarCode": sBillBarCode |
| | | "sBillBarCode": HBarCode |
| | | }, |
| | | success: function (result) { |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "æµè½¬å¡å·": $("#sBillBarCode").val() |
| | | , "å·¥åºä»£ç ": data.å·¥åºä»£ç |
| | | , "å·¥åºåç§°": data.å·¥åº |
| | | , "åæ ¼æ°é": data.è®¡åæ°é |
| | | , "产å代ç ": data.产å代ç |
| | | , "产ååç§°": data.产å |
| | | , "è§æ ¼åå·": data.è§æ ¼åå· |
| | | , "çäº§è®¢åæ°é": data.ç产æ°é |
| | | "HProcExchBillNo": $("#HBarCode").val() |
| | | //, "HProcID": data.HProcID |
| | | //, "HProc": data.å·¥åº |
| | | //, "HCenter": data.å·¥ä½ä¸å¿ |
| | | //, "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | , "HICMOInterID": data.hicmointerid |
| | | , "HICMOBillNo": data.ä»»å¡åå· |
| | | , "HDeptID": data.HDeptID |
| | | , "HQty": data.è®¡åæ°é |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterName": data.产å |
| | | , "HMaterModel": data.è§æ ¼åå· |
| | | , "HICMOQty": data.ç产æ°é |
| | | , "HOrderProcNO": data.订åè·è¸ªå· |
| | | }); |
| | | //$("#sBillBarCode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | //$("#sBillBarCode").css("background-color", "#efefef4d"); |
| | | $("#sBillBarCode").css("box-shadow", "none"); |
| | | $("#sProcNo").removeAttr("readonly");//ç§»é¤æµæ°´å·åªè¯» |
| | | $("#sProcNo").css("background-color", "white"); |
| | | $("#sProcNo").focus(); |
| | | $("#sProcNo").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | //$("#HBarCode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | //$("#HBarCode").css("background-color", "#efefef4d"); |
| | | $("#HBarCode").css("box-shadow", "none"); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ«æ¡å½¢ç æ¹æ³åçé误!", { icon: 5 }); |
| | |
| | | }); |
| | | |
| | | //æµæ°´å·åè½¦æ¹æ³ |
| | | $('#sProcNo').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var sProcNo = $('#sProcNo').val(); |
| | | var sBillNo = $('#sBillBarCode').val(); |
| | | $('#HProcNo').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HProcNo = $('#HProcNo').val(); |
| | | var HBarCode = $('#HBarCode').val(); |
| | | if (event.keyCode == 13) { |
| | | if (sProcNo == "" || sBillNo == "") { |
| | | if (HProcNo == "" || HBarCode == "") { |
| | | layer.alert("æµæ°´å·ææµè½¬å¡å·ä¸ºç©ºï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | |
| | | url: GetWEBURL() + "/api/newBill/getProcDetail", |
| | | type: "GET", |
| | | data: { |
| | | "sBillNo": sBillNo |
| | | , "sProcNo": sProcNo |
| | | "sBillNo": HBarCode |
| | | , "sProcNo": HProcNo |
| | | }, |
| | | success: function (result) { |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "å·¥åºä»£ç ": data.å·¥åºä»£ç |
| | | , "å·¥åºåç§°": data.å·¥åº |
| | | , "åæ ¼æ°é": data.è®¡åæ°é |
| | | , "产å代ç ": data.产å代ç |
| | | , "产ååç§°": data.产å |
| | | , "è§æ ¼åå·": data.è§æ ¼åå· |
| | | , "çäº§è®¢åæ°é": data.ç产æ°é |
| | | //"HProcID": data.HProcID |
| | | //, "HProc": data.å·¥åº |
| | | //, "HCenter": data.å·¥ä½ä¸å¿ |
| | | //, "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | "HICMOInterID": data.hicmointerid |
| | | , "HICMOBillNo": data.ä»»å¡åå· |
| | | , "HDeptID": data.HDeptID |
| | | , "HQty": data.è®¡åæ°é |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterName": data.产å |
| | | , "HMaterModel": data.è§æ ¼åå· |
| | | , "HICMOQty": data.ç产æ°é |
| | | }); |
| | | $("#sProcNo").css("box-shadow", "none"); |
| | | $("#HProcNo").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } else { |
| | | layer.alert(result.Message, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | |
| | | } |
| | | }); |
| | | |
| | | //åæ ¼æ°éåè½¦æ¹æ³ |
| | | $('#HQty').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#HQty").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //å·¥æ¶åè½¦æ¹æ³ |
| | | $('#å·¥æ¶').on('keydown', function (event) { |
| | | checkPopup(); |
| | | $('#HWorkTimes').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#HWorkTimes").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //æ¥åºæ°éåè½¦æ¹æ³ |
| | | $('#æ¥åºæ°é').on('keydown', function (event) { |
| | | $('#æ¥åºæ°é').blur(); |
| | | checkPopup(); |
| | | $('#HWasterQty').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#HWasterQty").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //éæ©ç产çç»å¼¹çª |
| | |
| | | |
| | | //éæ©æ£éªå |
| | | form.on('submit(HSecManagerID-BT)', function (data) {//éæ©æ£éªå |
| | | var sMainStr = JSON.stringify(data.field); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | |
| | | //ä¿åæé® |
| | | form.on('submit(Saver)', function (data) {//æäº¤ |
| | | //debugger; |
| | | var sMainStr = JSON.stringify(data.field); |
| | | console.log(sMainStr); |
| | | var sMainStr = data.field; |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + "/test", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | url: GetWEBURL() + "/api/newBill/setStationOutBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | //url:"http://localhost:12761/api/newBill/setStationOutBill", |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | data: sMainStr, |
| | | dataType: "json", |
| | | success: function (result) { |
| | | console.log(result); |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | $("#sHWHID").val(""); |
| | | layer.alert(result.msg + "åå·ä¸ºï¼" + $("#HBillNo").val(), { icon: 1 }, function () { |
| | |
| | | //éåºæé® |
| | | form.on('submit(Close)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦å
³éæ¬é¡µåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.layui.admin.events.closeThisTabs(); |
| | | parent.location.href = "../../views/index.html"; |
| | | }); |
| | | }); |
| | | |
| | | //æ°å¢æé® |
| | | //form.on('submit(HAddBT)', function (data) {//éåº |
| | | // layer.confirm('æ¨ç¡®å®è¦æ°å¢åï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | // window.location.reload(); |
| | | // }); |
| | | //}); |
| | | form.on('submit(HAddBT)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦æ°å¢åï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.location.reload(); |
| | | }); |
| | | }); |
| | | |
| | | |
| | | |
| | |
| | | |
| | | }); |
| | | |
| | | //æç¤ºæ¯å¦éæ©å¼¹çªäºä»¶åæ¯å¦è¾å
¥å·¥æ¶ååæ ¼æ°é |
| | | //æ ¡éªæ¯å¦éæ©å¼¹çªäºä»¶ |
| | | function checkPopup() { |
| | | $("#å·¥æ¶").css("box-shadow", "none"); |
| | | $("#æ¥åºæ°é").css("box-shadow", "none"); |
| | | $("#ProductionResources").css("box-shadow", "none"); |
| | | $("#ProductionTeam").css("box-shadow", "none"); |
| | | $("#WorkCenter").css("box-shadow", "none"); |
| | | $("#Employee").css("box-shadow", "none"); |
| | | if (!$("#å·¥æ¶").val()) { |
| | | $("#å·¥æ¶").focus(); |
| | | $("#å·¥æ¶").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | if (!$("#HQty").val()) { |
| | | $("#HQty").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HQty").focus(); |
| | | } |
| | | else if (!$("#æ¥åºæ°é").val()) { |
| | | $("#æ¥åºæ°é").focus(); |
| | | $("#æ¥åºæ°é").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | //else if (!$("#HWorkTimes").val()) {//å·¥æ¶ |
| | | // $("#HWorkTimes").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | // $("#HWorkTimes").focus(); |
| | | //} |
| | | //else if (!$("#HWasterQty").val()) {//æ¥åºæ°é |
| | | // $("#HWasterQty").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | // $("#HWasterQty").focus(); |
| | | //} |
| | | //else if (!$("#HSource").val()) {//çäº§èµæº |
| | | // $("#HSource").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | // $("#HSource").focus(); |
| | | //} |
| | | else if (!$("#HGroup").val()) { |
| | | $("#HGroup").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | $("#HGroup").focus(); |
| | | } |
| | | else if (!$("#ProductionResources").val()) { |
| | | $("#ProductionResources").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#ProductionTeam").val()) { |
| | | $("#ProductionTeam").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#WorkCenter").val()) { |
| | | $("#WorkCenter").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#Employee").val()) { |
| | | $("#Employee").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | else if (!$("#HCenter").val()) { |
| | | $("#HCenter").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | $("#HCenter").focus(); |
| | | } |
| | | } |
| | | |
| | |
| | | if (obj.length == 0) { |
| | | layer.msg("请å
éæ©çç»", { index: 0 }); |
| | | } else { |
| | | $("#ProductionTeam").val(obj[0].çç»); |
| | | $("#ProductionTeamID").val(obj[0].HItemID); |
| | | $("#ProductionTeam").css("box-shadow", "none"); |
| | | $("#HGroup").val(obj[0].çç»); |
| | | $("#HGroupID").val(obj[0].HItemID); |
| | | $("#HGroup").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | layer.closeAll(); |
| | | } |
| | |
| | | |
| | | //è¿åçäº§èµæº |
| | | function GetProductionResourcesValue(obj) { //è¿åçäº§èµæº |
| | | if ($("#ProductionResources").val()) { |
| | | $("#ProductionResources").css("box-shadow", "none"); |
| | | if ($("#HSource").val()) { |
| | | $("#HSource").css("box-shadow", "none"); |
| | | } |
| | | $("#ProductionResources").val(obj[0].çäº§èµæº); |
| | | $("#ProductionResourcesID").val(obj[0].çäº§èµæºä»£ç ); |
| | | $("#ProductionResources").css("box-shadow", "none"); |
| | | $("#HSource").val(obj[0].çäº§èµæº); |
| | | $("#HSourceID").val(obj[0].HItemID); |
| | | $("#HSource").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | |
| | |
| | | if (obj.length == 0) { |
| | | layer.msg("请å
éæ©çç»", { index: 0 }); |
| | | } else { |
| | | $("#WorkCenter").val(obj[0].ç产çç»); |
| | | $("#WorkCenterID").val(obj[0].HItemID); |
| | | $("#WorkCenter").css("box-shadow", "none"); |
| | | $("#HCenter").val(obj[0].å·¥ä½ä¸å¿); |
| | | $("#HCenterID").val(obj[0].HItemID); |
| | | $("#HCenter").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | layer.closeAll(); |
| | | } |
| | |
| | | |
| | | //è¿åæ£éªå |
| | | function GetHSecManagerValue(obj) { //è¿åæ£éªå |
| | | $("#Employee").val(obj[0].HName); |
| | | $("#EmployeeID").val(obj[0].HNumber); |
| | | $("#Employee").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | $("#HQCCheck").val(obj[0].HName); |
| | | $("#HQCCheckID").val(obj[0].HItemID); |
| | | } |
| | | |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head> |
| | | <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"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=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> |
| | | |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid"> |
| | | <div class="layui-col-md12"> |
| | | <div class="layui-card" style="padding: 1px"> |
| | | <div class="layui-card-body" style="padding: 1px;"> |
| | | <form class="layui-form" action="" lay-filter="component-form-group"> |
| | | <div class="layui-collapse"> |
| | | <div class="layui-colla-item"> |
| | | <div class="layui-colla-title layui-inline"> |
| | | <div class="layui-inline"> |
| | | <span>æ´å¤</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å¼å§æ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input" id="HDate"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç»ææ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input" id="HDate1"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">订åè·è¸ªå·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> |
| | | |
| | | <div class="layui-colla-content"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-inline"> |
| | | <span>å
¶ä»æ¡ä»¶></span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åæ®å·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="WorkCenter" id="WorkCenter"> |
| | | </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-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <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> |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).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 |
| | | //var sWhere = " 产å代ç = 'BX0002'"; |
| | | var sWhere = ""; |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cols: [[ |
| | | //{ 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 }); |
| | | } |
| | | }); |
| | | |
| | | //éç½®æé® |
| | | form.on('submit(btnReSearch)', function (data) { |
| | | $("#HDate").val("");//å¼å§æ¥æ |
| | | $("#HDate1").val("");//ç»ææ¥æ |
| | | $("#HOrderProcNO").val("");//订åè·è¸ªå· |
| | | $("#WorkCenter").val("");//åæ®å· |
| | | $("#btnSearch").click(); |
| | | }); |
| | | |
| | | //æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) {//éæ©ä»ä½ |
| | | var HDate = $("#HDate").val();//å¼å§æ¥æ |
| | | var HDate1 = $("#HDate1").val();//ç»ææ¥æ |
| | | var HOrderProcNO = $("#HOrderProcNO").val();//订åè·è¸ªå· |
| | | var WorkCenter = $("#WorkCenter").val();//åæ®å· |
| | | if (HDate) { |
| | | sWhere += " and æ¥æ >= '" + HDate + "'"; |
| | | } |
| | | if (HDate1) { |
| | | sWhere += " and æ¥æ <= '" + HDate1 + "'"; |
| | | } |
| | | if (HOrderProcNO) { |
| | | sWhere += " and 订åè·è¸ªå· like '%" + HOrderProcNO + "%'"; |
| | | } |
| | | 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 }); |
| | | } |
| | | }); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | }); |
| | | |
| | | |
| | | //laydate.render({ |
| | | // elem: '#HDate' |
| | | // , type: 'datetime' |
| | | // , trigger: 'click' |
| | | // , format:'yyyy-MM-dd HH:mm' |
| | | //}); |
| | | |
| | | |
| | | //以䏿¯layui模å |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head> |
| | | <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"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=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> |
| | | |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid"> |
| | | <div class="layui-col-md12"> |
| | | <div class="layui-card" style="padding: 1px"> |
| | | <div class="layui-card-body" style="padding: 1px;"> |
| | | <form class="layui-form" action="" lay-filter="component-form-group"> |
| | | <div class="layui-collapse"> |
| | | <div class="layui-colla-item"> |
| | | <div class="layui-colla-title layui-inline"> |
| | | <div class="layui-inline"> |
| | | <span></span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åæ®å·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="WorkCenter" id="WorkCenter"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç©æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="hnumber" id="hnumber"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åæ®ç±»å</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> |
| | | |
| | | </div> |
| | | </div> |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <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> |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).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 |
| | | //var sWhere = " 产å代ç = 'BX0002'"; |
| | | var sWhere = ""; |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cols: [[ |
| | | //{ field: 'hmainid', title: 'hmainid', width: 110 } |
| | | { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 165 } |
| | | , { field: 'åæ®ç±»å', title: 'åæ®ç±»å' } |
| | | , { field: 'å·¥èºåç§°', title: 'å·¥èºåç§°', width: 170 } |
| | | //, { field: 'hmaterid', title: 'hmaterid', width: 165 } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 160 } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 160 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 215 } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 115 } |
| | | , { field: '计éåä½', title: '计éåä½' } |
| | | , { field: 'é»è®¤å·¥èº', title: 'é»è®¤å·¥èº' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | //, { field: 'hsubid', title: 'hsubid', width: 80 } |
| | | , { field: 'å·¥åºå·', title: 'å·¥åºå·' } |
| | | , { field: 'å§å¤æ è®°', title: 'å§å¤æ è®°' } |
| | | //, { field: 'hprocid', title: 'hprocid', width: 105 } |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ' } |
| | | , { field: 'å·¥åº', title: 'å·¥åº' } |
| | | //, { field: 'HSupID', title: 'HSupID', width: 105 } |
| | | , { field: 'ä¾åºå代ç ', title: 'ä¾åºå代ç ' } |
| | | , { field: 'ä¾åºå', title: 'ä¾åºå' } |
| | | //, { field: 'HCenterID', title: 'HCenterID', width: 105 } |
| | | , { field: 'å·¥ä½ä¸å¿ä»£ç ', title: 'å·¥ä½ä¸å¿ä»£ç ', width: 115 } |
| | | , { field: 'å·¥ä½ä¸å¿åç§°', title: 'å·¥ä½ä¸å¿åç§°', width: 115 } |
| | | , { 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: 'HDayWorkQty', title: 'HDayWorkQty', width: 105 } |
| | | //, { field: 'HGroupID', title: 'HGroupID', width: 105 } |
| | | //, { field: 'HWorkerID', title: 'HWorkerID', width: 105 } |
| | | //, { field: 'HSourceID', title: 'HSourceID', width: 105 } |
| | | , { field: 'å å·¥åä»·', title: 'å å·¥åä»·' } |
| | | //, { field: 'HNextProcFlag', title: 'HNextProcFlag', width: 105 } |
| | | , { field: 'ä¸éæµè½¬å·¥åº', title: 'ä¸éæµè½¬å·¥åº'} |
| | | , { field: 'æµè½¬å·¥åº', title: 'æµè½¬å·¥åº' } |
| | | ]] |
| | | }; |
| | | |
| | | var index = layer.load(0, { shade: false }); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/LEMS/MES_Gy_RoutingBillList_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(index); |
| | | } else { |
| | | layer.close(index); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | //éç½®æé® |
| | | form.on('submit(btnReSearch)', function (data) { |
| | | $("#WorkCenter").val("");//åæ®å· |
| | | $("#hnumber").val("");//ç©æ |
| | | $("#HOrderProcNO").val("");//åæ®ç±»å |
| | | $("#btnSearch").click(); |
| | | }); |
| | | |
| | | //æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) {//éæ©ä»ä½ |
| | | var HOrderProcNO = $("#HOrderProcNO").val();//åæ®ç±»å |
| | | var hnumber = $("#hnumber").val();//ç©æ |
| | | var WorkCenter = $("#WorkCenter").val();//åæ®å· |
| | | if (HOrderProcNO) { |
| | | sWhere += " and åæ®ç±»å like '%" + HOrderProcNO + "%'"; |
| | | } |
| | | if (hnumber) { |
| | | sWhere += " and ç©æä»£ç like '%" + hnumber + "%' or ç©æåç§° like '%" + hnumber + "%'" |
| | | } |
| | | if (WorkCenter) { |
| | | sWhere += " and åæ®å· like '%" + WorkCenter + "%'"; |
| | | } |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL1() + '/LEMS/MES_Gy_RoutingBillList_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£å¤±æ!", { icon: 5 }); |
| | | } |
| | | }); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | }); |
| | | |
| | | |
| | | //laydate.render({ |
| | | // elem: '#HDate' |
| | | // , type: 'datetime' |
| | | // , trigger: 'click' |
| | | // , format:'yyyy-MM-dd HH:mm' |
| | | //}); |
| | | |
| | | |
| | | //以䏿¯layui模å |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |