From e4dc67055ea0c21e72815054c044b56a76ec625e Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 17 四月 2024 13:08:36 +0800 Subject: [PATCH] # --- pages/pakin/goodsDown.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pages/pakin/goodsDown.vue b/pages/pakin/goodsDown.vue index 68c57ca..d5a376d 100644 --- a/pages/pakin/goodsDown.vue +++ b/pages/pakin/goodsDown.vue @@ -33,9 +33,9 @@ </view> </view> --> <view class="list-left-item"> - <view class="desc">鏂欏彿锛�</view> + <view class="desc">缂栫爜锛�</view> <view class="left-item"> - <uni-tag :text="item.matnr" type="primary" style="width: 350rpx; overflow: auto;"></uni-tag> + <view class="left-item">{{item.matnr}}</view> </view> </view> <view class="list-left-item"> @@ -255,6 +255,13 @@ // 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹� events: { matList: function(data) { + if(data.data.batch == "" || data.data.batch == null){ + const now = new Date(); + const year = now.getFullYear(); + const month = now.getMonth() + 1; // 鏈堜唤浠�0寮�濮嬶紝闇�瑕佸姞1 + const day = now.getDate(); + data.data.batch = (""+year+month+day) + } that.checkMat(data.data) }, }, @@ -444,7 +451,7 @@ box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.2); } .list:first-child { - margin-top: 410rpx; + margin-top:320rpx; } .list:last-child { margin-bottom: 120rpx; -- Gitblit v1.9.1