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
669c07ff
Commit
669c07ff
authored
Oct 20, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加不能重复点击
parent
8acab9f3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
226 additions
and
167 deletions
+226
-167
editDuration.vue
pages/aps/ai/editDuration.vue
+1
-1
options.vue
pages/aps/ai/options.vue
+1
-1
editDuration.vue
pages/aps/aps/editDuration.vue
+1
-1
options.vue
pages/aps/aps/options.vue
+1
-1
index.vue
pages/aps/complete/index.vue
+1
-1
index.vue
pages/aps/dispatch/index.vue
+1
-1
addAccessory.vue
pages/aps/plan/addAccessory.vue
+0
-1
detailAccessory.vue
pages/aps/plan/detailAccessory.vue
+1
-1
dispatch.vue
pages/aps/plan/dispatch.vue
+46
-41
split.vue
pages/mesPlan/split.vue
+1
-1
index.vue
pages/mordent/Sluggish/powder/index.vue
+1
-1
add.vue
pages/project/plan/add.vue
+2
-8
edit.vue
pages/project/plan/edit.vue
+165
-104
add.vue
pages/project/project/add.vue
+3
-3
add.vue
pages/word/classification/add.vue
+1
-1
No files found.
pages/aps/ai/editDuration.vue
View file @
669c07ff
...
...
@@ -21,7 +21,7 @@
</Form>
<Row>
<Col
span=
"24"
style=
"text-align:right;height:60px;line-height:60px"
>
<Button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
确定
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</Col>
</Row>
...
...
pages/aps/ai/options.vue
View file @
669c07ff
...
...
@@ -138,7 +138,7 @@
</Col>
</Row>
<FormItem
class=
"click-btn"
>
<Button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
确定
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</Form>
...
...
pages/aps/aps/editDuration.vue
View file @
669c07ff
...
...
@@ -21,7 +21,7 @@
</Form>
<Row>
<Col
span=
"24"
style=
"text-align:right;height:60px;line-height:60px"
>
<Button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
确定
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</Col>
</Row>
...
...
pages/aps/aps/options.vue
View file @
669c07ff
...
...
@@ -138,7 +138,7 @@
</Col>
</Row>
<FormItem
class=
"click-btn"
>
<Button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
确定
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</Form>
...
...
pages/aps/complete/index.vue
View file @
669c07ff
...
...
@@ -96,7 +96,7 @@
</FormItem>
<FormItem>
<Button
style=
"margin-left: 8px"
@
click=
"closeOk"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"lowerHair"
>
下发
</Button>
<Button
type=
"primary"
@
click=
"lowerHair"
v-noClick
>
下发
</Button>
</FormItem>
</Form>
</div>
...
...
pages/aps/dispatch/index.vue
View file @
669c07ff
...
...
@@ -254,7 +254,7 @@
</Row>
<FormItem>
<Button
style=
"margin-right: 8px"
@
click=
"cancle"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"sendSheBei"
>
派工
</Button>
<Button
type=
"primary"
@
click=
"sendSheBei"
v-noClick
>
派工
</Button>
</FormItem>
</Form>
</Drawer>
...
...
pages/aps/plan/addAccessory.vue
View file @
669c07ff
...
...
@@ -42,7 +42,6 @@ export default {
name
:
"addAccessory"
,
data
()
{
return
{
disabled
:
false
,
deletelModal
:
false
,
curId
:
0
,
editIndex
:
-
1
,
...
...
pages/aps/plan/detailAccessory.vue
View file @
669c07ff
...
...
@@ -43,7 +43,7 @@ export default {
name
:
"detailAccessory"
,
data
()
{
return
{
disabled
:
false
,
deletelModal
:
false
,
statuList
:
this
.
$store
.
getters
.
dictionaryByKey
(
"accessory.status"
)
||
[],
statuList1
:
this
.
$store
.
getters
.
dictionaryByKey
(
"outstore.status"
)
||
[],
...
...
pages/aps/plan/dispatch.vue
View file @
669c07ff
...
...
@@ -2,99 +2,104 @@
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<Row>
<Col
span=
"12"
>
<FormItem
:label=
"l('DistributeMainRouting')"
prop=
"DistributeMainRouting"
>
<UserSelect
ref=
"userSelected"
v-model=
"entity.DistributeMainRouting"
/>
<FormItem
:label=
"l('DistributeMainRouting')"
prop=
"DistributeMainRouting"
>
<UserSelect
ref=
"userSelected"
v-model=
"entity.DistributeMainRouting"
/>
</FormItem>
</Col>
<Col
span=
"12"
>
<FormItem
label=
"完成时间"
style=
"width:100%"
prop=
"MainRoutingFinishDate"
>
<FormItem
label=
"完成时间"
style=
"width: 100%"
prop=
"MainRoutingFinishDate"
>
<DatePicker
v-model=
"entity.MainRoutingFinishDate"
type=
"datetime"
placeholder=
"请选择日期"
style=
"width:240px"
style=
"width:
240px"
@
on-change=
"getTimeMainRFD"
></DatePicker>
</FormItem>
</Col>
</Row>
<Row
>
</Row>
<Row
>
</Row>
<Row>
</Row>
<Row>
</Row>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</Form>
</
template
>
<
script
>
import
Api
from
'./api'
import
Api
from
"./api"
;
export
default
{
name
:
'Dispatch'
,
name
:
"Dispatch"
,
props
:
{
ids
:
Array
ids
:
Array
,
},
data
()
{
return
{
disabled
:
false
,
entity
:
{
DistributeMainRouting
:
null
,
MainRoutingFinishDate
:
''
MainRoutingFinishDate
:
""
,
},
rules
:
{
DistributeMainRouting
:
[
{
required
:
true
,
message
:
'请选择人员'
,
trigger
:
'change'
,
type
:
'number'
}
message
:
"请选择人员"
,
trigger
:
"change"
,
type
:
"number"
,
}
,
],
MainRoutingFinishDate
:
[
{
required
:
true
,
message
:
'请选择时间'
,
trigger
:
'change'
}
]
}
}
message
:
"请选择时间"
,
trigger
:
"change"
,
}
,
]
,
}
,
}
;
},
methods
:
{
handleSubmit
()
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
if
(
v
)
{
this
.
entity
.
ids
=
this
.
ids
this
.
entity
.
ids
=
this
.
ids
;
Api
.
routingdistribute
(
this
.
entity
)
.
then
((
r
)
=>
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
'工艺派发成功'
)
this
.
$emit
(
'on-ok'
)
this
.
$Message
.
success
(
"工艺派发成功"
);
this
.
$emit
(
"on-ok"
);
}
else
{
this
.
$Message
.
error
(
'工艺派发失败'
)
this
.
$Message
.
error
(
"工艺派发失败"
);
}
this
.
$emit
(
'on-ok'
)
this
.
$emit
(
"on-ok"
);
})
.
catch
((
err
)
=>
{
this
.
$Message
.
error
(
'工艺派发失败'
)
})
this
.
$Message
.
error
(
"工艺派发失败"
);
})
;
}
})
})
;
},
handleClose
()
{
this
.
$emit
(
'on-close'
)
this
.
$emit
(
"on-close"
);
},
l
(
key
)
{
key
=
'mes_order'
+
'.'
+
key
return
this
.
$t
(
key
)
key
=
"mes_order"
+
"."
+
key
;
return
this
.
$t
(
key
)
;
},
getTimeMainRFD
(
value
)
{
this
.
entity
.
MainRoutingFinishDate
=
value
}
this
.
entity
.
MainRoutingFinishDate
=
value
;
}
,
},
watch
:
{}
}
watch
:
{}
,
}
;
</
script
>
pages/mesPlan/split.vue
View file @
669c07ff
...
...
@@ -40,7 +40,7 @@
<Col
span=
"12"
>
<FormItem
label=
"分解数量"
style=
"width:100%"
prop=
"splitQuantity"
>
<InputNumber
:min=
"0"
v-model=
"orderForm.splitQuantity"
style=
"width:180px"
></InputNumber>
<Button
type=
"primary"
@
click=
"addSplitOrder"
>
确定
</Button>
<Button
type=
"primary"
@
click=
"addSplitOrder"
v-noClick
>
确定
</Button>
</FormItem>
</Col>
</Row>
...
...
pages/mordent/Sluggish/powder/index.vue
View file @
669c07ff
...
...
@@ -68,7 +68,7 @@
<Col
span=
"16"
>
</Col>
<Col
span=
"8"
>
<Button
@
click=
"cancel"
class=
"ml20"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"setNumOk"
>
设置
</Button>
<Button
type=
"primary"
@
click=
"setNumOk"
v-noClick
>
设置
</Button>
</Col>
</Row>
</Form>
...
...
pages/project/plan/add.vue
View file @
669c07ff
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<Row>
<!--
<Col
:span=
"12"
<!--
<Col
:span=
"12"
><FormItem
:label=
"l('creationTime')"
prop=
"creationTime"
>
<DatePicker
type=
"date"
...
...
@@ -101,9 +101,7 @@
></Col>
</Row>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button
>
<Button
type=
"primary"
@
click=
"handleSubmit"
v-noClick
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
</FormItem>
</Form>
...
...
@@ -114,7 +112,6 @@ export default {
name
:
"Add"
,
data
()
{
return
{
disabled
:
false
,
entity
:
{
// creationTime: null,
// creatorUserId: null,
...
...
@@ -152,10 +149,8 @@ export default {
handleSubmit
()
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
if
(
v
)
{
this
.
disabled
=
true
;
Api
.
create
(
this
.
entity
)
.
then
((
r
)
=>
{
this
.
disabled
=
false
;
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
...
...
@@ -164,7 +159,6 @@ export default {
}
})
.
catch
((
err
)
=>
{
this
.
disabled
=
false
;
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
...
...
pages/project/plan/edit.vue
View file @
669c07ff
This diff is collapsed.
Click to expand it.
pages/project/project/add.vue
View file @
669c07ff
...
...
@@ -137,7 +137,7 @@ export default {
name
:
"Add"
,
data
()
{
return
{
disabled
:
false
,
imgName
:
""
,
avatorPath
:
""
,
entity
:
{
...
...
@@ -196,7 +196,7 @@ export default {
}
Api
.
create
(
this
.
entity
)
.
then
((
r
)
=>
{
this
.
disabled
=
false
;
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
...
...
@@ -205,7 +205,7 @@ export default {
}
})
.
catch
((
err
)
=>
{
this
.
disabled
=
false
;
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
...
...
pages/word/classification/add.vue
View file @
669c07ff
...
...
@@ -461,7 +461,7 @@ export default {
}
})
.
catch
((
err
)
=>
{
this
.
disabled
=
false
;
this
.
$Message
.
error
(
"保存失败"
);
console
.
warn
(
err
);
});
...
...
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