Browse Source

编辑

master_hella_20240701
wangyufei 5 months ago
parent
commit
2b6083dfc8
  1. 10
      src/views/wms/basicDataManage/supplierManage/supplierCycle/index.vue

10
src/views/wms/basicDataManage/supplierManage/supplierCycle/index.vue

@ -164,6 +164,16 @@ const buttonTableClick = async (val, row) => {
/** 添加/修改操作 */
const basicFormRef = ref()
const openForm = (type: string, row?: any) => {
if('update'==type){
let cycle = []
let week = ['monday','tuesday','wednesday','thursday','friday','saturday','sunday']
week.forEach(item=>{
if(row[item]==1){
cycle.push(item)
}
})
row.cycle = cycle
}
basicFormRef.value.open(type, row)
}

Loading…
Cancel
Save