导入新产品,20.套餐编辑的时候,不能低于基准价,低于就提示不能保存
This commit is contained in:
+12
@@ -110,4 +110,16 @@ public class ProductController extends BaseController
|
||||
String message = productService.importProductExcel(file, updateSupport, getUsername());
|
||||
return success(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Import a single-country linehaul cost sheet. countryCode is the destination.
|
||||
*/
|
||||
@Log(title = "\u4ea7\u54c1\u5217\u8868", businessType = BusinessType.IMPORT)
|
||||
@PreAuthorize("@ss.hasPermi('price:product:import')")
|
||||
@PostMapping("/importCountryData")
|
||||
public AjaxResult importCountryData(MultipartFile file, String countryCode) throws Exception
|
||||
{
|
||||
String message = productService.importCountryProductExcel(file, countryCode, getUsername());
|
||||
return success(message);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,6 +73,8 @@ price.set.detail.freight.empty=固定价明细必须填写运费单价
|
||||
price.set.detail.registration.empty=固定价明细必须填写挂号费
|
||||
price.set.detail.zone.empty=固定价明细必须选择分区
|
||||
price.set.detail.roundMode.invalid=取值方式仅支持 UP / DOWN / HALF_UP
|
||||
price.set.detail.freight.belowBase=套餐运费不能低于导入基准价 {0}
|
||||
price.set.detail.registration.belowBase=套餐挂号费不能低于导入基准价 {0}
|
||||
price.set.customer.notExists=客户绑定不存在
|
||||
price.set.customer.unbindAudit=审核中的套餐不允许解绑客户
|
||||
price.set.customer.customerId.empty=客户ID不能为空
|
||||
@@ -117,6 +119,11 @@ price.product.import.noSheet=未找到产品明细sheet(需与产品名称一
|
||||
price.product.import.noCountry=产品明细sheet无有效国家/重量段数据:{0}
|
||||
price.product.import.euEmpty=国家表无欧盟成员(is_eu=1),无法展开「欧盟」
|
||||
price.product.import.success.unmatched=未匹配国家表(country_code 为空):{0}
|
||||
price.product.import.countryRequired=请选择目的国家
|
||||
price.product.import.countryNotFound=国家不存在或已停用:{0}
|
||||
price.product.import.countrySheetNotFound=未找到「产品目录」sheet,请上传单国专线成本价表
|
||||
price.product.import.countryNoPrice=未找到该产品的重量段价格:{0}
|
||||
price.product.import.countrySuccess=按国家导入成功({0}):新增 {1} 个产品,跳过 {2} 个(同代码同生效日不覆盖主数据);写入重量段 {3} 行。
|
||||
# 报价试算 TmsPriceQuote(对外 TMS API 错误码,保持英文契约)
|
||||
price.quote.postcodeRequired=该国家/产品有分区,请填写目的邮编
|
||||
price.quote.postcodeZoneNotFound=邮编未匹配到分区,请核对目的邮编
|
||||
|
||||
Reference in New Issue
Block a user