1. update category and pricelist
This commit is contained in:
2025-11-13 15:25:58 +08:00
parent b5249addfe
commit b87e50dff1
4 changed files with 244 additions and 39 deletions

View File

@@ -53,18 +53,6 @@ export default {
min: 1,
span: 24
},
{
label: 'Shape',
prop: 'shape',
type: 'radio',
dicUrl: '/blade-system/dict-biz/dictionary?code=shape_type',
props: {
label: 'dictValue',
value: 'dictKey'
},
dataType: 'number',
span: 24
},
{
label: 'Image',
prop: 'imageUrl',

View File

@@ -6,10 +6,9 @@ export default {
border: true,
index: true,
viewBtn: false,
addBtn: false,
addBtn: true,
editBtn: true,
delBtn: false,
cellBtn: true,
delBtn: true,
selection: false,
dialogClickModal: false,
// menuWidth: 150,
@@ -46,6 +45,9 @@ export default {
prop: 'categoryName',
type: 'input',
overHidden: true,
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: 'Type',
@@ -57,6 +59,9 @@ export default {
value: 'dictKey'
},
overHidden: true,
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: 'Shape',
@@ -69,7 +74,7 @@ export default {
},
dataType: 'number',
overHidden: true,
search: true,
search: true
},
{
label: 'Material',
@@ -82,7 +87,7 @@ export default {
},
dataType: 'number',
overHidden: true,
search: true,
search: true
},
{
label: 'Size',
@@ -95,7 +100,26 @@ export default {
},
dataType: 'number',
overHidden: true,
search: true,
search: true
},
{
label: 'SizeDesc',
prop: 'sizeDescription',
type: 'input',
overHidden: true
},
{
label: 'Style',
prop: 'style',
type: 'radio',
dicUrl: '/blade-system/dict-biz/dictionary?code=style_type',
props: {
label: 'dictValue',
value: 'dictKey'
},
dataType: 'number',
overHidden: true,
search: true
},
{
label: 'Currency',
@@ -108,13 +132,116 @@ export default {
},
dataType: 'number',
overHidden: true,
hide: true,
addDisplay: false,
editDisplay: false,
hide: true
},
{
label: 'Price',
prop: 'price',
label: 'OriginalPrice',
prop: 'originalPrice',
type: 'number',
cell: true,
precision: 2, // 小数位数
step: 0.01, // 步长
min: 0, // 最小值
max: 999999.99, // 最大值
span: 24
},
{
label: 'ActualPrice',
prop: 'actualPrice',
type: 'number',
precision: 2, // 小数位数
step: 0.01, // 步长
min: 0, // 最小值
max: 999999.99, // 最大值
span: 24
},
{
label: 'BackPrint',
prop: 'backPrint',
type: 'radio',
dicUrl: '/blade-system/dict-biz/dictionary?code=price_status',
props: {
label: 'dictValue',
value: 'dictKey'
},
dataType: 'number',
overHidden: true,
},
{
label: 'BackPrintPrice',
prop: 'backPrintPrice',
type: 'number',
precision: 2, // 小数位数
step: 0.01, // 步长
min: 0, // 最小值
max: 999999.99, // 最大值
},
{
label: 'SizeUp',
prop: 'sizeUpgrade',
type: 'radio',
dicUrl: '/blade-system/dict-biz/dictionary?code=price_status',
props: {
label: 'dictValue',
value: 'dictKey'
},
dataType: 'number',
overHidden: true
},
{
label: 'SizeUpgradePrice',
prop: 'sizeUpgradePrice',
type: 'number',
precision: 2, // 小数位数
step: 0.01, // 步长
min: 0, // 最小值
max: 999999.99 // 最大值
},
{
label: 'MaterialUp',
prop: 'materialUpgrade',
type: 'radio',
dicUrl: '/blade-system/dict-biz/dictionary?code=price_status',
props: {
label: 'dictValue',
value: 'dictKey'
},
dataType: 'number',
overHidden: true
},
{
label: 'MaterialUpgradePrice',
prop: 'materialUpgradePrice',
type: 'number',
precision: 2, // 小数位数
step: 0.01, // 步长
min: 0, // 最小值
max: 999999.99 // 最大值
},
{
label: 'Stand',
prop: 'stand',
type: 'radio',
dicUrl: '/blade-system/dict-biz/dictionary?code=price_status',
props: {
label: 'dictValue',
value: 'dictKey'
},
dataType: 'number',
overHidden: true
},
{
label: 'StandPrice',
prop: 'standPrice',
type: 'number',
precision: 2, // 小数位数
step: 0.01, // 步长
min: 0, // 最小值
max: 999999.99 // 最大值
},
{
label: 'DeptId',
@@ -173,14 +300,11 @@ export default {
{
label: 'Status',
prop: 'status',
type: 'select',
dicUrl: '/blade-system/dict-biz/dictionary?code=price_status',
props: {
label: 'dictValue',
value: 'dictKey'
},
dataType: 'number',
cell: true,
type: 'input',
addDisplay: false,
editDisplay: false,
viewDisplay: false,
hide: true
},
{
label: '是否已删除',