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
26eaf6b0
Commit
26eaf6b0
authored
May 08, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
de163959
1066dcac
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
450 additions
and
290 deletions
+450
-290
base.less
assets/css/base.less
+4
-1
dataGrid.vue
components/page/dataGrid.vue
+1
-1
product.vue
layouts/basic-layout/product.vue
+2
-2
api.js
pages/aps/results/api.js
+7
-1
index.vue
pages/aps/results/index.vue
+18
-15
result.vue
pages/aps/results/result.vue
+58
-23
add.vue
pages/materiel/classification/add.vue
+5
-0
index.vue
pages/materiel/classification/index.vue
+5
-0
details.vue
pages/materiel/masterData/details.vue
+0
-0
index.vue
pages/materiel/masterData/index.vue
+5
-0
index.vue
pages/order/quotation/index.vue
+9
-6
index.vue
pages/processManage/setProcess/index.vue
+68
-52
taskList.vue
pages/produce/taskList.vue
+26
-17
newEquipment.vue
...Management/deviceManagementCP/components/newEquipment.vue
+7
-27
add.vue
pages/technology/add.vue
+9
-9
index.vue
pages/technology/details/index.vue
+1
-1
index.vue
pages/technology/details/routingqccard/index.vue
+5
-3
search.vue
pages/technology/details/routingqccard/search.vue
+2
-2
index.vue
pages/technology/details/routingsupporting/index.vue
+2
-1
index.vue
pages/technology/index.vue
+25
-24
search.vue
pages/technology/search.vue
+191
-105
No files found.
assets/css/base.less
View file @
26eaf6b0
...
@@ -1296,6 +1296,9 @@ html [type=button] {
...
@@ -1296,6 +1296,9 @@ html [type=button] {
.detail .ivu-row .filed-col p .html p{
.detail .ivu-row .filed-col p .html p{
margin: 0 10px 0 0;
margin: 0 10px 0 0;
}
}
.con_bord {
margin: 10px 20px;
}
.lay100 {
.lay100 {
height: calc(100vh - 105px);
height: calc(100vh - 105px);
background-color: #f5f6fa;
background-color: #f5f6fa;
...
@@ -1303,7 +1306,7 @@ html [type=button] {
...
@@ -1303,7 +1306,7 @@ html [type=button] {
padding: 5px 5px 0px 10px;
padding: 5px 5px 0px 10px;
}
}
.con_bord {
.con_bord {
// margin: 15px 32
px;
margin: 10px 20
px;
box-shadow: #c7c7c7 1px 2px 7px 3px;
box-shadow: #c7c7c7 1px 2px 7px 3px;
}
}
background: rgba(245, 246, 250, 1);
background: rgba(245, 246, 250, 1);
...
...
components/page/dataGrid.vue
View file @
26eaf6b0
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
search
:
{
search
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
20
,
pageSize
:
20
,
conditions
:
[]
conditions
:
[]
,
},
},
pageSizeOpts
:
[
20
,
50
,
100
],
pageSizeOpts
:
[
20
,
50
,
100
],
tableHeight
:
0
,
tableHeight
:
0
,
...
...
layouts/basic-layout/product.vue
View file @
26eaf6b0
...
@@ -399,8 +399,8 @@ export default {
...
@@ -399,8 +399,8 @@ export default {
z-index: 99999;
z-index: 99999;
left: 56%;
left: 56%;
top: 57%;
top: 57%;
min-width: 1084px;
//
min-width: 1084px;
//
min-width: 777px;
min-width: 777px;
min-height: 300px;
min-height: 300px;
box-shadow: 0px 5px 17px 5px rgba(0, 0, 0, 0.28);
box-shadow: 0px 5px 17px 5px rgba(0, 0, 0, 0.28);
background: #f5f6fa;
background: #f5f6fa;
...
...
pages/aps/results/api.js
View file @
26eaf6b0
...
@@ -14,7 +14,13 @@ export default {
...
@@ -14,7 +14,13 @@ export default {
getdetail
(
params
)
{
getdetail
(
params
)
{
return
Api
.
get
(
`
${
apsUrl
}
/scheduletotal/getdetail`
,
params
);
return
Api
.
get
(
`
${
apsUrl
}
/scheduletotal/getdetail`
,
params
);
},
},
processschemedispatch
(
params
)
{
processschemedispatch
(
params
)
{
//插单检查后,“否”不操作,“是”:如果result.retcode=1,调用:
return
Api
.
post
(
`
${
apsUrl
}
/apspoolappservices/processschemedispatch`
,
params
);
return
Api
.
post
(
`
${
apsUrl
}
/apspoolappservices/processschemedispatch`
,
params
);
},
},
checkisinsertandbadjust
(
params
)
{
//点击下发是调用接口;方案下发前的插单检查,返回后弹框,提示内容未result.retmsg
return
Api
.
post
(
`
${
apsUrl
}
/apspoolappservices/checkisinsertandbadjust`
,
params
);
},
processschemedispatchinsert
(
params
)
{
//排产方案下发--普通+干扰;如果result.retcode=0,调用:
return
Api
.
post
(
`
${
apsUrl
}
/apspoolappservices/processschemedispatch_insert`
,
params
);
},
}
}
pages/aps/results/index.vue
View file @
26eaf6b0
<
style
lang=
"less"
>
<
style
lang=
"less"
>
@import
'./results.less'
;
@import
"./results.less"
;
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"results"
>
<div
class=
"results"
>
...
@@ -29,24 +29,24 @@
...
@@ -29,24 +29,24 @@
</div>
</div>
</Sider>
</Sider>
<Content
class=
"tab_card_box"
>
<Content
class=
"tab_card_box"
>
<Tabs
class=
"tab_card"
v
alue=
"name1"
type=
"card"
:animated=
"false
"
>
<Tabs
class=
"tab_card"
v
-model=
"name"
type=
"card"
:animated=
"false"
@
on-click=
"clickTab
"
>
<TabPane
label=
"结果列表"
name=
"name1"
>
<TabPane
label=
"结果列表"
name=
"name1"
>
<resultsList
ref=
"resultsList"
/>
<resultsList
ref=
"resultsLists"
/>
</TabPane>
</TabPane>
<!--
<TabPane
label=
"结果甘特图"
name=
"name2"
>
结果甘特图
</TabPane>
-->
<!--
<TabPane
label=
"结果甘特图"
name=
"name2"
>
结果甘特图
</TabPane>
-->
<TabPane
label=
"方案对比"
name=
"name3"
>
<TabPane
label=
"方案对比"
name=
"name3"
>
<compareList
ref=
"compareList"
/>
<compareList
ref=
"compareList"
/>
</TabPane>
</TabPane>
</Tabs>
</Tabs>
<!--
<h4>
排产结果
</h4>
<!--
<h4>
排产结果
</h4>
<div
class=
"btn"
>
<div
class=
"btn"
>
<Button
type=
"primary"
@
click=
"parameter"
>
下发
</Button>
-->
<Button
type=
"primary"
@
click=
"parameter"
>
下发
</Button>
-->
<!--
<Button
type=
"primary"
>
导出
</Button>
000 -->
<!--
<Button
type=
"primary"
>
导出
</Button>
000 -->
<!--
<Button
type=
"primary"
icon=
"ios-redo"
@
click=
"comeBlck"
>
返回
</Button>
<!--
<Button
type=
"primary"
icon=
"ios-redo"
@
click=
"comeBlck"
>
返回
</Button>
</div>
</div>
<div>
<div>
<Table
:columns=
"columns"
:data=
"data"
></Table>
<Table
:columns=
"columns"
:data=
"data"
></Table>
</div>
-->
</div>
-->
</Content>
</Content>
</Layout>
</Layout>
</div>
</div>
...
@@ -58,14 +58,15 @@ import resultsList from "./result.vue";
...
@@ -58,14 +58,15 @@ import resultsList from "./result.vue";
import
compareList
from
"./compare.vue"
;
import
compareList
from
"./compare.vue"
;
export
default
{
export
default
{
components
:
{
resultsList
,
compareList
},
components
:
{
resultsList
,
compareList
},
data
()
{
data
()
{
return
{
return
{
isactive
:
0
,
isactive
:
0
,
data
:
[],
data
:
[],
list
:
[],
list
:
[],
id
:
""
,
name
:
'name1'
,
id
:
""
// columns: [
// columns: [
// {
// {
// type: "expand",
// type: "expand",
...
@@ -150,6 +151,8 @@ export default {
...
@@ -150,6 +151,8 @@ export default {
this
.
orderlist
();
this
.
orderlist
();
},
},
methods
:
{
methods
:
{
clickTab
(
name
)
{
},
orderlist
()
{
orderlist
()
{
Api
.
getall
()
Api
.
getall
()
.
then
(
r
=>
{
.
then
(
r
=>
{
...
...
pages/aps/results/result.vue
View file @
26eaf6b0
<
style
lang=
"less"
>
<
style
lang=
"less"
>
@import
'./results.less'
;
@import
"./results.less"
;
</
style
>
</
style
>
<
template
>
<
template
>
<div>
<div>
<div
class=
"btn"
style=
"z-index:9999;position:absolute;right:0"
>
<div
class=
"btn"
style=
"z-index:9999;position:absolute;right:0"
>
<Button
type=
"primary"
@
click=
"parameter
"
>
下发
</Button>
<Button
type=
"primary"
@
click=
"parameter"
v-show=
"showNext
"
>
下发
</Button>
<!--
<Button
type=
"primary"
>
导出
</Button>
000 -->
<!--
<Button
type=
"primary"
>
导出
</Button>
000 -->
<Button
type=
"primary"
icon=
"ios-redo"
@
click=
"comeBlck"
>
返回
</Button>
<Button
type=
"primary"
icon=
"ios-redo"
@
click=
"comeBlck"
>
返回
</Button>
</div>
</div>
<div>
<div>
<Table
:columns=
"columns"
:data=
"data"
></Table>
<Table
:columns=
"columns"
:data=
"data"
></Table>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"./api"
;
import
Api
from
"./api"
;
import
expandRow
from
"./table-expand.vue"
;
import
expandRow
from
"./table-expand.vue"
;
export
default
{
export
default
{
components
:
{
expandRow
},
components
:
{
expandRow
},
data
()
{
data
()
{
return
{
return
{
isactive
:
0
,
isactive
:
0
,
data
:
[],
data
:
[],
list
:
[],
list
:
[],
showNext
:
true
,
columns
:
[
columns
:
[
{
{
type
:
"expand"
,
type
:
"expand"
,
...
@@ -97,11 +98,11 @@ export default {
...
@@ -97,11 +98,11 @@ export default {
key
:
"plan_qty"
,
key
:
"plan_qty"
,
align
:
"center"
align
:
"center"
}
}
]
,
]
}
}
;
},
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
'loadDictionary'
)
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
},
components
:
{},
components
:
{},
created
()
{
created
()
{
...
@@ -140,14 +141,49 @@ export default {
...
@@ -140,14 +141,49 @@ export default {
},
},
// 下发
// 下发
parameter
()
{
parameter
()
{
Api
.
processschemedispatch
({
Api
.
checkisinsertandbadjust
({
//方案下发前的插单检查
id
:
this
.
id
id
:
this
.
id
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
result
)
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
$Modal
.
confirm
({
this
.
orderlist
();
title
:
"结果下发"
,
content
:
r
.
result
.
retmsg
,
onOk
:
()
=>
{
if
(
r
.
result
.
retcode
==
1
)
{
//排产方案下发--普通+干扰
Api
.
processschemedispatch
({
id
:
this
.
id
}).
then
(
r
=>
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
orderlist
();
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
}
});
}
else
if
(
r
.
result
.
retcode
==
0
)
{
//排产方案下发--有插单
Api
.
processschemedispatchinsert
({
id
:
this
.
id
}).
then
(
r
=>
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
orderlist
();
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
}
});
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
}
},
onCancel
:
()
=>
{
this
.
$Message
.
info
(
"取消下发"
);
}
});
}
else
{
}
else
{
this
.
$Message
.
success
(
"下发失败
"
);
this
.
$Message
.
info
(
"不能下发
"
);
}
}
});
});
},
},
...
@@ -156,16 +192,15 @@ export default {
...
@@ -156,16 +192,15 @@ export default {
this
.
$router
.
push
({
path
:
"/aps/aps"
});
this
.
$router
.
push
({
path
:
"/aps/aps"
});
},
},
tabChange
(
name
)
{
tabChange
(
name
)
{
if
(
name
==
'technicalcoordination'
)
if
(
name
==
"technicalcoordination"
)
{
{
this
.
$refs
.
technicalcoordination
.
loadchangelist
();
this
.
$refs
.
technicalcoordination
.
loadchangelist
();
}
if
(
name
==
'unqualifiedorder'
){
this
.
$refs
.
unqualifiedorder
.
loadchangelist
();
}
}
},
if
(
name
==
"unqualifiedorder"
)
{
this
.
$refs
.
unqualifiedorder
.
loadchangelist
();
}
}
}
}
}
}
;
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
</
style
>
</
style
>
pages/materiel/classification/add.vue
0 → 100644
View file @
26eaf6b0
<
template
>
<div>
<Button
type=
"dashed"
>
新增
</Button>
</div>
</
template
>
\ No newline at end of file
pages/materiel/classification/index.vue
0 → 100644
View file @
26eaf6b0
<
template
>
<div>
<Button
type=
"dashed"
>
新增
</Button>
</div>
</
template
>
\ No newline at end of file
pages/materiel/masterData/details.vue
0 → 100644
View file @
26eaf6b0
pages/materiel/masterData/index.vue
0 → 100644
View file @
26eaf6b0
<
template
>
<div>
<Button
type=
"dashed"
>
详情
</Button>
</div>
</
template
>
\ No newline at end of file
pages/order/quotation/index.vue
View file @
26eaf6b0
<
template
>
<
template
>
<Layout
class=
"quotation"
>
<Layout
class=
"quotation"
>
<!-- 左侧树 -->
<!-- 左侧树 -->
<Sider
hide-trigger
:style=
"
{background: '#fff'}" width="260">
<
!--
<
Sider
hide-trigger
:style=
"
{background: '#fff'}" width="260">
<Tree-Type
@
func=
"getMsgFormSon"
:style=
"
{ height: treeHeight + 'px' }">
</Tree-Type>
<Tree-Type
@
func=
"getMsgFormSon"
:style=
"
{ height: treeHeight + 'px' }">
</Tree-Type>
</Sider>
</Sider>
-->
<
!--
<
Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<ProductTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
<ProductTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
</Sider>
</Sider>
<div
v-if=
"!showMenu"
class=
"show_menu"
>
<div
v-if=
"!showMenu"
class=
"show_menu"
>
<a
class=
"menu_play fr"
@
click=
"showMenuFn"
title=
"展开"
>
<a
class=
"menu_play fr"
@
click=
"showMenuFn"
title=
"展开"
>
<Icon
type=
"ios-arrow-forward"
size=
"24"
/>
<Icon
type=
"ios-arrow-forward"
size=
"24"
/>
</a>
</a>
</div>
-->
</div>
<!-- 右侧内容 -->
<!-- 右侧内容 -->
<Content
class=
"content"
:class=
"!showMenu?'con_bord':''"
>
<Content
class=
"content"
:class=
"!showMenu?'con_bord':''"
>
<Tabs
v-model=
"selectName"
@
on-click=
"handleClick"
>
<Tabs
v-model=
"selectName"
@
on-click=
"handleClick"
>
...
@@ -397,13 +397,16 @@ export default {
...
@@ -397,13 +397,16 @@ export default {
this
.
showMenu
=
true
;
this
.
showMenu
=
true
;
},
},
productSearch
(
id
,
item
,
ids
)
{
productSearch
(
id
,
item
,
ids
)
{
let
where
=
{
productId
:
{
op
:
"In"
,
value
:
ids
}
};
// console.log(item)
this
.
$refs
.
grid
.
reload
(
where
);
this
.
getMsgFormSon
(
ids
)
// let where = { productId: { op: "In", value: ids } };
// this.$refs.grid.reload(where);
},
},
update
()
{
update
()
{
this
.
tableTata
(
this
.
selectName
);
this
.
tableTata
(
this
.
selectName
);
},
},
getMsgFormSon
(
data
)
{
getMsgFormSon
(
data
)
{
// console.log(data)
this
.
productId
=
data
.
join
(
","
);
this
.
productId
=
data
.
join
(
","
);
this
.
tableTata
(
this
.
selectName
);
this
.
tableTata
(
this
.
selectName
);
},
},
...
...
pages/processManage/setProcess/index.vue
View file @
26eaf6b0
<
template
>
<
template
>
<div>
<Layout
class=
"lay100"
>
<!--
<div>
-->
<!-- 左侧树 -->
<!-- 左侧树 -->
<div
class=
"zh-tree"
:style=
"
{height:treeHeight+'px'}">
<!--
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
-->
<h3
class=
"zh-title"
>
产品结构
</h3>
<!--
<div
class=
"zh-tree"
:style=
"
{height:treeHeight+'px'}"> -->
<!--
<h3
class=
"zh-title"
>
产品结构
</h3>
<div
class=
"zh-box"
>
<div
class=
"zh-box"
>
<Input
search
placeholder=
"请输入查询条件"
v-model=
"treeInputSearch"
/>
<Input
search
placeholder=
"请输入查询条件"
v-model=
"treeInputSearch"
/>
...
@@ -13,9 +15,18 @@
...
@@ -13,9 +15,18 @@
@on-select-change="selectTreeNode"
@on-select-change="selectTreeNode"
>
</Tree>
>
</Tree>
</div>
</div>
</Sider>
-->
<!--
</div>
-->
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<ProductTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
</Sider>
<div
v-if=
"!showMenu"
class=
"show_menu"
>
<a
class=
"menu_play fr"
@
click=
"showMenuFn"
title=
"展开"
>
<Icon
type=
"ios-arrow-forward"
size=
"24"
/>
</a>
</div>
</div>
<!-- 右侧内容 -->
<!-- 右侧内容 -->
<
div
class=
"content-right
"
>
<
Content
class=
"con"
:class=
"!showMenu?'con_bord':''
"
>
<div
class=
"title_box"
>
<div
class=
"title_box"
>
<div
class=
"table_title"
>
<div
class=
"table_title"
>
<div
style=
"width:100px; float:left"
>
<div
style=
"width:100px; float:left"
>
...
@@ -235,7 +246,7 @@
...
@@ -235,7 +246,7 @@
@
on-page-size-change=
"pageSizeChange"
@
on-page-size-change=
"pageSizeChange"
/>
/>
</div>
</div>
</
div
>
</
Content
>
<Modal
<Modal
v-model=
"modal1"
v-model=
"modal1"
:title=
"gymodaltitle"
:title=
"gymodaltitle"
...
@@ -339,19 +350,18 @@
...
@@ -339,19 +350,18 @@
>
>
<processview
ref=
"processview"
></processview>
<processview
ref=
"processview"
></processview>
</Modal>
</Modal>
</
div
>
</
Layout
>
</template>
</template>
<
script
>
<
script
>
import
DrawerSet
from
"./components/drawerSet.vue"
;
//抽屉列表
import
DrawerSet
from
"./components/drawerSet.vue"
;
//抽屉列表
import
TreeType
from
"./components/treeType.vue"
;
//左侧树列表
import
orderMaterial
from
"./components/orderMaterial.vue"
;
//料单
import
orderMaterial
from
"./components/orderMaterial.vue"
;
//料单
import
processMain
from
"./processMain.vue"
;
import
processMain
from
"./processMain.vue"
;
import
processNew
from
"../Process/processNew.vue"
;
import
processNew
from
"../Process/processNew.vue"
;
import
service
from
"@/plugins/request"
;
import
service
from
"@/plugins/request"
;
import
ProductTree
from
"@/components/page/productTree.vue"
;
//左侧树列表
import
OrderSendReview
from
"./components/orderSendReview"
;
//送审页面
import
OrderSendReview
from
"./components/orderSendReview"
;
//送审页面
import
processview
from
"../Process/processview.vue"
;
import
processview
from
"../Process/processview.vue"
;
import
sendAudit
from
"../Process/sendAudit.vue"
;
import
sendAudit
from
"../Process/sendAudit.vue"
;
...
@@ -359,7 +369,7 @@ import QS from "querystring";
...
@@ -359,7 +369,7 @@ import QS from "querystring";
export
default
{
export
default
{
components
:
{
components
:
{
DrawerSet
,
DrawerSet
,
TreeTyp
e
,
ProductTre
e
,
processMain
,
processMain
,
processNew
,
processNew
,
orderMaterial
,
orderMaterial
,
...
@@ -369,6 +379,7 @@ export default {
...
@@ -369,6 +379,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
showMenu
:
true
,
isview
:
false
,
isview
:
false
,
isdview
:
false
,
isdview
:
false
,
ismview
:
false
,
ismview
:
false
,
...
@@ -687,7 +698,7 @@ export default {
...
@@ -687,7 +698,7 @@ export default {
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
},
mounted
()
{
mounted
()
{
this
.
initTree
();
//
this.initTree();
window
.
onresize
=
()
=>
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
///浏览器窗口大小变化
return
(()
=>
{
return
(()
=>
{
...
@@ -698,7 +709,7 @@ export default {
...
@@ -698,7 +709,7 @@ export default {
};
};
},
},
computed
:
{
computed
:
{
searchList
()
{
searchList
()
{
//产品树左侧
let
nodeList
=
this
.
treeData
;
let
nodeList
=
this
.
treeData
;
var
text
=
this
.
treeInputSearch
;
var
text
=
this
.
treeInputSearch
;
var
newNodeList
=
[];
var
newNodeList
=
[];
...
@@ -720,6 +731,21 @@ export default {
...
@@ -720,6 +731,21 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
onHide
()
{
this
.
showMenu
=
false
;
},
showMenuFn
()
{
this
.
showMenu
=
true
;
},
productSearch
(
id
,
item
,
ids
)
{
if
(
ids
.
length
>
0
)
{
this
.
orderSearchForm
.
productId
=
ids
.
join
(
","
);
}
else
{
this
.
orderSearchForm
.
productId
=
"-1"
;
this
.
orderSearchForm
.
productName
=
""
;
}
this
.
easySearch
(
this
.
orderSearchForm
);
},
// tab切换
// tab切换
tabChange
(
name
)
{
tabChange
(
name
)
{
this
.
tabstatus
=
name
;
this
.
tabstatus
=
name
;
...
@@ -765,12 +791,9 @@ export default {
...
@@ -765,12 +791,9 @@ export default {
deleted
()
{},
deleted
()
{},
// 分页
// 分页
pageChange
(
num
)
{
pageChange
(
num
)
{
//console.log(num);
this
.
page
=
num
;
this
.
page
=
num
;
this
.
orderSearchForm
.
SkipCount
=
(
num
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
;
this
.
orderSearchForm
.
SkipCount
=
// console.log(this.orderSearchForm.SkipCount);
(
num
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
;
console
.
log
(
this
.
orderSearchForm
.
SkipCount
);
this
.
loaddata
(
this
.
orderSearchForm
);
this
.
loaddata
(
this
.
orderSearchForm
);
},
},
pageSizeChange
(
limit
)
{
pageSizeChange
(
limit
)
{
...
@@ -780,23 +803,15 @@ console.log(this.orderSearchForm.SkipCount);
...
@@ -780,23 +803,15 @@ console.log(this.orderSearchForm.SkipCount);
this
.
loaddata
(
this
.
orderSearchForm
);
this
.
loaddata
(
this
.
orderSearchForm
);
},
},
loaddata
(
params
)
{
loaddata
(
params
)
{
var
url
=
""
;
var
url
=
""
;
// if(params==1||params==2){
// url =
// `${PlanUrl}/mesorder/getpagedmesordersforpdefm?ProcessUserType=` + params
// }else{
this
.
orderSearchForm
.
simpleSearch
=
typeof
params
==
"string"
?
params
:
params
.
simpleSearch
,
//快速搜索
this
.
orderSearchForm
.
simpleSearch
=
typeof
params
==
"string"
?
params
:
params
.
simpleSearch
,
//快速搜索
this
.
orderSearchForm
.
ProcessUserType
=
this
.
tabstatus
,
this
.
orderSearchForm
.
ProcessUserType
=
this
.
tabstatus
,
this
.
orderSearchForm
.
ProductingPreparation
=
this
.
ProductingPreparationPeople
,
this
.
orderSearchForm
.
ProductingPreparation
=
this
.
ProductingPreparationPeople
,
this
.
orderSearchForm
.
RoutingSetStatus
=
this
.
orderSearchForm
.
RoutingSetStatus
this
.
orderSearchForm
.
RoutingSetStatus
=
this
.
orderSearchForm
.
RoutingSetStatus
url
=
url
=
`
${
PlanUrl
}
/mesorder/getpagedmesordersforpdefm?`
+
`
${
PlanUrl
}
/mesorder/getpagedmesordersforpdefm?`
+
QS
.
stringify
(
this
.
orderSearchForm
);
QS
.
stringify
(
this
.
orderSearchForm
);
// }
service
.
get
(
`
${
url
}
`
).
then
(
response
=>
{
service
.
get
(
`
${
url
}
`
).
then
(
response
=>
{
// console.log(response)
// console.log(response)
...
@@ -847,33 +862,34 @@ console.log(this.orderSearchForm.SkipCount);
...
@@ -847,33 +862,34 @@ console.log(this.orderSearchForm.SkipCount);
}
}
}
}
},
},
initTree
()
{
// initTree() {
var
sumData
=
[];
// var sumData = [];
this
.
$http
.
order
.
getallselecttree
().
then
(
res
=>
{
// this.$http.order.getallselecttree().then(res => {
if
(
res
.
result
)
{
// if (res.result) {
for
(
var
i
=
0
;
i
<
res
.
result
.
length
;
i
++
)
{
// for (var i = 0; i
<
res
.
result
.
length
;
i
++
)
{
sumData
=
sumData
.
concat
(
res
.
result
[
i
]);
// sumData = sumData.concat(res.result[i]);
}
// }
this
.
treeData
=
sumData
;
// this.treeData = sumData;
this
.
data2
=
JSON
.
parse
(
JSON
.
stringify
(
sumData
));
// this.data2 = JSON.parse(JSON.stringify(sumData));
}
else
{
// } else {
this
.
$Message
.
error
(
"加载产品树失败!"
);
// this.$Message.error("加载产品树失败!");
}
// }
});
// });
},
// },
selectTreeNode
(
value
)
{
// selectTreeNode(value) {
if
(
value
.
length
>
0
)
{
// console.log(value)
this
.
ids
=
[];
// if (value.length > 0) {
this
.
getAllIds
(
value
);
// this.ids = [];
if
(
this
.
ids
.
length
>
0
)
{
// this.getAllIds(value);
this
.
orderSearchForm
.
productId
=
this
.
ids
.
join
(
","
);
// if (this.ids.length > 0) {
}
else
{
// this.orderSearchForm.productId = this.ids.join(",");
this
.
orderSearchForm
.
productId
=
"-1"
;
// } else {
this
.
orderSearchForm
.
productName
=
""
;
// this.orderSearchForm.productId = "-1";
}
// this.orderSearchForm.productName = "";
this
.
easySearch
(
this
.
orderSearchForm
);
// }
}
// this.easySearch(this.orderSearchForm);
},
// }
// },
getAllIds
(
trees
)
{
getAllIds
(
trees
)
{
trees
.
forEach
((
data
,
index
)
=>
{
trees
.
forEach
((
data
,
index
)
=>
{
var
that
=
this
;
var
that
=
this
;
...
...
pages/produce/taskList.vue
View file @
26eaf6b0
...
@@ -241,12 +241,14 @@ export default {
...
@@ -241,12 +241,14 @@ export default {
SkipCount
:
1
,
SkipCount
:
1
,
MaxResultCount
:
10
,
MaxResultCount
:
10
,
orderSearchForm
:
{
orderSearchForm
:
{
status
:
0
,
SimpleSearch
:
''
,
productId
:
null
,
//产品id
productId
:
null
,
//产品id
productName
:
''
,
//产品名称
productName
:
''
,
//产品名称
taskType
:
''
,
//任务类型
taskType
:
''
,
//任务类型
stage
:
''
,
//阶段
stage
:
''
,
//阶段
materialId
:
''
,
//材料
materialId
:
''
,
//材料
quantity
:
1
,
//数量
guestName
:
''
,
//甲方客户
guestName
:
''
,
//甲方客户
printSupply
:
''
,
//3D打印承制单位
printSupply
:
''
,
//3D打印承制单位
functionaryOffice
:
''
,
//厂内责任机关
functionaryOffice
:
''
,
//厂内责任机关
...
@@ -268,7 +270,9 @@ export default {
...
@@ -268,7 +270,9 @@ export default {
projectNumber
:
""
,
//项目号
projectNumber
:
""
,
//项目号
batchNumber
:
""
,
//批次号
batchNumber
:
""
,
//批次号
urgencyLevel
:
null
//紧急程度
urgencyLevel
:
null
,
//紧急程度
SkipCount
:
1
,
MaxResultCount
:
10
},
},
mColumn
:[
mColumn
:[
{
type
:
'expand'
,
width
:
60
,
{
type
:
'expand'
,
width
:
60
,
...
@@ -352,19 +356,21 @@ content="开工"
...
@@ -352,19 +356,21 @@ content="开工"
});
});
},
},
// 分页
// 分页
pageChange
(
pageNum
)
{
let
pageData
=
this
.
search
;
pageData
.
SkipCount
=
(
pageNum
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
pageChange
(
pageNum
)
{
pageData
.
MaxResultCount
=
(
pageNum
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
this
.
orderSearchForm
.
SkipCount
=
// pageData.pageIndex = pageNum
(
pageNum
-
1
)
*
this
.
orderSearchForm
.
MaxResultCount
this
.
laodePage
(
pageData
)
},
// pageData.pageIndex = pageNum
pageSizeChange
(
val
)
{
this
.
laodePage
(
this
.
orderSearchForm
)
let
pageData
=
this
.
search
;
},
pageData
.
SkipCount
=
0
pageSizeChange
(
val
)
{
pageData
.
MaxResultCount
=
val
this
.
orderSearchForm
.
SkipCount
=
0
this
.
laodePage
(
pageData
)
this
.
orderSearchForm
.
MaxResultCount
=
val
},
this
.
laodePage
(
this
.
orderSearchForm
)
},
laodePage
(
pageData
){
laodePage
(
pageData
){
let
url
=
`
${
PlanUrl
}
/orderexecute/waitexecuteorderlist`
;
let
url
=
`
${
PlanUrl
}
/orderexecute/waitexecuteorderlist`
;
service
.
post
(
`
${
url
}
`
,
pageData
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
pageData
).
then
(
res
=>
{
...
@@ -373,8 +379,11 @@ content="开工"
...
@@ -373,8 +379,11 @@ content="开工"
});
});
},
},
// 搜索
// 搜索
tableSearch
()
{
tableSearch
()
{
},
this
.
orderSearchForm
.
SkipCount
=
0
this
.
orderSearchForm
.
SimpleSearch
=
this
.
searchIterms
this
.
laodePage
(
this
.
orderSearchForm
)
},
searchModel
(){
searchModel
(){
this
.
showModel
=
true
;
this
.
showModel
=
true
;
},
},
...
...
pages/resourceManagement/deviceManagementCP/components/newEquipment.vue
View file @
26eaf6b0
<
template
>
<
template
>
<div
class=
"new-equipment"
>
<div
class=
"new-equipment"
>
<Modal
v-model=
"modalShow"
title=
"新增设备
"
width=
"1000"
:mask-closable=
"false"
>
<Modal
v-model=
"modalShow"
:title=
"title
"
width=
"1000"
:mask-closable=
"false"
>
<Form
:model=
"formItem"
:label-width=
"100"
style=
"margin:10px;"
:rules=
"ruleValidate"
>
<Form
:model=
"formItem"
:label-width=
"100"
style=
"margin:10px;"
:rules=
"ruleValidate"
>
<Row
:gutter=
"16"
>
<Row
:gutter=
"16"
>
<Col
span=
"11"
>
<Col
span=
"11"
>
...
@@ -55,39 +55,19 @@
...
@@ -55,39 +55,19 @@
<inputFile
ref=
"refqcFile"
v-model=
"imgName"
:parms=
"qcfileparms"
files
/>
<inputFile
ref=
"refqcFile"
v-model=
"imgName"
:parms=
"qcfileparms"
files
/>
</FormItem>
</FormItem>
</Col>
</Col>
<!--
<Col
span=
"11"
offset=
"1"
>
<Col
:span=
"12"
>
<FormItem
label=
"是否关重"
prop=
"isimportant"
>
<FormItem
label=
"属性"
>
<Select
v-model=
"isimportant"
>
<Checkbox
v-model=
"property"
>
排产资源
</Checkbox>
<Option
:value=
"1"
>
是
</Option>
<Option
:value=
"2"
>
否
</Option>
</Select>
</FormItem>
</FormItem>
</Col>
-->
</Col>
</Row>
</Row>
<Row
:gutter=
"16"
>
<Row
:gutter=
"16"
>
<!--
<Col
span=
"11"
>
<Col
span=
"12"
>
<FormItem
label=
"能力系数"
>
<InputNumber
:min=
"0"
v-model=
"formItem.capability_value"
size=
"large"
style=
"width:240px"
></InputNumber>
</FormItem>
</Col>
-->
<Col
span=
"11"
offset=
"1"
>
<FormItem
label=
"位置"
prop=
"location"
>
<FormItem
label=
"位置"
prop=
"location"
>
<Input
v-model=
"formItem.location"
placeholder=
"请输入位置"
></Input>
<Input
v-model=
"formItem.location"
placeholder=
"请输入位置"
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
<Row
:gutter=
"16"
>
<Col
:span=
"12"
>
<FormItem
label=
"属性"
>
<Checkbox
v-model=
"property"
>
排产资源
</Checkbox>
</FormItem>
</Col>
</Row>
</Form>
</Form>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<!-- class="footers" -->
<!-- class="footers" -->
...
@@ -133,7 +113,7 @@ export default {
...
@@ -133,7 +113,7 @@ export default {
shop_id
:
""
,
shop_id
:
""
,
shop_name
:
""
,
shop_name
:
""
,
// isimportant: 2,
// isimportant: 2,
location
:
""
,
location
:
""
// capability_value: 1
// capability_value: 1
},
},
property
:
true
,
property
:
true
,
...
...
pages/technology/add.vue
View file @
26eaf6b0
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"8"
>
<Col
:span=
"8"
>
<FormItem
v-if=
"title=='新增'"
:label=
"l('code')"
prop=
"code"
>
<
!--
<
FormItem
v-if=
"title=='新增'"
:label=
"l('code')"
prop=
"code"
>
<Input
v-model=
"entity.code"
></Input>
<Input
v-model=
"entity.code"
></Input>
</FormItem>
</FormItem>
v-else-if="title=='克隆'"-->
<FormItem
v-else-if=
"title=='克隆'"
:label=
"l('code')"
prop=
"code"
>
<FormItem
:label=
"l('code')"
prop=
"code"
>
<Input
disabled
v-model=
"entity.code"
></Input>
<Input
disabled
v-model=
"entity.code"
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
...
@@ -201,10 +201,10 @@ export default {
...
@@ -201,10 +201,10 @@ export default {
mounted
()
{
mounted
()
{
this
.
parms
.
eid
=
this
.
$u
.
guid
();
this
.
parms
.
eid
=
this
.
$u
.
guid
();
this
.
$refs
.
refFile
.
intFiles
();
this
.
$refs
.
refFile
.
intFiles
();
// console.log(this.title)
// console.log(this.eid)
if
(
this
.
eid
>
0
)
{
if
(
this
.
eid
>
0
)
{
this
.
load
(
this
.
eid
);
this
.
load
(
this
.
eid
);
}
else
{
this
.
getCodNumber
();
}
}
},
},
methods
:
{
methods
:
{
...
@@ -212,7 +212,7 @@ export default {
...
@@ -212,7 +212,7 @@ export default {
this
.
$refs
.
form
.
validate
(
v
=>
{
this
.
$refs
.
form
.
validate
(
v
=>
{
if
(
v
)
{
if
(
v
)
{
this
.
disabled
=
true
;
this
.
disabled
=
true
;
if
(
this
.
title
==
'克隆'
){
if
(
this
.
title
==
'克隆'
){
this
.
$Message
.
success
(
"克隆"
);
this
.
$Message
.
success
(
"克隆"
);
this
.
getcloneData
()
this
.
getcloneData
()
}
else
{
}
else
{
...
@@ -290,16 +290,16 @@ export default {
...
@@ -290,16 +290,16 @@ export default {
this
.
entity
.
isEffect
=
parseInt
(
r
.
result
.
isEffect
);
this
.
entity
.
isEffect
=
parseInt
(
r
.
result
.
isEffect
);
this
.
entity
.
id
=
0
;
this
.
entity
.
id
=
0
;
});
});
if
(
this
.
title
==
'克隆'
){
this
.
getCodNumber
();
},
getCodNumber
(){
Api
.
getCodeNumber
({
code
:
'GY'
,
count
:
'1'
}).
then
(
r
=>
{
Api
.
getCodeNumber
({
code
:
'GY'
,
count
:
'1'
}).
then
(
r
=>
{
// console.log(r)
if
(
r
.
success
){
if
(
r
.
success
){
this
.
entity
.
code
=
r
.
result
[
0
]
this
.
entity
.
code
=
r
.
result
[
0
]
}
else
{
}
else
{
this
.
$Message
.
error
(
"生成编号失败"
);
this
.
$Message
.
error
(
"生成编号失败"
);
}
}
})
})
}
},
},
l
(
key
)
{
l
(
key
)
{
key
=
"routingHeader"
+
"."
+
key
;
key
=
"routingHeader"
+
"."
+
key
;
...
...
pages/technology/details/index.vue
View file @
26eaf6b0
...
@@ -70,7 +70,7 @@ export default {
...
@@ -70,7 +70,7 @@ export default {
});
});
}
}
},
},
{
key
:
"taskSeq"
,
title
:
this
.
l
(
"taskSeq"
),
align
:
"left"
,
width
:
80
},
{
key
:
"taskSeq"
,
title
:
this
.
l
(
"taskSeq"
),
align
:
"left"
,
width
:
100
,
sortable
:
true
},
{
{
key
:
"name"
,
key
:
"name"
,
title
:
this
.
l
(
"name"
),
title
:
this
.
l
(
"name"
),
...
...
pages/technology/details/routingqccard/index.vue
View file @
26eaf6b0
...
@@ -49,8 +49,9 @@ export default {
...
@@ -49,8 +49,9 @@ export default {
"checkParams,standard"
,
"checkParams,standard"
,
value
:
null
value
:
null
},
},
routingHeaderId
:
{
op
:
"Equal"
,
value
:
-
1
}
routingHeaderId
:
{
op
:
"Equal"
,
value
:
-
1
}
,
},
},
sortType
:
'normal'
,
modal
:
false
,
modal
:
false
,
title
:
"新增"
,
title
:
"新增"
,
detail
:
null
,
detail
:
null
,
...
@@ -78,7 +79,8 @@ export default {
...
@@ -78,7 +79,8 @@ export default {
title
:
this
.
l
(
"routingDetailNo"
),
title
:
this
.
l
(
"routingDetailNo"
),
align
:
"left"
,
align
:
"left"
,
high
:
true
,
high
:
true
,
width
:
80
width
:
100
,
sortable
:
true
},
},
{
{
key
:
"routingDetailName"
,
key
:
"routingDetailName"
,
...
@@ -357,7 +359,7 @@ export default {
...
@@ -357,7 +359,7 @@ export default {
l
(
key
)
{
l
(
key
)
{
let
vkey
=
"routing_qc_card"
+
"."
+
key
;
let
vkey
=
"routing_qc_card"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
return
this
.
$t
(
vkey
)
||
key
;
}
}
,
}
}
};
};
</
script
>
</
script
>
...
...
pages/technology/details/routingqccard/search.vue
View file @
26eaf6b0
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.creatorUserId.show"
>
<Col
:span=
"12"
v-if=
"condition.creatorUserId.show"
>
<FormItem
:label=
"l('creatorUserId')"
prop=
"creatorUserId"
>
<FormItem
:label=
"l('creatorUserId')"
prop=
"creatorUserId"
>
<
Input
v-model=
"condition.creatorUserId.value"
></Inpu
t>
<
UserSelect
v-model=
"condition.creatorUserId.value"
></UserSelec
t>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.lastModificationTime.show"
>
<Col
:span=
"12"
v-if=
"condition.lastModificationTime.show"
>
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.lastModifierUserId.show"
>
<Col
:span=
"12"
v-if=
"condition.lastModifierUserId.show"
>
<FormItem
:label=
"l('lastModifierUserId')"
prop=
"lastModifierUserId"
>
<FormItem
:label=
"l('lastModifierUserId')"
prop=
"lastModifierUserId"
>
<
Input
v-model=
"condition.lastModifierUserId.value"
></Inpu
t>
<
UserSelect
v-model=
"condition.lastModifierUserId.value"
></UserSelec
t>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"12"
v-if=
"condition.deletionTime.show"
>
<Col
:span=
"12"
v-if=
"condition.deletionTime.show"
>
...
...
pages/technology/details/routingsupporting/index.vue
View file @
26eaf6b0
...
@@ -78,7 +78,8 @@ export default {
...
@@ -78,7 +78,8 @@ export default {
title
:
this
.
l
(
"routingDetailNo"
),
title
:
this
.
l
(
"routingDetailNo"
),
align
:
"left"
,
align
:
"left"
,
high
:
true
,
high
:
true
,
width
:
80
width
:
100
,
sortable
:
true
},
},
{
{
key
:
"routingDetailName"
,
key
:
"routingDetailName"
,
...
...
pages/technology/index.vue
View file @
26eaf6b0
...
@@ -121,30 +121,7 @@ export default {
...
@@ -121,30 +121,7 @@ export default {
uId
:
""
,
uId
:
""
,
columns
:
[
columns
:
[
{
key
:
"id"
,
title
:
this
.
$t
(
"id"
),
hide
:
true
,
align
:
"left"
},
{
key
:
"id"
,
title
:
this
.
$t
(
"id"
),
hide
:
true
,
align
:
"left"
},
{
key
:
"creationTime"
,
title
:
this
.
$t
(
"creationTime"
),
align
:
"left"
,
hide
:
true
},
{
key
:
"creatorUserId"
,
title
:
this
.
$t
(
"creatorUserId"
),
align
:
"left"
,
hide
:
true
},
{
key
:
"lastModificationTime"
,
title
:
this
.
$t
(
"lastModificationTime"
),
align
:
"left"
,
hide
:
true
},
{
key
:
"lastModifierUserId"
,
title
:
this
.
$t
(
"lastModifierUserId"
),
align
:
"left"
,
hide
:
true
},
{
key
:
"classId"
,
title
:
this
.
l
(
"classId"
),
align
:
"left"
,
hide
:
true
},
{
key
:
"classId"
,
title
:
this
.
l
(
"classId"
),
align
:
"left"
,
hide
:
true
},
{
{
key
:
"unicode"
,
key
:
"unicode"
,
...
@@ -244,6 +221,30 @@ export default {
...
@@ -244,6 +221,30 @@ export default {
width
:
140
,
width
:
140
,
high
:
true
,
high
:
true
,
code
:
"Process.Status"
code
:
"Process.Status"
},
{
key
:
"creationTime"
,
title
:
this
.
$t
(
"creationTime"
),
align
:
"left"
,
hide
:
true
},
{
key
:
"creatorUserId"
,
title
:
this
.
$t
(
"creatorUserId"
),
align
:
"left"
,
hide
:
true
},
{
key
:
"lastModificationTime"
,
title
:
this
.
$t
(
"lastModificationTime"
),
align
:
"left"
,
hide
:
true
},
{
key
:
"lastModifierUserId"
,
title
:
this
.
$t
(
"lastModifierUserId"
),
align
:
"left"
,
hide
:
true
},
},
{
{
title
:
"操作"
,
title
:
"操作"
,
...
...
pages/technology/search.vue
View file @
26eaf6b0
This diff is collapsed.
Click to expand it.
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