Browse Source

供应商对账管理-- 日期下拉框多值情况

hella_online_20241121
yufei_wang 6 days ago
parent
commit
2ec9280709
  1. 10
      src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue

10
src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue

@ -391,11 +391,11 @@ const selectChange = (value,field)=>{
//
let dayObj = daysInMonths.value.find(item=>item['beginMonth']==month.value)
if(dayObj){
for(let i= Number(dayObj['beginDay']);i<=Number(dayObj['endDay']);i++){
dayList.value.push({
label:i,
value:i
})
if(Array.isArray(dayObj['beginDay'])){
dayList.value = dayObj['beginDay'].map(item=>({
label:item,
value:item
}))
}
}
if(dayList.value.length>0){

Loading…
Cancel
Save