| | |
| | | <form id="form0" class="layui-form" lay-filter="component-form-group" action=""> |
| | | <div class="layui-card-header"> |
| | | <div class="layui-btn-group"> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_AddNew" id="set_AddNew">æ°å¢</button> |
| | | <button type="button" id="add-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="view">é¢è§</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="print">æå°</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Exit">éåº</button> |
| | | </div> |
| | | </div> |
| | |
| | | }) |
| | | } |
| | | |
| | | //æ°å¢ |
| | | form.on('submit(set_AddNew)', function (data) { |
| | | $("#component-form-group")[0].reset(); |
| | | layui.form.render(); |
| | | set_AddFNew(); |
| | | }); |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) { |
| | | data.field.HPlanInterID = 0; |
| | |
| | | } |
| | | }); |
| | | }); |
| | | //é¢è§Printing |
| | | form.on("submit(view)", function (data) { |
| | | window.open("../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/HBarPlanPrint.html?linterid=" + linterid + "&Type=HMouldDotCheckBill&OpenTmp=å¨å
·ç¹æ£è®°å½æ¡ç "); |
| | | |
| | | }); |
| | | //æå°Printing |
| | | form.on("submit(print)", function (data) { |
| | | window.open("../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/HBarPlanPrint.html?linterid=" + linterid + "&Type=HMouldDotCheckBill&OpenTmp=å¨å
·ç¹æ£è®°å½æ¡ç "); |
| | | |
| | | }); |
| | | //éåº |
| | | form.on('submit(Exit)', function (data) {// |
| | | if (linterid == undefined) { |
| | | //å
³éé¡µç¾ |
| | | Pub_Close(2); |
| | | } |
| | | else { |
| | | //å
³éé¡µç¾ |
| | | Pub_Close(1); |
| | | } |
| | | }); |
| | | |
| | | //#endregion |