Browse Source

时间维护

hella_online_20240829
wangyufei 4 months ago
parent
commit
091f8fab69
  1. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue

6
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue

@ -109,7 +109,11 @@ const openFormByCreate = async ( data ) => {
let beginTime = data['endTime'] let beginTime = data['endTime']
if(data['deliveryDate']){ if(data['deliveryDate']){
let deliveryDate = formatDate(data['deliveryDate'],'YYYY-MM-DD') let deliveryDate = formatDate(data['deliveryDate'],'YYYY-MM-DD')
planArriveTimeStr.value = deliveryDate + ' '+ beginTime+":00" if(beginTime){
planArriveTimeStr.value = deliveryDate + ' '+ beginTime+":00"
}else{
planArriveTimeStr.value = deliveryDate + ' '+ "00:00:00"
}
setV['planArriveTime']= new Date(planArriveTimeStr.value).valueOf(); setV['planArriveTime']= new Date(planArriveTimeStr.value).valueOf();
setV['arriveTime']= new Date(planArriveTimeStr.value).valueOf(); setV['arriveTime']= new Date(planArriveTimeStr.value).valueOf();
} }

Loading…
Cancel
Save