Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
ec2cae14
提交
ec2cae14
authored
12月 05, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'ap' into dev
上级
d410bde2
538b50e7
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
47 行增加
和
28 行删除
+47
-28
data.jsx
src/views/promotion/display_schedule/tabs/data.jsx
+47
-28
没有找到文件。
src/views/promotion/display_schedule/tabs/data.jsx
浏览文件 @
ec2cae14
...
@@ -347,7 +347,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -347,7 +347,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
referenceKey
:
"plannedMainShelfType"
,
referenceKey
:
"plannedMainShelfType"
,
fill
:
true
,
fill
:
true
,
width
:
130
,
width
:
130
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
{
...
@@ -356,6 +356,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -356,6 +356,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChangeCallback
(
row
,
col
);
submitChangeCallback
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -392,7 +393,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -392,7 +393,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
referenceKey
:
"plannedMainShelfQty"
,
referenceKey
:
"plannedMainShelfQty"
,
fill
:
true
,
fill
:
true
,
width
:
130
,
width
:
130
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
{
...
@@ -404,6 +405,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -404,6 +405,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
min=
"0"
min=
"0"
type=
"number"
type=
"number"
placeholder=
""
placeholder=
""
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
clearable
>
clearable
>
</
el
-
input
>
:
'-'
</
el
-
input
>
:
'-'
...
@@ -477,7 +479,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -477,7 +479,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
referenceKey
:
"plannedEndCapQty"
,
referenceKey
:
"plannedEndCapQty"
,
fill
:
true
,
fill
:
true
,
width
:
130
,
width
:
130
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -485,6 +487,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -485,6 +487,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChangeCallback
(
row
,
col
);
submitChangeCallback
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -571,7 +574,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -571,7 +574,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
referenceKey
:
"plannedFloorStackArea"
,
referenceKey
:
"plannedFloorStackArea"
,
fill
:
true
,
fill
:
true
,
width
:
130
,
width
:
130
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -579,6 +582,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -579,6 +582,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChangeCallback
(
row
,
col
);
submitChangeCallback
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -622,7 +626,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -622,7 +626,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
referenceKey
:
"plannedFloorStackQty"
,
referenceKey
:
"plannedFloorStackQty"
,
fill
:
true
,
fill
:
true
,
width
:
130
,
width
:
130
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -630,7 +634,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -630,7 +634,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChangeCallback
(
row
,
col
);
submitChangeCallback
(
row
,
col
);
}
}
}
}
disabled=
{
!
row
.
actualFloorStackArea
}
disabled=
{
!
row
.
actualFloorStackArea
||
disabled
}
class=
{
{
'no-disabled'
:
row
.
actualFloorStackArea
&&
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
.
actualFloorStackArea
&&
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -726,7 +730,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -726,7 +730,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
referenceKey
:
"plannedMultiDisplay"
,
referenceKey
:
"plannedMultiDisplay"
,
fill
:
true
,
fill
:
true
,
width
:
190
,
width
:
190
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -734,6 +738,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -734,6 +738,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChangeCallback
(
row
,
col
);
submitChangeCallback
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -787,7 +792,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -787,7 +792,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
referenceKey
:
"plannedHangingStripQuantityForm"
,
referenceKey
:
"plannedHangingStripQuantityForm"
,
fill
:
true
,
fill
:
true
,
width
:
190
,
width
:
190
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -795,6 +800,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
...
@@ -795,6 +800,7 @@ export const getDisplayConfig = (submitChangeCallback) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChangeCallback
(
row
,
col
);
submitChangeCallback
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -1129,7 +1135,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1129,7 +1135,7 @@ export const getSchedulePlanConfig = (submitChange) => {
referenceKey
:
"plannedPromotionSpec"
,
referenceKey
:
"plannedPromotionSpec"
,
fill
:
true
,
fill
:
true
,
width
:
150
,
width
:
150
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
let
list
=
splitAndFilter
(
row
[
col
.
referenceKey
])
let
list
=
splitAndFilter
(
row
[
col
.
referenceKey
])
list
=
list
.
map
(
item
=>
({
list
=
list
.
map
(
item
=>
({
label
:
item
,
label
:
item
,
...
@@ -1146,6 +1152,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1146,6 +1152,7 @@ export const getSchedulePlanConfig = (submitChange) => {
await
submitChange
(
row
,
col
);
await
submitChange
(
row
,
col
);
col
.
checkFn
(
row
)
col
.
checkFn
(
row
)
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
clearable
...
@@ -1200,7 +1207,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1200,7 +1207,7 @@ export const getSchedulePlanConfig = (submitChange) => {
prop
:
"actualPromotionSpecRe"
,
prop
:
"actualPromotionSpecRe"
,
visible
:
true
,
visible
:
true
,
type
:
"input"
,
type
:
"input"
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
{
...
@@ -1210,6 +1217,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1210,6 +1217,7 @@ export const getSchedulePlanConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
'no-disabled'
class=
'no-disabled'
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -1254,7 +1262,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1254,7 +1262,7 @@ export const getSchedulePlanConfig = (submitChange) => {
referenceKey
:
"plannedPromotionFlavor"
,
referenceKey
:
"plannedPromotionFlavor"
,
fill
:
true
,
fill
:
true
,
width
:
170
,
width
:
170
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
// options 根据参考属性值来决定(计划值)
// options 根据参考属性值来决定(计划值)
let
list
=
splitAndFilter
(
row
[
col
.
referenceKey
])
let
list
=
splitAndFilter
(
row
[
col
.
referenceKey
])
let
isFullFlavor
=
false
let
isFullFlavor
=
false
...
@@ -1289,6 +1297,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1289,6 +1297,7 @@ export const getSchedulePlanConfig = (submitChange) => {
await
submitChange
(
row
,
col
);
await
submitChange
(
row
,
col
);
col
.
checkFn
(
row
)
col
.
checkFn
(
row
)
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
clearable
...
@@ -1346,7 +1355,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1346,7 +1355,7 @@ export const getSchedulePlanConfig = (submitChange) => {
prop
:
"actualPromotionFlavorRe"
,
prop
:
"actualPromotionFlavorRe"
,
visible
:
true
,
visible
:
true
,
type
:
"input"
,
type
:
"input"
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
{
...
@@ -1356,6 +1365,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1356,6 +1365,7 @@ export const getSchedulePlanConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
'no-disabled'
class=
'no-disabled'
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -1502,7 +1512,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1502,7 +1512,7 @@ export const getSchedulePlanConfig = (submitChange) => {
referenceKey
:
"plannedPromotionStartDate"
,
referenceKey
:
"plannedPromotionStartDate"
,
fill
:
true
,
fill
:
true
,
width
:
150
,
width
:
150
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
div
class=
{
[
'date-picker'
,
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}]
}
>
{
row
[
col
.
referenceKey
]
?
<
div
class=
{
[
'date-picker'
,
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}]
}
>
...
@@ -1511,7 +1521,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1511,7 +1521,7 @@ export const getSchedulePlanConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
!
row
[
col
.
referenceKey
]
}
disabled=
{
!
row
[
col
.
referenceKey
]
||
disabled
}
placeholder=
""
placeholder=
""
clearable
clearable
type=
"date"
type=
"date"
...
@@ -1548,7 +1558,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1548,7 +1558,7 @@ export const getSchedulePlanConfig = (submitChange) => {
fill
:
true
,
fill
:
true
,
referenceKey
:
"plannedPromotionEndDate"
,
referenceKey
:
"plannedPromotionEndDate"
,
width
:
150
,
width
:
150
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
div
class=
{
[
'date-picker'
,
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}]
}
>
{
row
[
col
.
referenceKey
]
?
<
div
class=
{
[
'date-picker'
,
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}]
}
>
...
@@ -1557,7 +1567,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1557,7 +1567,7 @@ export const getSchedulePlanConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
!
row
[
col
.
referenceKey
]
}
disabled=
{
!
row
[
col
.
referenceKey
]
||
disabled
}
placeholder=
""
placeholder=
""
clearable
clearable
type=
"date"
type=
"date"
...
@@ -1711,7 +1721,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1711,7 +1721,7 @@ export const getSchedulePlanConfig = (submitChange) => {
value
:
'其他'
value
:
'其他'
}
}
],
],
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
{
...
@@ -1720,6 +1730,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1720,6 +1730,7 @@ export const getSchedulePlanConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
'no-disabled'
class=
'no-disabled'
placeholder=
""
placeholder=
""
clearable
clearable
...
@@ -1734,6 +1745,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -1734,6 +1745,7 @@ export const getSchedulePlanConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
true
,
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
.
plannedPromotionPrice
}
}
class=
{
{
'no-disabled'
:
true
,
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
.
plannedPromotionPrice
}
}
placeholder=
""
placeholder=
""
type=
"number"
type=
"number"
...
@@ -2028,7 +2040,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -2028,7 +2040,7 @@ export const getSchedulePlanConfig = (submitChange) => {
referenceKey
:
"plannedPosterFormat"
,
referenceKey
:
"plannedPosterFormat"
,
fill
:
true
,
fill
:
true
,
width
:
150
,
width
:
150
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
<
div
style=
"width: 100%"
>
<
div
style=
"width: 100%"
>
...
@@ -2037,6 +2049,7 @@ export const getSchedulePlanConfig = (submitChange) => {
...
@@ -2037,6 +2049,7 @@ export const getSchedulePlanConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
clearable
...
@@ -2498,7 +2511,7 @@ export const getScheduleDisConfig = (submitChange) => {
...
@@ -2498,7 +2511,7 @@ export const getScheduleDisConfig = (submitChange) => {
"value"
:
2
"value"
:
2
}
}
],
],
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -2506,6 +2519,7 @@ export const getScheduleDisConfig = (submitChange) => {
...
@@ -2506,6 +2519,7 @@ export const getScheduleDisConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -2577,7 +2591,7 @@ export const getScheduleDisConfig = (submitChange) => {
...
@@ -2577,7 +2591,7 @@ export const getScheduleDisConfig = (submitChange) => {
{
label
:
'6'
,
value
:
6
},
{
label
:
'6'
,
value
:
6
},
{
label
:
'8'
,
value
:
8
},
{
label
:
'8'
,
value
:
8
},
],
],
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -2585,6 +2599,7 @@ export const getScheduleDisConfig = (submitChange) => {
...
@@ -2585,6 +2599,7 @@ export const getScheduleDisConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
>
clearable
>
...
@@ -2642,7 +2657,7 @@ export const getScheduleDisConfig = (submitChange) => {
...
@@ -2642,7 +2657,7 @@ export const getScheduleDisConfig = (submitChange) => {
// }
// }
// ],
// ],
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
input
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
input
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -2650,7 +2665,7 @@ export const getScheduleDisConfig = (submitChange) => {
...
@@ -2650,7 +2665,7 @@ export const getScheduleDisConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
!
row
[
col
.
referenceKey
]
}
disabled=
{
!
row
[
col
.
referenceKey
]
||
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
min=
"0"
min=
"0"
type=
"number"
type=
"number"
...
@@ -2707,7 +2722,7 @@ export const getScheduleDisConfig = (submitChange) => {
...
@@ -2707,7 +2722,7 @@ export const getScheduleDisConfig = (submitChange) => {
"fill"
:
true
,
"fill"
:
true
,
"width"
:
190
,
"width"
:
190
,
referenceKey
:
"plannedOtherDisplay"
,
referenceKey
:
"plannedOtherDisplay"
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
select
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -2715,6 +2730,7 @@ export const getScheduleDisConfig = (submitChange) => {
...
@@ -2715,6 +2730,7 @@ export const getScheduleDisConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
clearable
...
@@ -3059,7 +3075,7 @@ export const getSnackCofing = (submitChange) => {
...
@@ -3059,7 +3075,7 @@ export const getSnackCofing = (submitChange) => {
}
}
],
],
referenceKey
:
"plannedDisplay"
,
referenceKey
:
"plannedDisplay"
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
{
row
[
col
.
referenceKey
]
?
<
div
style=
"width: 100%"
>
{
row
[
col
.
referenceKey
]
?
<
div
style=
"width: 100%"
>
...
@@ -3068,7 +3084,7 @@ export const getSnackCofing = (submitChange) => {
...
@@ -3068,7 +3084,7 @@ export const getSnackCofing = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
!
row
[
col
.
referenceKey
]
}
disabled=
{
!
row
[
col
.
referenceKey
]
||
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
]
}
}
placeholder=
""
placeholder=
""
clearable
clearable
...
@@ -3179,7 +3195,7 @@ export const getSnackCofing = (submitChange) => {
...
@@ -3179,7 +3195,7 @@ export const getSnackCofing = (submitChange) => {
// "value": 2
// "value": 2
// }
// }
// ],
// ],
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
>
<
div
>
<
div
>
<
div
>
...
@@ -3188,6 +3204,7 @@ export const getSnackCofing = (submitChange) => {
...
@@ -3188,6 +3204,7 @@ export const getSnackCofing = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
min=
"0"
min=
"0"
type=
"number"
type=
"number"
...
@@ -3504,7 +3521,7 @@ export const getThreeTwoSecondsConfig = (submitChange) => {
...
@@ -3504,7 +3521,7 @@ export const getThreeTwoSecondsConfig = (submitChange) => {
type
:
'input'
,
type
:
'input'
,
fill
:
true
,
fill
:
true
,
width
:
200
,
width
:
200
,
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
style=
"padding: 10px 0;"
>
<
div
style=
"padding: 10px 0;"
>
<
div
>
<
div
>
...
@@ -3514,6 +3531,7 @@ export const getThreeTwoSecondsConfig = (submitChange) => {
...
@@ -3514,6 +3531,7 @@ export const getThreeTwoSecondsConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
min=
"0"
min=
"0"
type=
"number"
type=
"number"
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
...
@@ -3773,7 +3791,7 @@ export const getSixLittleDiamondsConfig = (submitChange) => {
...
@@ -3773,7 +3791,7 @@ export const getSixLittleDiamondsConfig = (submitChange) => {
// // { label: 1, value: 1 },
// // { label: 1, value: 1 },
// // { label: '其他', value: '其他' }
// // { label: '其他', value: '其他' }
// ],
// ],
render
:
(
_
,
row
,
col
)
=>
{
render
:
(
_
,
row
,
col
,
disabled
)
=>
{
return
(
return
(
<
div
style=
"padding: 10px 0;"
>
<
div
style=
"padding: 10px 0;"
>
{
row
[
col
.
referenceKey
]
?
<
el
-
input
modelValue=
{
row
[
col
.
prop
]
}
{
row
[
col
.
referenceKey
]
?
<
el
-
input
modelValue=
{
row
[
col
.
prop
]
}
...
@@ -3781,6 +3799,7 @@ export const getSixLittleDiamondsConfig = (submitChange) => {
...
@@ -3781,6 +3799,7 @@ export const getSixLittleDiamondsConfig = (submitChange) => {
row
[
col
.
prop
]
=
value
;
row
[
col
.
prop
]
=
value
;
submitChange
(
row
,
col
);
submitChange
(
row
,
col
);
}
}
}
}
disabled=
{
disabled
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
class=
{
{
'no-disabled'
:
row
[
col
.
referenceKey
],
'no-spinner'
:
true
,
'red-text'
:
row
[
col
.
prop
]
>
row
[
col
.
referenceKey
]
}
}
min=
"0"
min=
"0"
type=
"number"
type=
"number"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论