From 7ec0b6ddb14897fa47769b14cc4cb36049bb5ebb Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 22 六月 2026 09:11:53 +0800
Subject: [PATCH] 1、报价系统中,需将付款方式改为选择项(现金、电汇、微信、支付宝等),不能做成手工输入;4、退货单未明确退货规则;5、客户往来信息过于简单,只做总结性信息,无多维度明细信息;

---
 src/views/productManagement/productIdentifier/index.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/views/productManagement/productIdentifier/index.vue b/src/views/productManagement/productIdentifier/index.vue
index 2eceb31..d638e7a 100644
--- a/src/views/productManagement/productIdentifier/index.vue
+++ b/src/views/productManagement/productIdentifier/index.vue
@@ -240,7 +240,7 @@
           <span>{{ currentProduct.identifierType }}</span>
         </el-form-item>
         <el-form-item label="鍒涘缓鏃堕棿">
-          <el-date-picker v-model="createTime"
+          <el-date-picker v-model="createTimeDate"
                           type="date"
                           placeholder="閫夋嫨鏃ユ湡"
                           value-format="YYYY-MM-DD"
@@ -363,6 +363,7 @@
 
 <script setup>
   import { ref, reactive, computed } from "vue";
+  import dayjs from "dayjs";
   import { ElMessage, ElMessageBox } from "element-plus";
   import { Plus, Search, Loading, Download } from "@element-plus/icons-vue";
   import Pagination from "@/components/PIMTable/Pagination.vue";
@@ -449,7 +450,13 @@
   const generateQuantity = ref(1);
   const codeRule = ref("");
   const customPrefix = ref("");
-  const createTime = ref(new Date().toISOString().split('T')[0]);
+  const createTime = ref(dayjs().format("YYYY-MM-DD HH:mm:ss"));
+  const createTimeDate = computed({
+    get: () => (createTime.value ? String(createTime.value).split(" ")[0] : ""),
+    set: (value) => {
+      createTime.value = value ? `${value} ${dayjs().format("HH:mm:ss")}` : "";
+    },
+  });
   const newBatchNo = ref("");
   const reassignReason = ref("");
   const formRef = ref();

--
Gitblit v1.9.3