data.js 5.71 KB
export const productList = [
	{
		confId: 1,
		confName: "基础产品",
	},
	{
		confId: 2,
		confName: "升级产品",
	},
];

export const baseSupplyModeList = [
	{
		confId: 1,
		confName: "嘀加",
	},
	{
		confId: 2,
		confName: "门店",
	},
];

// 太阳膜升级产品供货模式
export const upgradeSupplyModeList = [
	{
		confId: 1,
		confName: "嘀加",
	},
	{
		confId: 3,
		confName: "门店套码+嘀加",
	},
	{
		confId: 4,
		confName: "门店回收原厂+嘀加",
	},
	{
		confId: 5,
		confName: "服务商自采+嘀加",
	},
];
// 1.3场景 升级产品供货模式
export const crowdUpgradeSupplyModeList = [
	{
		confId: 1,
		confName: "嘀加",
	},
	{
		confId: 2,
		confName: "门店",
	},
];

// 套餐上架产品信息form表单
export const packageGoodsForm = [
	{
		name: "upgradeGoodsId",
		label: "上架产品",
		isRequired: true,
		type: "searchSelect",
		optionList: [],
		isClear: false,
		optionId: "confId",
		optionNameLabel: "confNameValue",
		optionTypeNameLabel: "confTypeNameValue",
		width: "432px",
	},
	{
		type: "incidBox",
		key: "goodsType",
		detailInfo: [
			{
				label: "产品名称",
				value: "upgradeGoodsName",
			},
			{
				label: "规格",
				value: "specificationData",
			},
			{
				label: "产品编码",
				value: "type",
			},
			{
				label: "供应商编码",
				value: "thirdPartyCode",
			},
			{
				label: "参考售价",
				value: "upgradePrice",
				unit: true,
			},
			{
				label: "适用车型",
				value: "carTypeConfigName",
			},
			{
				label: "所属系列",
				value: "goodsName",
			},
			{
				label: "所属分类",
				value: "tempGoodsTypeName",
			},
			{
				label: "产品ID",
				value: "upgradeCommodityCode",
			},
			{
				label: "运营成本/元",
				value: "operationCost",
				type: "price",
				isPrice: true,
			},
			{
				label: "采购成本/元",
				value: "purchaseCost",
				type: "price",
				isPrice: true,
			},
		],
	},
	{
		name: "position",
		label: "上架部位",
		type: "radio-select",
		radioGroupList: [],
		width: "432px",
	},
	{
		name: "serviceItemId",
		label: "服务项目",
		type: "select",
		isRequired: true,
		isClear: false,
		optionList: [],
		optionId: "serviceItemId",
		optionLabel: "serviceItemDisplayLabel",
		width: "432px",
	},
	{
		name: "productCostType",
		label: "产品成本获取方式",
		type: "flagRadio",
		isRequired: true,
		radioGroupList: [
			{
				label: "默认带入产品成本",
				value: 1,
			},
			{
				label: "自定义成本",
				value: 0,
			},
		],
	},
	{
		name: "goodsAlias",
		label: "商品别名",
		type: "input",
		maxlength: 50,
		width: "432px",
	},
	{
		name: "warrantyType",
		label: "质保卡类型",
		type: "select",
		isClear: false,
		optionList: [
			{
				confId: 0,
				confName: "质保卡",
			},
			{
				confId: 1,
				confName: "质保权益卡",
			},
		],
		optionId: "confId",
		optionLabel: "confName",
		width: "432px",
	},
	{
		name: "upgradeSupplyMode",
		label: "升级/产品供货模式",
		type: "radio",
		index: 2,
		radioGroupList: [],
	},
	{
		name: "sellPrice",
		label: "售价",
		type: "input",
		width: "432px",
		unit: true,
		handleInput: true,
	},
	{
		name: "minSellPrice",
		label: "最低售价",
		type: "input",
		width: "432px",
		unit: true,
		handleInput: true,
	},
	{
		name: "upgradeProductCost",
		label: "产品、升级成本",
		type: "input",
		width: "432px",
		unit: true,
		handleInput: true,
	},
	{
		name: "recoveryCost",
		label: "回收成本",
		type: "input",
		width: "432px",
		unit: true,
		handleInput: true,
	},
	{
		name: "virtualAccountCost",
		label: "虚拟对账成本",
		type: "input",
		width: "432px",
		unit: true,
		handleInput: true,
	},
	{
		name: "djCost",
		label: "嘀加成本",
		type: "input",
		width: "432px",
		unit: true,
		isDisabled: false,
		handleInput: true,
	},
	{
		name: "thirdPartyCost",
		label: "第三方成本",
		type: "input",
		width: "432px",
		unit: true,
		handleInput: true,
	},
];

//  套餐查看详情form
export const packageGoodsDetail = [
	{
		name: "upgradeGoodsName",
		label: "上架产品",
		type: "incidBox",
		key: "goodsType",
		detailInfo: [
			{
				label: "产品名称",
				value: "upgradeGoodsName",
			},
			{
				label: "规格",
				value: "specificationData",
			},
			{
				label: "产品编码",
				value: "type",
			},
			{
				label: "供应商编码",
				value: "thirdPartyCode",
			},
			{
				label: "参考售价",
				value: "upgradePrice",
				unit: true,
			},
			{
				label: "适用车型",
				value: "carTypeConfigName",
			},
			{
				label: "所属系列",
				value: "goodsName",
			},
			{
				label: "所属分类",
				value: "tempGoodsTypeName",
			},
			{
				label: "产品ID",
				value: "upgradeCommodityCode",
			},
			{
				label: "运营成本/元",
				value: "operationCost",
				type: "price",
			},
			{
				label: "采购成本/元",
				value: "purchaseCost",
				type: "price",
			},
		],
	},
	{
		name: "positionStr",
		label: "上架部位",
	},
	{
		name: "goodsAlias",
		label: "产品别名",
	},
	{
		name: "warrantyTypeStr",
		label: "质保卡类型",
	},
	{
		name: "upgradeSupplyModeStr",
		label: "升级产品供货模式",
	},
	{
		name: "sellPrice",
		label: "售价",
		unit: true,
	},
	{
		name: "minSellPrice",
		label: "最低售价",
		unit: true,
	},
	{
		name: "upgradeProductCost",
		label: "产品、升级成本",
		unit: true,
	},
	{
		name: "recoveryCost",
		label: "回收成本",
		unit: true,
	},
	{
		name: "virtualAccountCost",
		label: "虚拟对账成本",
		unit: true,
	},
	{
		name: "djCost",
		label: "嘀加成本",
		unit: true,
	},
	{
		name: "thirdPartyCost",
		label: "第三方成本",
		unit: true,
	},
	{
		name: "productCostTypeStr",
		label: "产品成本获取方式",
	},
	{
		name: "serviceItemDisplay",
		label: "服务项目",
	},
];