Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
b00aa14c
Commit
b00aa14c
authored
Dec 15, 2022
by
季圣华
Browse files
调整商品选择页面的批号和序列号的样式
parent
286ce385
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue
View file @
b00aa14c
...
...
@@ -92,13 +92,10 @@
<a-icon
v-if=
"record.imgName"
style=
"font-size: 18px"
theme=
"twoTone"
type=
"file-image"
/>
</a-popover>
</template>
<
template
slot=
"customRenderEnableSerialNumber"
slot-scope=
"enableSerialNumber"
>
<a-tag
v-if=
"enableSerialNumber==1"
color=
"green"
>
有
</a-tag>
<a-tag
v-if=
"enableSerialNumber==0"
color=
"orange"
>
无
</a-tag>
</
template
>
<
template
slot=
"customRenderEnableBatchNumber"
slot-scope=
"enableBatchNumber"
>
<a-tag
v-if=
"enableBatchNumber==1"
color=
"green"
>
有
</a-tag>
<a-tag
v-if=
"enableBatchNumber==0"
color=
"orange"
>
无
</a-tag>
<
template
slot=
"customName"
slot-scope=
"text, record"
>
{{
record
.
name
}}
<a-tag
v-if=
"record.enableSerialNumber==1"
color=
"orange"
>
序
</a-tag>
<a-tag
v-if=
"record.enableBatchNumber==1"
color=
"orange"
>
批
</a-tag>
</
template
>
</a-table>
</div>
...
...
@@ -144,7 +141,7 @@
categoryTree
:[],
columns
:
[
{
dataIndex
:
'
mBarCode
'
,
title
:
'
条码
'
,
scopedSlots
:
{
customRender
:
'
customBarCode
'
}},
{
dataIndex
:
'
name
'
,
title
:
'
名称
'
},
{
dataIndex
:
'
name
'
,
title
:
'
名称
'
,
scopedSlots
:
{
customRender
:
'
customName
'
}
},
{
dataIndex
:
'
categoryName
'
,
title
:
'
类别
'
},
{
dataIndex
:
'
standard
'
,
title
:
'
规格
'
},
{
dataIndex
:
'
model
'
,
title
:
'
型号
'
},
...
...
@@ -152,13 +149,7 @@
{
dataIndex
:
'
unit
'
,
title
:
'
单位
'
},
{
dataIndex
:
'
sku
'
,
title
:
'
多属性
'
},
{
dataIndex
:
'
stock
'
,
title
:
'
库存
'
},
{
dataIndex
:
'
expand
'
,
title
:
'
扩展信息
'
},
{
dataIndex
:
'
enableSerialNumber
'
,
title
:
'
序列号
'
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderEnableSerialNumber
'
}
},
{
dataIndex
:
'
enableBatchNumber
'
,
title
:
'
批号
'
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderEnableBatchNumber
'
}
}
{
dataIndex
:
'
expand
'
,
title
:
'
扩展信息
'
}
],
scrollTrigger
:
{},
dataSource
:
[],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment