Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
周远喜
mes-ui
Commits
71e95416
Commit
71e95416
authored
May 22, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
produce/orderlist 工单
parent
092e0486
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
230 deletions
+7
-230
index.vue
pages/crm/customer/index.vue
+2
-2
orderlist.vue
pages/produce/orderlist.vue
+5
-228
No files found.
pages/crm/customer/index.vue
View file @
71e95416
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<FormItem
prop=
"keys"
>
<FormItem
prop=
"keys"
>
<Input
<Input
placeholder=
"请输入关键字客户名称/
客户简称/邮政地址/负责人/办公电话/手机/客户类型/客户区域/备注/客户编码/行业
"
placeholder=
"请输入关键字客户名称/
办公电话
"
v-model=
"easySearch.keys.value"
v-model=
"easySearch.keys.value"
search
search
enter-button
enter-button
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
easySearch
:
{
easySearch
:
{
keys
:
{
keys
:
{
op
:
op
:
'name,
abbre,address,principal,telephone,mobile,type,area,notes,code,trad
e'
,
'name,
telephon
e'
,
value
:
null
value
:
null
}
}
},
},
...
...
pages/produce/orderlist.vue
View file @
71e95416
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
<DataGrid
<DataGrid
:columns=
"columns"
:columns=
"columns"
ref=
"grid"
ref=
"grid"
:data=
"list"
:batch=
"false"
:batch=
"false"
:type=
"typeInfo"
:type=
"typeInfo"
:high=
"false"
:high=
"false"
...
@@ -29,7 +28,7 @@
...
@@ -29,7 +28,7 @@
<Button
:icon=
"iconInfo"
shape=
"circle"
:title=
"titleInfo"
@
click=
"changeShwo"
></Button>
<Button
:icon=
"iconInfo"
shape=
"circle"
:title=
"titleInfo"
@
click=
"changeShwo"
></Button>
</
template
>
</
template
>
<
template
slot=
"card"
slot-scope=
"{row}"
>
<
template
slot=
"card"
slot-scope=
"{row}"
>
<div
class=
"body"
@
click=
"toExecute"
>
<div
class=
"body"
@
click=
"toExecute
(row.id)
"
>
<Row
class=
"title-i"
>
<Row
class=
"title-i"
>
<Col
:span=
"10"
class=
"order-code"
>
{{
row
.
productName
}}
</Col>
<Col
:span=
"10"
class=
"order-code"
>
{{
row
.
productName
}}
</Col>
<Col
:span=
"10"
class=
"order-code"
>
{{
row
.
mesCode
}}
</Col>
<Col
:span=
"10"
class=
"order-code"
>
{{
row
.
mesCode
}}
</Col>
...
@@ -182,228 +181,6 @@ export default {
...
@@ -182,228 +181,6 @@ export default {
}
}
}
}
],
],
list
:
[
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
1
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
2
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
3
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
4
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
5
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
6
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
8
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
11
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
1
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
12
},
{
actualBeginTime
:
"2020-05-12 14:58:17"
,
img
:
"/2020/5/12/b8cbee7b-6faa-4cfa-a05a-aa7a7f13b8d7.png"
,
id
:
1
,
orderIDs
:
"5"
,
platesnum
:
0
,
processcode
:
"ZGY_20200315_2"
,
processname
:
"增材制造主工艺规程"
,
quantity
:
13
,
routing_header_id
:
181
,
routing_type
:
1
,
actualStartDate
:
"2020-05-12 14:58:17"
,
demandFinishDate
:
"2020-05-10 23:59:59"
,
demandStartDate
:
"2020-05-09 00:00:01"
,
mesCode
:
"DDBH_20200509_2"
,
order_id
:
5
,
picnumber
:
0
,
productName
:
"气源分配器壳体"
,
drawNum
:
"JPEG4620"
,
taskTypeName
:
"正式计划"
,
status
:
14
}
],
typeInfo
:
"card"
,
typeInfo
:
"card"
,
iconInfo
:
"md-apps"
,
iconInfo
:
"md-apps"
,
titleInfo
:
"卡片模式"
,
titleInfo
:
"卡片模式"
,
...
@@ -421,9 +198,9 @@ export default {
...
@@ -421,9 +198,9 @@ export default {
search
()
{
search
()
{
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
},
},
toExecute
()
{
toExecute
(
id
)
{
//跳转到对应操作页面
//跳转到对应操作页面
获取id:this.$route.query.id
this
.
$router
.
push
(
"/produce/execute"
);
this
.
$router
.
push
(
{
path
:
"/produce/execute"
,
query
:
{
id
:
id
}}
);
},
},
tdStyle
(
val
)
{
tdStyle
(
val
)
{
//动态根据状态值加载状态值对应的颜色
//动态根据状态值加载状态值对应的颜色
...
@@ -443,7 +220,7 @@ export default {
...
@@ -443,7 +220,7 @@ export default {
if
(
this
.
typeInfo
==
"card"
)
{
if
(
this
.
typeInfo
==
"card"
)
{
this
.
typeInfo
=
"table"
;
this
.
typeInfo
=
"table"
;
this
.
iconInfo
=
"md-list"
;
this
.
iconInfo
=
"md-list"
;
this
.
titleInfo
=
"
卡片
模式"
;
this
.
titleInfo
=
"
列表
模式"
;
}
else
{
}
else
{
this
.
typeInfo
=
"card"
;
this
.
typeInfo
=
"card"
;
this
.
iconInfo
=
"md-apps"
;
this
.
iconInfo
=
"md-apps"
;
...
...
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