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