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
154ad370
Commit
154ad370
authored
Nov 06, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order split
parent
9d9aafa5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
11 deletions
+24
-11
base.less
assets/css/base.less
+9
-2
index.vue
pages/mesPlan/index.vue
+1
-1
split.vue
pages/mesPlan/split.vue
+10
-7
index.vue
pages/produce/execute/taskTime/index.vue
+4
-1
No files found.
assets/css/base.less
View file @
154ad370
...
...
@@ -992,8 +992,15 @@ textarea::-webkit-input-placeholder {
.tableCommon tr td .ivu-table-cell {
padding: 0 2px;
}
.cellblock{
display:block;
line-height:30px;
padding:5px 10px;
background:#f5f6fa;
border-bottom:solid 1px #ccc;
border-left:solid 1px #ccc;
border-right:solid 1px #ccc
}
.cellInfoTitle {
padding: 0 10px;
text-align: right;
...
...
pages/mesPlan/index.vue
View file @
154ad370
...
...
@@ -39,7 +39,7 @@
<Search
/>
</
template
>
<
template
slot=
"buttons"
>
<Button
type=
"primary"
@
click=
"addModal=true"
>
创建
</Button>
<Button
type=
"primary"
@
click=
"addModal=true"
>
新增
</Button>
</
template
>
<
template
slot=
"batch"
>
<Button
type=
"primary"
class=
"mr10 ml10"
@
click=
"openSendViewModal"
v-if=
"this.wfstatu==1"
>
订单送审
</Button>
...
...
pages/mesPlan/split.vue
View file @
154ad370
...
...
@@ -33,7 +33,7 @@
</Col>
<Col
span=
"12"
>
<FormItem
label=
"分解数量"
style=
"width:100%"
prop=
"splitQuantity"
>
<InputNumber
:min=
"
0
"
v-model=
"orderForm.splitQuantity"
style=
"width:180px"
></InputNumber>
<InputNumber
:min=
"
2"
:max=
"orderForm.quantity
"
v-model=
"orderForm.splitQuantity"
style=
"width:180px"
></InputNumber>
<Button
type=
"primary"
@
click=
"addSplitOrder"
v-noClick
>
确定
</Button>
</FormItem>
</Col>
...
...
@@ -41,13 +41,16 @@
</Form>
<Table
:loading=
"loading"
border
:columns=
"columns1"
:data=
"dataList"
class=
"tableCommon"
>
<template
slot-scope=
"
{ row, index }" slot="slotPlanQ">
<Input
type=
"text"
v-model=
"row.quantity"
@
on-change=
"inputOrderCat
(row,index)"
/>
<Input
Number
:min=
"0"
:max=
"amountMax"
v-model=
"row.quantity"
@
on-change=
"inputOrderCat(row,index)"
@
on-focus=
"inputFocus
(row,index)"
/>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"slotTime"
>
<DatePicker
v-model=
"row.demandDate"
type=
"daterange"
placeholder=
"请选择日期"
style=
"width:240px"
:transfer=
"true"
:options=
"optionsDate"
@
on-change=
"inputOrderCat(row,index)"
></DatePicker>
</
template
>
</Table>
<p
v-show=
"false"
>
剩余数量:{{amount}}
</p>
<div
class=
"cellblock"
>
<p>
剩余产品数量:{{amount}}
</p>
</div>
</div>
</template>
...
...
@@ -134,6 +137,7 @@ export default {
}]
},
amount
:
0
,
amountMax
:
this
.
amount
,
};
},
props
:
{
...
...
@@ -217,10 +221,9 @@ export default {
splitAmount
=
Number
(
splitAmount
)
+
Number
(
el
.
quantity
)
})
this
.
amount
=
this
.
orderForm
.
quantity
-
splitAmount
// setTimeout(() => {
// this.amount = this.orderForm.quantity - splitAmount
// }, 1000);
},
inputFocus
(
row
,
index
)
{
this
.
amountMax
=
this
.
amount
+
row
.
quantity
},
getFormatDate
(
dates
)
{
const
d
=
new
Date
(
dates
);
...
...
pages/produce/execute/taskTime/index.vue
View file @
154ad370
...
...
@@ -7,7 +7,10 @@
<span
class=
""
>
{{
topInfoShow
.
name
}}
</span>
派工数量:
<span
class=
""
>
{{
topInfoShow
.
count
}}
</span>
绩效单件:
<span
class=
""
>
{{
topInfoShow
.
performanceHours
}}
</span>
绩效准结:
<span
class=
""
>
{{
topInfoShow
.
performanceWorkingHours
}}
</span>
<span
class=
""
>
{{
topInfoShow
.
performanceWorkingHours
}}
</span>
工时提交状态:
<span
class=
""
>
<state
code=
"orderList.workHourStatus"
ref=
"state"
:value=
" topInfoShow.subWorkHourStatus"
type=
"text"
></state>
</span>
</div>
<div
class=
"gs_top"
>
<div
class=
"gs_top_box total_time"
>
...
...
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