From 57bbf6ad0ff6138ae276222ab431740d73f21969 Mon Sep 17 00:00:00 2001
From: zhang_li
Date: Tue, 10 Jun 2025 13:45:54 +0800
Subject: [PATCH] =?UTF-8?q?YT-2722=E8=A6=81=E8=B4=A7=E8=AE=A1=E5=88=92?=
=?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=EF=BC=8C=E9=80=81=E8=BE=BE=E6=97=A5?=
=?UTF-8?q?=E6=9C=9F=E7=AD=89=E4=BA=8E=E5=8F=96=E8=B4=A7=E6=97=A5=E6=9C=9F?=
=?UTF-8?q?=EF=BC=8C=E5=BA=94=E5=8F=AF=E4=BB=A5=E6=96=B0=E5=A2=9E=E6=88=90?=
=?UTF-8?q?=E5=8A=9F=EF=BC=8C=E4=B8=8D=E8=83=BD=E6=97=A9=E4=BA=8E=E5=8F=96?=
=?UTF-8?q?=E8=B4=A7=E6=97=A5=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../supplierdeliver/purchasePlanMain/index.vue | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
index 3018cbf91..d7cd37231 100644
--- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
@@ -676,10 +676,11 @@ const openForm = async (type: string, row?: number) => {
if ('create' == type) {
nextTick(async () => {
formRef.value.formRef.setValues({
- deliveryDate: dayjs().valueOf(),
- schdShipDate: dayjs().valueOf()
+ deliveryDate: dayjs(dayjs().format('YYYY-MM-DD')).valueOf(),
+ schdShipDate: dayjs(dayjs().format('YYYY-MM-DD')).valueOf()
})
})
+ console.log(11,dayjs(dayjs().format('YYYY-MM-DD')).valueOf())
PurchasePlanMain.allSchemas.formSchema.forEach((item) => {
// 供应商代码
if (item.field == 'supplierCode') {
@@ -1117,6 +1118,8 @@ const submitForm = async (formType, submitData) => {
data.id = data.masterId
}
data.subList = []
+ console.log(111,data.deliveryDate)
+ console.log(111,data.schdShipDate)
if (data.deliveryDate < data.schdShipDate) {
message.error(t('要货计划送达日期不能早于取货日期!'))
return