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
c3eb7ad5
Commit
c3eb7ad5
authored
Sep 16, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
目标值修改
parent
a8672bbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
index.vue
src/views/ecw/deptTarget/index.vue
+14
-4
myDeptTarget.vue
src/views/ecw/deptTarget/myDeptTarget.vue
+0
-1
No files found.
src/views/ecw/deptTarget/index.vue
View file @
c3eb7ad5
...
@@ -57,7 +57,12 @@
...
@@ -57,7 +57,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('部门人数')"
align=
"center"
prop=
"deptEmpCount"
/>
<el-table-column
:label=
"$t('部门人数')"
align=
"center"
prop=
"deptEmpCount"
/>
<el-table-column
:label=
"$t('目标方数')"
align=
"center"
prop=
"cubeNum"
/>
<el-table-column
:label=
"$t('目标值')"
align=
"center"
prop=
"cubeNum"
/>
<el-table-column
:label=
"$t('目标单位')"
align=
"center"
>
<
template
v-slot=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.CEBE_UNIT"
:value=
"row.cubeUnit"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('运输方式')"
align=
"center"
prop=
"transportType"
>
<el-table-column
:label=
"$t('运输方式')"
align=
"center"
prop=
"transportType"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.TRANSPORT_TYPE"
:value=
"scope.row.transportType"
/>
<dict-tag
:type=
"DICT_TYPE.TRANSPORT_TYPE"
:value=
"scope.row.transportType"
/>
...
@@ -124,8 +129,11 @@
...
@@ -124,8 +129,11 @@
:key=
"item.channelId"
></el-option>
:key=
"item.channelId"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('立方数')"
prop=
"cubeNum"
>
<el-form-item
:label=
"$t('目标值')"
prop=
"cubeNum"
>
<el-input
v-model=
"form.cubeNum"
:placeholder=
"$t('请输入立方数')"
/>
<el-input
v-model=
"form.cubeNum"
:placeholder=
"$t('请输入目标值')"
/>
</el-form-item>
<el-form-item
:label=
"$t('目标单位')"
prop=
"cubeUnit"
:rules=
"{required:true,message:$t('请输入目标单位')}"
>
<dict-selector
:type=
"DICT_TYPE.CEBE_UNIT"
v-model=
"form.cubeUnit"
:placeholder=
"$t('请选择目标单位')"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -152,10 +160,11 @@
...
@@ -152,10 +160,11 @@
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
export
default
{
export
default
{
name
:
"
EcwDepttargetIndex
"
,
name
:
"
EcwDepttargetIndex
"
,
components
:
{},
components
:
{
Template
},
data
()
{
data
()
{
return
{
return
{
// 遮罩层
// 遮罩层
...
@@ -367,6 +376,7 @@ import { parseTime } from '@/utils/ruoyi';
...
@@ -367,6 +376,7 @@ import { parseTime } from '@/utils/ruoyi';
transportType
:
undefined
,
transportType
:
undefined
,
shippingChannel
:
undefined
,
shippingChannel
:
undefined
,
cubeNum
:
undefined
,
cubeNum
:
undefined
,
cubeUnit
:
undefined
,
};
};
this
.
resetForm
(
"
form
"
);
this
.
resetForm
(
"
form
"
);
},
},
...
...
src/views/ecw/deptTarget/myDeptTarget.vue
View file @
c3eb7ad5
...
@@ -63,7 +63,6 @@
...
@@ -63,7 +63,6 @@
<dict-tag
:type=
"DICT_TYPE.CEBE_UNIT"
:value=
"row.cubeUnit"
></dict-tag>
<dict-tag
:type=
"DICT_TYPE.CEBE_UNIT"
:value=
"row.cubeUnit"
></dict-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('目标方数')"
align=
"center"
prop=
"cubeNum"
/>
<el-table-column
:label=
"$t('运输方式')"
align=
"center"
prop=
"transportType"
>
<el-table-column
:label=
"$t('运输方式')"
align=
"center"
prop=
"transportType"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.TRANSPORT_TYPE"
:value=
"scope.row.transportType"
/>
<dict-tag
:type=
"DICT_TYPE.TRANSPORT_TYPE"
:value=
"scope.row.transportType"
/>
...
...
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