From d426a65ba84bd4ef3298cb7cda0e9664cc6038e7 Mon Sep 17 00:00:00 2001 From: 18516761980 <4761516tqsxp> Date: 星期四, 13 一月 2022 14:23:30 +0800 Subject: [PATCH] #单据类型区分入库单和出库单 --- src/main/webapp/static/js/item/item.js | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/static/js/item/item.js b/src/main/webapp/static/js/item/item.js index b995313..fbd8688 100644 --- a/src/main/webapp/static/js/item/item.js +++ b/src/main/webapp/static/js/item/item.js @@ -28,9 +28,13 @@ ,{field: 'inUuid', align: 'center',title: '鍐呴儴缂栧彿', hide: true} // ,{field: 'cstmrUuid', align: 'center',title: '瀹㈡埛缂栧彿'} ,{field: 'cstmrUuid$', align: 'center',title: '瀹㈡埛鍚嶇О'} + ,{field: 'projectStatus$', align: 'center', title: '椤圭洰杩涘害'} + // ,{field: 'member', align: 'center',title: '椤圭洰鎴愬憳'} // ,{field: 'leader', align: 'center',title: '椤圭洰缁忕悊'} - ,{field: 'startTime$', align: 'center',title: '璁″垝寮�濮嬫椂闂�'} + ,{field: 'startTime$', align: 'center',title: '璁″垝寮�濮嬫椂闂�', + templet : "<div>{{layui.util.toDateString(d.startTime$, 'yyyy-MM-dd')}}</div>" + } ,{field: 'endTime$', align: 'center',title: '璁″垝缁撴潫鏃堕棿'} ,{field: 'realStartTime', align: 'center', title: '瀹為檯寮�濮嬫椂闂�'} ,{field: 'realEndTime', align: 'center', title: '瀹為檯缁撴潫鏃堕棿'} @@ -163,13 +167,13 @@ admin.open({ type: 1, area: '600px', - title: (mData ? '淇敼' : '娣诲姞') + '璁㈠崟鐘舵��', + title: (mData ? '淇敼' : '娣诲姞') + '椤圭洰淇℃伅', content: $('#editDialog').html(), success: function (layero, dIndex) { layDateRender(); form.val('detail', mData); form.on('submit(editSubmit)', function (data) { - + console.log(data) var loadIndex = layer.load(2); $.ajax({ url: baseUrl+"/item/"+(mData?'update':'add')+"/auth", @@ -199,7 +203,7 @@ /* 鍒犻櫎 */ function del(ids) { - layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', { + layer.confirm('纭畾瑕佺鐢ㄩ�変腑鏁版嵁鍚楋紵', { skin: 'layui-layer-admin', shade: .1 }, function (i) { -- Gitblit v1.9.1