From 111d09d2f3fadf841e3df1c72dfd423ea1c91649 Mon Sep 17 00:00:00 2001 From: 18516761980 <4761516tqsxp> Date: 星期五, 14 一月 2022 13:59:30 +0800 Subject: [PATCH] #单据类型区分入库单和出库单 --- src/main/webapp/static/js/projectPlan/projectPlan.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/projectPlan/projectPlan.js b/src/main/webapp/static/js/projectPlan/projectPlan.js index fed6285..bc873fd 100644 --- a/src/main/webapp/static/js/projectPlan/projectPlan.js +++ b/src/main/webapp/static/js/projectPlan/projectPlan.js @@ -172,8 +172,9 @@ layDateRender(); form.val('detail', mData); form.on('submit(editSubmit)', function (data) { - data.field.itemId = items - + if(mData === '娣诲姞'){ + data.field.push(items); + } var loadIndex = layer.load(2); $.ajax({ url: baseUrl+"/projectPlan/"+(mData?'update':'add')+"/auth", -- Gitblit v1.9.1