From 46e91bad035053a7e2401dba92db443c7f3530e7 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期三, 11 九月 2024 12:31:00 +0800
Subject: [PATCH] #
---
pages/pakin/goodsDown.vue | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/pages/pakin/goodsDown.vue b/pages/pakin/goodsDown.vue
index 1c86b81..d5a376d 100644
--- a/pages/pakin/goodsDown.vue
+++ b/pages/pakin/goodsDown.vue
@@ -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)
},
},
--
Gitblit v1.9.1