From 3911b985cc7cd41fdb2c9061d8c83f4bf7a4880e Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期六, 16 十二月 2023 14:07:21 +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