Commit de85055d authored by 靳野's avatar 靳野

Revert "fix: 处理g显示问题"

This reverts commit b4e94350.
parent b4e94350
...@@ -315,7 +315,7 @@ const FormPriceOrStock = forwardRef((props, ref) => { ...@@ -315,7 +315,7 @@ const FormPriceOrStock = forwardRef((props, ref) => {
inputType: 'text', inputType: 'text',
}); });
} }
// console.log('customer.isGold :>> ', customer.isGold);
// isGoodsManage用来判断是否是popGoodsManage页面,这个页面是用来应付审计团队的,没有实际功能,这里删掉了供货价字段,正常业务逻辑不用考虑这个字段,这就用第一个数据就好了 // isGoodsManage用来判断是否是popGoodsManage页面,这个页面是用来应付审计团队的,没有实际功能,这里删掉了供货价字段,正常业务逻辑不用考虑这个字段,这就用第一个数据就好了
const isGoodsManage = window.location.pathname.indexOf('popGoodsManage') < 0; const isGoodsManage = window.location.pathname.indexOf('popGoodsManage') < 0;
const dynamicColumns = [ const dynamicColumns = [
...@@ -456,7 +456,7 @@ const FormPriceOrStock = forwardRef((props, ref) => { ...@@ -456,7 +456,7 @@ const FormPriceOrStock = forwardRef((props, ref) => {
setMergeTable(Boolean(editData.secondSpecValue && editData.secondSpecValue.length)); setMergeTable(Boolean(editData.secondSpecValue && editData.secondSpecValue.length));
setTableData(fliterSkuListSortData(skuList) || []); setTableData(fliterSkuListSortData(skuList) || []);
} }
}, [customer.isEdit, customer.isUseCache, editData, skuList, customer.isGold]); }, [customer.isEdit, customer.isUseCache, editData, skuList]);
useEffect(() => { useEffect(() => {
if (!editData) { if (!editData) {
......
...@@ -159,9 +159,7 @@ export const WeeksList = [ ...@@ -159,9 +159,7 @@ export const WeeksList = [
value: 7, value: 7,
}, },
]; ];
export const StaticColumns = customer => export const StaticColumns = customer => [
// console.log('StaticColumns customer.isGold :>> ', customer.isGold);
[
{ {
title: '供货价', title: '供货价',
dataIndex: 'supplyPrice', dataIndex: 'supplyPrice',
...@@ -324,8 +322,7 @@ export const StaticColumns = customer => ...@@ -324,8 +322,7 @@ export const StaticColumns = customer =>
roleRules: { required: false }, roleRules: { required: false },
disabeldRender: () => customer.isDisabled, disabeldRender: () => customer.isDisabled,
}, },
]; ];
// 这部分是用来应付审计团队的,没有实际功能,这里删掉了供货价字段,正常业务逻辑不用考虑这里 // 这部分是用来应付审计团队的,没有实际功能,这里删掉了供货价字段,正常业务逻辑不用考虑这里
export const StaticColumnsPop = customer => [ export const StaticColumnsPop = customer => [
{ {
......
...@@ -527,7 +527,6 @@ const ServiceGoods = options => { ...@@ -527,7 +527,6 @@ const ServiceGoods = options => {
isUseCache, // 是否使用缓存数据 isUseCache, // 是否使用缓存数据
onEventBus, onEventBus,
}; };
// console.log('providerValue.isGold :>> ', providerValue.isGold);
return ( return (
<Modal <Modal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment