Commit 67fbfc62 authored by wzy's avatar wzy

feat: 仓库管理-街道

parent 9e49add3
......@@ -75,6 +75,7 @@ export default {
'stockSellStorage.sheng':'- Province -',
'stockSellStorage.shi1':'- City -',
'stockSellStorage.xianqu':'- County/District -',
'stockSellStorage.jiedao': '- Street -',
'stockSellStorage.qingshuruxiangxidizhi':'Please enter the detailed address (up to 50 characters, 25 Chinese characters)',
'stockSellStorage.cangkufuzhairen':'warehouse manager',
'stockSellStorage.lianxidianhua':'Contact number',
......
......@@ -75,6 +75,7 @@ export default {
'stockSellStorage.sheng':'- 지방 -',
'stockSellStorage.shi1':'- 도시 -',
'stockSellStorage.xianqu':'- 카운티/지구 -',
'stockSellStorage.jiedao': '- 거리 -',
'stockSellStorage.qingshuruxiangxidizhi': '상세 주소를 입력하십시오(최대 50자, 25자).',
'stockSellStorage.cangkufuzhairen': '창고 담당자',
'stockSellStorage.lianxidianhua': '연락처',
......
......@@ -75,6 +75,7 @@ export default {
'stockSellStorage.sheng': '- 省 -',
'stockSellStorage.shi1': '- 市 -',
'stockSellStorage.xianqu': '- 县 / 区 -',
'stockSellStorage.jiedao': '- 街道 -',
'stockSellStorage.qingshuruxiangxidizhi': '请输入详细地址(最长50个字符,25个汉字)',
'stockSellStorage.cangkufuzhairen': '仓库负责人',
'stockSellStorage.lianxidianhua': '联系电话',
......
......@@ -53,19 +53,21 @@ export const newSchema = (key: string) => ({
priceType: {
type: 'string',
enum: [
// {
// label: '所有',
// value: '',
// },
{
label: getIntl().formatMessage({
id: 'commodity.checkProduct.priceType.1',
id: 'commodity.products.schema.fastSchema.priceTypeList.1',
}),
value: '',
},
{
label: getIntl().formatMessage({
id: 'commodity.products.schema.fastSchema.priceTypeList.2',
}),
value: 1,
},
{
label: getIntl().formatMessage({
id: 'commodity.checkProduct.priceType.2',
id: 'commodity.products.schema.fastSchema.priceTypeList.3',
}),
value: 2,
},
......
......@@ -48,7 +48,7 @@ export const warehouseDetailSchema: ISchema = {
grid: true,
full: true,
autoRow: true,
columns: 3,
columns: 4,
},
properties: {
provinceId: {
......@@ -95,6 +95,25 @@ export const warehouseDetailSchema: ISchema = {
'x-component-props': {
placeholder: intl.formatMessage({ id: 'stockSellStorage.xianqu' }),
},
'x-linkages': [
{
type: 'value:linkage',
condition: '{{!!$value}}',
origin: 'areaId',
target: 'streetId',
},
],
'x-rules': [{
required: true,
message: intl.formatMessage({ id: 'common.text.pleaseSelect' })
}]
},
streetId: {
type: 'string',
enum: [],
'x-component-props': {
placeholder: intl.formatMessage({ id: 'stockSellStorage.jiedao' }),
},
'x-rules': [{
required: true,
message: intl.formatMessage({ id: 'common.text.pleaseSelect' })
......
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