Commit f1db4ecf by 王志慧

Merge branch 'feature/584/wzh' into 'SAAS+V5.8.4'

Feature/584/wzh

See merge request !901
2 parents 7ee16a9b 18ea8515
......@@ -853,7 +853,7 @@ export default {
return;
}
if (value === "" || value === null || value === undefined) {
callback(new Error("请选择商品成本带入方式"));
callback(new Error("请选择产品成本获取方式"));
return;
}
callback();
......
......@@ -140,7 +140,7 @@ export const packageGoodsForm = [
},
{
name: "productCostType",
label: "商品成本带入方式",
label: "产品成本获取方式",
type: "flagRadio",
isRequired: true,
radioGroupList: [
......@@ -356,7 +356,7 @@ export const packageGoodsDetail = [
},
{
name: "productCostTypeStr",
label: "商品成本带入方式",
label: "产品成本获取方式",
},
{
name: "serviceItemDisplay",
......
......@@ -45,7 +45,7 @@ export function shouldShowPosition(goodsType) {
return shouldShowServiceItem(goodsType);
}
/** 自营延保/权益不展示商品成本带入方式 */
/** 自营延保/权益不展示产品成本获取方式 */
export function shouldShowProductCostType(goodsType, supplierCode) {
return !!goodsType && !isSelfOperatedEquityExtended(goodsType, supplierCode);
}
......
......@@ -216,7 +216,7 @@ export default {
},
{
name: "productCostTypeStr",
label: "商品成本带入方式",
label: "产品成本获取方式",
},
{
name: "serviceItemDisplay",
......
......@@ -159,7 +159,7 @@ export default {
},
{
name: "productCostType",
label: "商品成本带入方式",
label: "产品成本获取方式",
type: "flagRadio",
isRequired: true,
radioGroupList: [
......
......@@ -159,7 +159,7 @@ export async function getSearchFromSchema(_refreshTableFn) {
addHtml: "applicableAreaSelect",
},
{
label: "商品成本带入方式",
label: "产品成本获取方式",
name: "productCostType",
type: "select",
optionList: cloneDeep(productCostTypeList),
......@@ -386,7 +386,7 @@ export async function getTableSchema() {
},
},
{
label: "商品成本带入方式",
label: "产品成本获取方式",
prop: "productCostTypeStr",
width: "150",
},
......
......@@ -278,7 +278,7 @@
</el-button>
</el-form-item>
</div>
<!-- 商品成本带入方式 -->
<!-- 产品成本获取方式 -->
<div v-if="item.type === 'flagRadio'">
<el-form-item
:id="`groundingGoodsList[${eleIndex}][${item.name}]`"
......@@ -817,7 +817,7 @@ export default {
return;
}
if (value === "" || value === null || value === undefined) {
callback(new Error("请选择商品成本带入方式"));
callback(new Error("请选择产品成本获取方式"));
return;
}
callback();
......
......@@ -244,7 +244,7 @@ export default {
recoveryCost: val?.recoveryCost, // 回收成本
warrantyPeriod: val?.upgradeGoods?.warrantyPeriod, // 质保年限
upgradePrice: val?.upgradeGoods?.upgradePrice, // 参考售价
productCostTypeStr: val?.productCostTypeStr, // 商品成本带入方式
productCostTypeStr: val?.productCostTypeStr, // 产品成本获取方式
serviceItemDisplay: val?.serviceItemDisplay, // 服务项目
upgradeGoods: {
...val?.upgradeGoods,
......
......@@ -218,7 +218,7 @@ export default {
thirdPartyCost: "", // 第三方成本
validMinSellPriceFlag: false, // 是否校验最低价
serviceItemId: "", // 服务项目
productCostType: "", // 商品成本带入方式,不默认选中
productCostType: "", // 产品成本获取方式,不默认选中
},
],
voucherList: [], // 上架凭证
......@@ -315,7 +315,7 @@ export default {
return val?.productCostType === 0 || val?.productCostType === 1 || val?.productCostType === "0" || val?.productCostType === "1"
? Number(val.productCostType)
: "";
})(), // 商品成本带入方式
})(), // 产品成本获取方式
supplierCode: val?.goodsInfo?.supplierCode, // 供应方
upgradeGoods: {
...val?.upgradeGoods,
......
......@@ -99,7 +99,7 @@ export async function getSearchFormSchema(_refreshTable) {
addHtml: "applicableAreaSelect",
},
{
label: "商品成本带入方式",
label: "产品成本获取方式",
name: "productCostType",
type: "select",
optionList: cloneDeep(productCostTypeList),
......@@ -230,7 +230,7 @@ export async function getTableColumnsSchema() {
},
},
{
label: "商品成本带入方式",
label: "产品成本获取方式",
prop: "productCostTypeStr",
width: "150",
......
......@@ -15,7 +15,7 @@ export const sceneTypeOptions = [
{ value: "110202", label: "2.3.2 售后延保" },
];
// 商品上架 商品成本带入方式
// 商品上架 产品成本获取方式
export const productCostStyleOpt = [
{ value: 2, label: "默认带入产品成本" },
{ value: 1, label: "自定义成本" },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!