Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
6dff9853
Commit
6dff9853
authored
May 19, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仓储配置
parent
3b71b8da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
11 deletions
+33
-11
index.vue
src/views/ecw/setting/index.vue
+33
-11
No files found.
src/views/ecw/setting/index.vue
View file @
6dff9853
...
...
@@ -21,32 +21,32 @@
<el-col
:span=
"19"
>
<el-form-item
label-width=
"245px"
label=
"上架超时预警 超过:"
prop=
"sjOverDay"
>
<el-input
v-model=
"formData.
rk
OverDay"
:style=
"
{width: '30%'}" />
天,自动预警
<el-input
v-model=
"formData.
sj
OverDay"
:style=
"
{width: '30%'}" />
天,自动预警
</el-form-item>
</el-col>
<el-col
:span=
"19"
>
<el-form-item
label-width=
"245px"
label=
"在仓超时预警 超过:"
prop=
"zcOverDay"
>
<el-input
v-model=
"formData.
rk
OverDay"
:style=
"
{width: '30%'}" />
天,自动预警
<el-input
v-model=
"formData.
zc
OverDay"
:style=
"
{width: '30%'}" />
天,自动预警
</el-form-item>
</el-col>
<el-col
:span=
"19"
>
<el-form-item
label-width=
"245px"
label=
"打包超时预警 超过:"
prop=
"dbOverDay"
>
<el-input
v-model=
"formData.
rk
OverDay"
:style=
"
{width: '30%'}" />
天,自动预警
<el-input
v-model=
"formData.
db
OverDay"
:style=
"
{width: '30%'}" />
天,自动预警
</el-form-item>
</el-col>
<el-col
:span=
"19"
>
<el-form-item
label-width=
"245px"
label=
"待出库超时预警 超过:"
prop=
"dckOverDay"
>
<el-input
v-model=
"formData.
r
kOverDay"
:style=
"
{width: '30%'}" />
天,自动预警
<el-input
v-model=
"formData.
dc
kOverDay"
:style=
"
{width: '30%'}" />
天,自动预警
</el-form-item>
</el-col>
<el-col
:span=
"19"
>
<el-form-item
label-width=
"245px"
label=
"仓租费类型:"
prop=
"chargeType"
>
<el-radio-group
v-model=
"formData.chargeType"
>
<el-radio
v-for=
"item in chargeDictDatas"
:key=
"item.value"
:label=
"item.
label
"
>
{{
item
.
label
}}
</el-radio>
<el-radio
v-for=
"item in chargeDictDatas"
:key=
"item.value"
:label=
"item.
value
"
>
{{
item
.
label
}}
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
...
...
@@ -82,27 +82,49 @@ export default {
data
()
{
return
{
formData
:{
//
shelvesNum
:
null
,
shelvesAreaNum
:
null
,
rkOverDay
:
null
,
sjOverDay
:
null
,
zcOverDay
:
null
,
dbOverDay
:
null
,
dckOverDay
:
null
,
chargeType
:
null
,
fee
:
null
},
chargeDictDatas
:
getDictDatas
(
DICT_TYPE
.
ECW_CHARGE_TYPE
),
};
},
created
()
{
this
.
getList
();
console
.
log
(
this
.
chargeDictDatas
);
},
methods
:
{
/** 查询列表 */
getList
()
{
getSettingList
({
type
:
'
warehouse
'
}).
then
(
response
=>
{
let
list
=
response
.
data
.
list
;
console
.
log
(
list
);
let
list
=
response
.
data
;
for
(
let
index
in
list
)
{
let
item
=
list
[
index
];
let
keyName
=
item
.
keyName
;
this
.
formData
[
keyName
]
=
item
.
keyValue
;
}
// console.log(this.formData);
})
},
/** 表单重置 */
resetForm
()
{
this
.
formData
=
{};
this
.
formData
=
{
shelvesNum
:
null
,
shelvesAreaNum
:
null
,
rkOverDay
:
null
,
sjOverDay
:
null
,
zcOverDay
:
null
,
dbOverDay
:
null
,
dckOverDay
:
null
,
chargeType
:
null
,
fee
:
null
};
},
...
...
@@ -110,7 +132,7 @@ export default {
submitForm
()
{
let
settingList
=
[];
let
shelvesNum
=
{
keyName
:
'
shelvesNum
'
,
keyValue
:
this
.
formData
.
shelvesNum
,
keyType
:
'
warehouse
'
};
let
shelvesAreaNum
=
{
keyName
:
'
shelvesAreaNum
'
,
v
alue
:
this
.
formData
.
shelvesAreaNum
,
keyType
:
'
warehouse
'
};
let
shelvesAreaNum
=
{
keyName
:
'
shelvesAreaNum
'
,
keyV
alue
:
this
.
formData
.
shelvesAreaNum
,
keyType
:
'
warehouse
'
};
let
rkOverDay
=
{
keyName
:
'
rkOverDay
'
,
keyValue
:
this
.
formData
.
rkOverDay
,
keyType
:
'
warehouse
'
};
let
sjOverDay
=
{
keyName
:
'
sjOverDay
'
,
keyValue
:
this
.
formData
.
sjOverDay
,
keyType
:
'
warehouse
'
};
let
zcOverDay
=
{
keyName
:
'
zcOverDay
'
,
keyValue
:
this
.
formData
.
zcOverDay
,
keyType
:
'
warehouse
'
};
...
...
Write
Preview
Markdown
is supported
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