修改产品功能

This commit is contained in:
wuweihua
2026-09-28 21:43:39 +08:00
parent b247bc2fd2
commit 0ad90f6183
32 changed files with 339 additions and 660 deletions
@@ -178,7 +178,7 @@ export function matchCountryZone(detail, item) {
/**
* 国家下拉选项(按产品的国家配置去重)
* @param {Array} rows bms_product_country 行
* @param {Array} rows product_country 行
* @returns {Array<{key, code, name, label}>}
*/
export function buildCountryOptions(rows) {
@@ -198,7 +198,7 @@ export function buildCountryOptions(rows) {
/**
* 重量段下拉选项(按已选国家过滤去重)
* @param {Array} rows bms_product_country 行
* @param {Array} rows product_country 行
* @param {Object} row 当前明细行(含国家)
* @returns {Array<{value, label, detailId, freightPrice, registrationFee}>}
*/
@@ -311,7 +311,7 @@ export function createEmptyDetailRow() {
productCountryId: undefined,
fvValue: undefined,
fvRegistrationFee: undefined,
/** product default freight when copied from bms_product_country */
/** product default freight when copied from product_country */
_baseFreight: undefined,
/** product default registration fee */
_baseReg: undefined,