feat: 变更 calculate 相关材料编码

This commit is contained in:
han0
2024-09-10 16:57:15 +08:00
parent c1cd52f5e8
commit fa832e6fe5
18 changed files with 29 additions and 34 deletions

View File

@@ -128,17 +128,17 @@ class Collector:
name=name,
spec=spec,
price=round(price, 2),
price_fuzhou=round(price_fuzhou, 2),
price_xiamen=round(price_xiamen, 2),
price_putian=round(price_putian, 2),
price_sanming=round(price_sanming, 2),
price_quanzhou=round(price_quanzhou, 2),
price_zhangzhou=round(price_zhangzhou, 2),
price_nanpin=round(price_nanpin, 2),
price_longyan=round(price_longyan, 2),
price_ningde=round(price_ningde, 2),
price_pintan=round(price_pintan, 2),
price_zhangzhoukfq=round(price_zhangzhoukfq, 2),
price_fuzhou=round(price_fuzhou or 0, 2),
price_xiamen=round(price_xiamen or 0, 2),
price_putian=round(price_putian or 0, 2),
price_sanming=round(price_sanming or 0, 2),
price_quanzhou=round(price_quanzhou or 0, 2),
price_zhangzhou=round(price_zhangzhou or 0, 2),
price_nanpin=round(price_nanpin or 0, 2),
price_longyan=round(price_longyan or 0, 2),
price_ningde=round(price_ningde or 0, 2),
price_pintan=round(price_pintan or 0, 2),
price_zhangzhoukfq=round(price_zhangzhoukfq or 0, 2),
tax=tax,
type=2,
unit=unit,