mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 18:28:44 +08:00 
			
		
		
		
	商品管理: 完善表单校验,优化信息提示,完成新建、编辑、提交逻辑
This commit is contained in:
		
							
								
								
									
										22
									
								
								src/api/mall/product/management/type/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/api/mall/product/management/type/index.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| export interface SpuType { | ||||
|   name?: string // 商品名称 | ||||
|   categoryId?: number // 商品分类 | ||||
|   keyword?: string // 关键字 | ||||
|   unit?: string // 单位 | ||||
|   picUrl?: string // 商品封面图 | ||||
|   sliderPicUrls?: string[] // 商品轮播图 | ||||
|   introduction?: string // 商品简介 | ||||
|   deliveryTemplateId?: number // 运费模版 | ||||
|   selectRule?: string // 选择规格 TODO 暂时定义 | ||||
|   specType?: boolean // 商品规格 | ||||
|   subCommissionType?: boolean // 分销类型 | ||||
|   description?: string // 商品详情 | ||||
|   sort?: string // 商品排序 | ||||
|   giveIntegral?: number // 赠送积分 | ||||
|   virtualSalesCount?: number // 虚拟销量 | ||||
|   recommendHot?: boolean // 是否热卖 | ||||
|   recommendBenefit?: boolean // 是否优惠 | ||||
|   recommendBest?: boolean // 是否精品 | ||||
|   recommendNew?: boolean // 是否新品 | ||||
|   recommendGood?: boolean // 是否优品 | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 puhui999
					puhui999