|
|
@ -104,9 +104,11 @@ const openFormByCreate = async ( data ) => { |
|
|
|
|
|
|
|
// 设置计划到货时间 |
|
|
|
let beginTime = data['endTime'] |
|
|
|
let deliveryDate = formatDate(data['deliveryDate'],'YYYY-MM-DD') |
|
|
|
planArriveTimeStr.value = deliveryDate + ' '+ beginTime+":00" |
|
|
|
setV['planArriveTime']= new Date(planArriveTimeStr.value).valueOf(); |
|
|
|
if(data['deliveryDate']){ |
|
|
|
let deliveryDate = formatDate(data['deliveryDate'],'YYYY-MM-DD') |
|
|
|
planArriveTimeStr.value = deliveryDate + ' '+ beginTime+":00" |
|
|
|
setV['planArriveTime']= new Date(planArriveTimeStr.value).valueOf(); |
|
|
|
} |
|
|
|
formRef.value.open('create', null) |
|
|
|
|
|
|
|
// 根据供应商代码获取联系人信息 |
|
|
|