From f4a3430eb6b6800d4ef7330293dd8fb834eee196 Mon Sep 17 00:00:00 2001 From: yantian yue <306727702@qq.com> Date: 星期三, 18 十月 2023 14:32:04 +0800 Subject: [PATCH] OPCUA更新 --- guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/workOrder_add.js | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/workOrder_add.js b/guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/workOrder_add.js index 658e121..dd994af 100644 --- a/guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/workOrder_add.js +++ b/guns-vip-main/src/main/webapp/assets/modular/pm/workOrder/workOrder_add.js @@ -100,6 +100,23 @@ } }); + $('#productCode').click(function () { + layer.open({ + type: 2, + area: ['1000px', '600px'], + title: '鐗╂枡淇℃伅', + content: Feng.ctxPath + '/workOrder/productListing', + success: function (layero, index) { + window.materialType = '浜у搧'; + }, + end: function () { + let msg = JSON.parse(window.localStorage.getItem('message')); + $('#productCode').val(msg.materialCode); + $('#productName').val(msg.materialName); + } + }); + }); + //琛ㄥ崟鎻愪氦浜嬩欢 form.on('submit(btnSubmit)', function (data) { var ajax = new $ax(Feng.ctxPath + "/workOrder/addItem", function (data) { -- Gitblit v1.9.3