Browse Source

询证函日期管理

hella_online_20241107
yufei_wang 3 weeks ago
parent
commit
376dc33239
  1. 17
      src/views/wms/supplierManage/supplierApbalanceCalendar/index.vue

17
src/views/wms/supplierManage/supplierApbalanceCalendar/index.vue

@ -162,8 +162,21 @@ const buttonTableClick = async (val, row) => {
/** 添加/修改操作 */
const basicFormRef = ref()
const openForm = (type: string, row?: any) => {
beginDay.value = row['beginDay']
endDay.value = row['endDay']
if(row){
beginDay.value = row['beginDay']
endDay.value = row['endDay']
let days = []
let maxday = dayjs(`${row['beginMonth']}-01`).daysInMonth()
if(row['beginMonth']==2) maxday = 29
for (let i=1;i<=maxday;i++){
days.push({
value:i,
label:i
})
}
daysInMonths.value = days
}
basicFormRef.value.open(type, row)
}

Loading…
Cancel
Save