| | |
| | | var form = layui.form; |
| | | var admin = layui.admin; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $('#productCode').click(function () { |
| | | layer.open({ |
| | | type: 2, |
| | | area: ['1000px', '600px'], |
| | | title: '物料信息', |
| | | content: Feng.ctxPath + '/workOrder/productListing', |
| | | success: function (layero, index) { |
| | | window.materialType = 'PRODUCE'; |
| | | }, |
| | | end: function () { |
| | | let msg = JSON.parse(window.localStorage.getItem('message')); |
| | | $('#productCode').val(msg.materialCode); |
| | | $('#productName').val(msg.materialName); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //表单提交事件 |
| | | form.on('submit(btnSubmit)', function (data) { |