edit-admin-const

This commit is contained in:
lccsw
2023-01-06 17:59:27 +08:00
parent c71e3cf268
commit f7e7214a31
5 changed files with 160 additions and 45 deletions
+3 -1
View File
@@ -61,7 +61,7 @@ create table lc_items_relate (
-- srv_json(包含字段:business_product-保险公司,business_price-商业险金额,business_fd-商业险返点,business_ins_price-商业险佣金,insurance_price-交强险金额,
-- insurance_fd-交强险返点,insurance_ins_price-交强险佣金,back_price-客户退点金额,fee_carno-挂牌收入,cb_fee_carno-挂牌成本,loan_product-按揭银行,
-- loan_price-按揭金额,loan_num-按揭期数,loan_srv_price-按揭服务费,loan_offset_price-解抵服务费,loan_subsidy_price-利息补贴收入,loan_in_price-其他收入金额,
-- loan_out_price-其他支出金额,commission_price-金融公司手续费收入,other_in_price-其他收入,other_out_price-其他支出)
-- loan_out_price-其他支出金额,commission_price-金融公司手续费收入,other_in_price-其他收入,other_out_price-其他支出,ori_price-指导价,if_pay-是否齐款(1是 0否))
-- ---------------------------
create table lc_items_cost (
id int(10) unsigned not null auto_increment comment '自增id',
@@ -88,4 +88,6 @@ create table lc_items_cost (
u_time timestamp not null default current_timestamp on update current_timestamp comment '更新时间',
primary key (id)
) engine=innodb default charset=utf8mb4 collate=utf8mb4_0900_ai_ci comment='商品成本表'
alter table lc_items_cost add brand_car_price decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '品牌单车总毛利' after car_price;
alter table lc_items_cost add dl_car_price decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '直营店单车毛利/代理店单车毛利/合伙店采购毛利' after car_price;