diff --git a/klp-ui/src/views/wms/coil/do/warehousing.vue b/klp-ui/src/views/wms/coil/do/warehousing.vue
index d1321148..ece82129 100644
--- a/klp-ui/src/views/wms/coil/do/warehousing.vue
+++ b/klp-ui/src/views/wms/coil/do/warehousing.vue
@@ -72,7 +72,8 @@
-->
-
+
@@ -276,10 +277,11 @@
-
-
+
+
请先选择材料类型
@@ -294,7 +296,8 @@
-->
-
+
@@ -532,14 +535,23 @@ export default {
}
},
remoteMethod(query) {
- listDeliveryPlan({ planName: query, pageNum: 1, pageSize: 5, planType: 1 }).then(res => {
+ listDeliveryPlan({ planName: query, pageNum: 1, pageSize: 10, planType: 1 }).then(res => {
this.planList = res.rows
})
},
getTodayPlan() {
// 获取今天的收货计划
// 计划日期格式为yyyy-MM-dd
- let today = new Date().toISOString().substring(0, 10)
+ function getBeijingDate() {
+ const today = new Date();
+ const year = today.getFullYear(); // 获取4位完整年份(2026)
+ const month = String(today.getMonth() + 1).padStart(2, '0'); // 月份是0开始(0-11),所以+1;补0成两位(01-12)
+ const day = String(today.getDate()).padStart(2, '0'); // 日期补0成两位(01-31)
+ return `${year}-${month}-${day}`;
+ }
+
+ // 调用使用
+ let today = getBeijingDate();
// let today = '2025-01-01'
listDeliveryPlan({ planDate: today, pageNum: 1, pageSize: 1, planType: 1 }).then(res => {
if (res.rows.length > 0) {