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
9d2396ef
Commit
9d2396ef
authored
Jun 15, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质量判定-不合格品送审OK
parent
0b20e641
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
27 deletions
+24
-27
index.vue
pages/produce/execute/judgment/index.vue
+4
-3
add.vue
pages/produce/execute/taskTime/add.vue
+10
-23
index.vue
pages/produce/execute/taskTime/index.vue
+6
-0
u.vue
pages/test/u.vue
+4
-1
No files found.
pages/produce/execute/judgment/index.vue
View file @
9d2396ef
...
...
@@ -677,13 +677,14 @@ export default {
.
batchOrderStart
(
parmese
)
.
then
(
response
=>
{
if
(
response
.
success
)
{
this
.
loadchangelist
();
// this.loadFun
();
this
.
$Message
.
info
(
"送审成功!"
);
this
.
dataListRetrunNew
.
idList
=
[];
// this.dataListRetrunNew.idList = [];
this
.
ModalOrder
=
false
;
}
else
{
this
.
$Message
.
error
(
"送审失败!"
);
this
.
ModalOrder
=
false
;
}
this
.
modalInfo
=
false
;
});
},
// 取消 返回工单列表
...
...
pages/produce/execute/taskTime/add.vue
View file @
9d2396ef
...
...
@@ -65,8 +65,8 @@
</Col>
<Col
span=
"24"
>
<FormItem
label=
"分配工时"
prop=
"setTime"
>
<!--
<InputNumber
:max=
"30"
:min=
"0"
v-model=
"value1"
></InputNumber>
天
-->
<InputNumber
:max=
"maxHour"
:min=
"1"
v-model=
"entity.workHour"
@
on-change=
"testChange"
></InputNumber>
工时
<!--
<InputNumber
:max=
"30"
:min=
"0"
:step=
"1"
v-model=
"value1"
></InputNumber>
天
-->
<InputNumber
:max=
"maxHour"
:min=
"1"
:editable=
"false"
v-model=
"entity.workHour"
@
on-change=
"testChange"
></InputNumber>
工时
<!--
<InputNumber
:max=
"59"
:min=
"1"
v-model=
"value1"
></InputNumber>
分钟
-->
</FormItem>
</Col>
...
...
@@ -121,10 +121,9 @@ export default {
this
.
entity
.
cardNo
=
item
.
cardNo
}
})
console
.
log
(
this
.
entity
);
//
console.log(this.entity);
this
.
$emit
(
"on-ok"
,
this
.
entity
);
this
.
showSelect
=
true
// this.entity={}
},
//单选框
radioChange
(
val
)
{
...
...
@@ -172,25 +171,13 @@ export default {
}
},
// 选择新增人员
changeUser
(
data
){
// console.log(data)
let
alloterInfo
=
this
.
$refs
.
userSelected
.
getSelectItems
();
if
(
data
&&
data
!=
undefined
){
this
.
userflag
=
true
}
if
(
data
==
undefined
){
this
.
userflag
=
false
}
// if (!userInfo || userInfo.length == 0) {
// this.$Message.error("请选择人员!");
// return;
// }
// console.log(alloterInfo)
if
(
alloterInfo
.
length
>
0
){
this
.
entity
.
cardNo
=
alloterInfo
[
0
].
cardNo
this
.
entity
.
userName
=
alloterInfo
[
0
].
userName
this
.
entity
.
userId
=
alloterInfo
[
0
].
id
}
changeUser
(
data
){
this
.
$nextTick
(()
=>
{
let
alloterInfo
=
this
.
$refs
.
userSelected
.
getSelectItems
();
this
.
entity
.
cardNo
=
alloterInfo
[
0
].
cardNo
this
.
entity
.
userName
=
alloterInfo
[
0
].
userName
this
.
entity
.
userId
=
alloterInfo
[
0
].
id
})
},
testChange
()
{
// 该方法在input内容改变是就会触发进行检测
...
...
pages/produce/execute/taskTime/index.vue
View file @
9d2396ef
...
...
@@ -143,6 +143,12 @@ export default {
});
this
.
$refs
.
addview
.
listMan
=
result
;
});
this
.
$refs
.
addview
.
entity
=
{
cardNo
:
""
,
oldUserse
:
null
,
userse
:
null
,
workHour
:
1
,
}
},
editItem
()
{
this
.
$Message
.
success
(
"编辑工时..."
);
...
...
pages/test/u.vue
View file @
9d2396ef
...
...
@@ -20,7 +20,10 @@
<Button
@
click=
"getFileInfo"
>
得到多文件上传信息
</Button>
<h2>
人员选择
</h2>
<UserSelect
v-model=
"user"
:multiple=
"true"
/>
<UserSelect
v-model=
"user"
/>
<p>
{{
user
}}
</p>
<h2>
时间展示
</h2>
<DTSpan
type=
"date"
v-model=
"testDate"
></DTSpan>
<h2>
时间段展示
</h2>
<!-- 默认为datetime类型,可设置为date型,type="date";默认展示快捷时间段,包括当天、本周、本月,如不需要:showFast="false" -->
...
...
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