mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 12:18:43 +08:00 
			
		
		
		
	review 秒杀活动
This commit is contained in:
		@@ -89,6 +89,8 @@ const openForm = (type: string, id?: number) => {
 | 
			
		||||
const handleDelete = (id: number) => {
 | 
			
		||||
  tableMethods.delList(id, false)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// TODO @puhui:是不是直接叫 configList 就好啦
 | 
			
		||||
const seckillConfigAllSimple = ref([]) // 时段配置精简列表
 | 
			
		||||
const convertSeckillConfigNames = computed(
 | 
			
		||||
  () => (row) =>
 | 
			
		||||
@@ -96,6 +98,7 @@ const convertSeckillConfigNames = computed(
 | 
			
		||||
      ?.filter((item) => row.configIds.includes(item.id))
 | 
			
		||||
      ?.map((config) => config.name)
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const expandChange = (row, expandedRows) => {
 | 
			
		||||
  // TODO puhui:等 CRUD 完事后弄
 | 
			
		||||
  console.log(row, expandedRows)
 | 
			
		||||
 
 | 
			
		||||
@@ -219,7 +219,7 @@ const crudSchemas = reactive<CrudSchema[]>([
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    label: '状态',
 | 
			
		||||
    field: 'status', // TODO @puhui999:状态在 table 格式化不对;建表插入的数据状态值不对,改为 0 或 1 就好了
 | 
			
		||||
    field: 'status',
 | 
			
		||||
    dictType: DICT_TYPE.COMMON_STATUS,
 | 
			
		||||
    dictClass: 'number',
 | 
			
		||||
    isForm: false,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user