Browse Source

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

hella_online_20241121
yufei_wang 1 week 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) let dayObj = daysInMonths.value.find(item=>item['beginMonth']==month.value)
if(dayObj){ if(dayObj){
for(let i= Number(dayObj['beginDay']);i<=Number(dayObj['endDay']);i++){ if(Array.isArray(dayObj['beginDay'])){
dayList.value.push({ dayList.value = dayObj['beginDay'].map(item=>({
label:i, label:item,
value:i value:item
}) }))
} }
} }
if(dayList.value.length>0){ if(dayList.value.length>0){

Loading…
Cancel
Save