From 746fc975621dc0538d0dcc6d4c8b3f17fc13fe3c Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 30 十月 2023 13:24:43 +0800
Subject: [PATCH] 	modified:   src/api/equipment/equipment.js 	new file:   src/api/quality/rawMaterial.js 	modified:   src/api/technology/document.js 	new file:   src/const/crud/quality/rawMaterial.js 	modified:   src/router/views/index.js 	modified:   src/views/common/teststandardradio.vue 	modified:   src/views/equipment/equipment/index.vue 	modified:   src/views/plan/customerorder/customerorder-form.vue 	modified:   src/views/plan/customerorder/index.vue 	new file:   src/views/quality/rawMaterial/index.vue 	new file:   src/views/quality/rawMaterial/rawMaterial-form.vue 	modified:   src/views/technology/document/document-form.vue 	modified:   src/views/technology/operation/index.vue 	modified:   src/views/technology/operation/operation-form.vue 	modified:   src/views/technology/routing/index.vue 	modified:   src/views/technology/routing/routing-form.vue 	modified:   src/views/technology/structure/index.vue 	modified:   src/views/technology/structure/single-structure-form.vue 	modified:   vue.config.js

---
 src/util/date.js |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/util/date.js b/src/util/date.js
index 16ffed7..997017e 100644
--- a/src/util/date.js
+++ b/src/util/date.js
@@ -84,3 +84,20 @@
   year = (year + '').substring(2, 4)
   return year + month
 }
+
+/**
+ * 鑾峰彇骞存湀鏃�
+ */
+export function getYearAndMonthAndDays() {
+  const date = new Date()
+  let year = date.getFullYear()
+  let month = date.getMonth() + 1
+  if (month < 10) {
+    month = '0' + month
+  } else {
+    month = month + '-'
+  }
+  year = year + '-'
+  let days = date.getDate()
+  return year + month + days
+}
\ No newline at end of file

--
Gitblit v1.9.3