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
116770f9
Commit
116770f9
authored
Aug 07, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zh-cn/support_item
parent
9f691aef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
112 additions
and
58 deletions
+112
-58
zh-CN.js
i18n/locale/zh-CN.js
+65
-21
addAccessory.vue
pages/aps/plan/addAccessory.vue
+14
-15
detailAccessory.vue
pages/aps/plan/detailAccessory.vue
+12
-8
editAccessory.vue
pages/aps/plan/editAccessory.vue
+21
-14
No files found.
i18n/locale/zh-CN.js
View file @
116770f9
...
...
@@ -359,8 +359,8 @@ export default {
productId
:
'产品id'
,
productName
:
'产品名称'
,
quantity
:
'计划数量'
,
productQuantity
:
'合格数量'
,
qualifiedQuantity
:
'合格数量'
,
productQuantity
:
'合格数量'
,
qualifiedQuantity
:
'合格数量'
,
actualFinishDate
:
'完成时间'
,
productingPreparationPeople
:
'承制单位'
,
uncertificateQuantity
:
'待开具数量'
,
...
...
@@ -1569,9 +1569,54 @@ export default {
unitPrice
:
'单价'
,
originalManufacturer
:
'原厂家'
,
remark
:
'备注'
,
materialCode
:
'物料编码'
,
materialCode
:
'物料编码'
,
},
stock_item
:{
stock_item
:
{
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'更新时间'
,
lastModifierUserId
:
'更新人'
,
isDeleted
:
'删除人'
,
deletionTime
:
'删除时间'
,
deleterUserId
:
'删除人'
,
name
:
'名称'
,
materialType
:
'类型'
,
brand
:
'牌号'
,
specifications
:
'规格'
,
originalManufacturer
:
'原厂家'
,
batch
:
'批次'
,
unitPrice
:
'单价'
,
certificateOfApproval
:
'合格证'
,
storeId
:
''
,
storeTitle
:
'库位'
,
creator
:
''
,
stockId
:
'物料库存主键'
,
total
:
'入库数量'
,
remark
:
'备注'
,
code
:
'入库编号'
,
materialId
:
'物料id'
,
materialCode
:
'物料编码'
,
nowTotal
:
'剩余数量'
,
},
support_main
:
{
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'更新时间'
,
lastModifierUserId
:
'更新人'
,
isDeleted
:
'删除人'
,
deletionTime
:
'删除时间'
,
deleterUserId
:
'删除人'
,
orderId
:
'订单id'
,
productName
:
'产品名称'
,
drawnNumber
:
'图号'
,
count
:
'订单数量'
,
creator
:
'申请人'
,
status
:
'状态'
,
finishDate
:
'齐套时间'
,
orderCode
:
'订单编号'
,
code
:
'申请单号'
,
},
support_item
:{
creationTime
:
'创建时间'
,
creatorUserId
:
'创建人'
,
lastModificationTime
:
'更新时间'
,
...
...
@@ -1579,23 +1624,22 @@ export default {
isDeleted
:
'删除人'
,
deletionTime
:
'删除时间'
,
deleterUserId
:
'删除人'
,
name
:
'名称'
,
materialType
:
'类型'
,
brand
:
'牌号'
,
specifications
:
'规格'
,
originalManufacturer
:
'原厂家'
,
batch
:
'批次'
,
unitPrice
:
'单价'
,
certificateOfApproval
:
'合格证'
,
storeId
:
''
,
storeTitle
:
'库位'
,
creator
:
''
,
stockId
:
'物料库存主键'
,
total
:
'入库数量'
,
remark
:
'备注'
,
code
:
'入库编号'
,
supportMainId
:
'主表id'
,
routingHeaderId
:
'工艺id'
,
routingDeatilId
:
'工序id'
,
routingDetailName
:
'工序'
,
routingDetailSeq
:
'工序号'
,
routingDetailNo
:
'工序号'
,
count
:
'申请数量'
,
status
:
'状态'
,
materialId
:
'物料id'
,
materialCode
:
'物料编码'
,
nowTotal
:
'剩余数量'
,
materialName
:
'物料名称'
,
nameMaterial
:
'物料名称'
,
materialNumber
:
'物料编号'
,
needCount
:
'需要数量'
,
totalCount
:
'需要数量'
,
outStockNumber
:
'出库数量'
,
orderId
:
''
,
remark
:
'备注'
,
}
}
pages/aps/plan/addAccessory.vue
View file @
116770f9
...
...
@@ -72,39 +72,39 @@ export default {
},
{
key
:
"routingDetailNo"
,
title
:
"工序号"
,
title
:
this
.
l
(
"routingDetailNo"
)
,
align
:
"left"
,
},
{
key
:
"routingDetailName"
,
title
:
"工序"
,
title
:
this
.
l
(
"routingDetailName"
)
,
align
:
"left"
,
},
{
key
:
"nameMaterial"
,
title
:
"物料名"
,
title
:
this
.
l
(
"nameMaterial"
)
,
align
:
"left"
,
},
{
key
:
"materialNumber"
,
title
:
"物料编号"
,
title
:
this
.
l
(
"materialNumber"
)
,
align
:
"left"
,
},
{
key
:
"totalCount"
,
title
:
"需求数量"
,
title
:
this
.
l
(
"totalCount"
)
,
align
:
"left"
,
},
{
key
:
"count
s
"
,
title
:
"申请数量"
,
key
:
"count"
,
title
:
this
.
l
(
"count"
)
,
align
:
"right"
,
slot
:
"counts"
,
width
:
120
,
},
{
key
:
"remark
s
"
,
title
:
"备注"
,
key
:
"remark"
,
title
:
this
.
l
(
"remark"
)
,
align
:
"left"
,
slot
:
"remarks"
,
},
...
...
@@ -176,11 +176,6 @@ export default {
}
});
},
l
(
key
)
{
let
vkey
=
"plan_resource"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
},
getTimeQuotationFD
(
value
)
{
this
.
orderForm
.
QuotationFinishDate
=
value
!=
""
?
this
.
getFormatDateEnd
(
value
)
:
value
;
...
...
@@ -314,7 +309,7 @@ export default {
if
(
res
.
success
)
{
this
.
$Message
.
success
(
"申请成功"
);
//this.$emit("cancel");
this
.
$emit
(
'on-ok'
)
this
.
$emit
(
"on-ok"
);
}
});
}
...
...
@@ -330,6 +325,10 @@ export default {
});
this
.
footerToolbar
=
false
;
},
l
(
key
)
{
let
vkey
=
"support_item"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
},
},
watch
:
{
eid
(
v
)
{
...
...
pages/aps/plan/detailAccessory.vue
View file @
116770f9
...
...
@@ -50,39 +50,39 @@ export default {
cols
:
[
{
key
:
"materialName"
,
title
:
"物料名"
,
title
:
this
.
l
(
"materialName"
)
,
align
:
"left"
,
},
{
key
:
"materialNumber"
,
title
:
"物料编号"
,
title
:
this
.
l
(
"materialNumber"
)
,
align
:
"left"
,
},
{
key
:
"needCount"
,
title
:
"需求数量"
,
title
:
this
.
l
(
"needCount"
)
,
align
:
"right"
,
},
{
key
:
"count"
,
title
:
"申请数量"
,
title
:
this
.
l
(
"count"
)
,
align
:
"right"
,
width
:
120
,
},
{
key
:
"
count
s"
,
title
:
"状态"
,
key
:
"
statu
s"
,
title
:
this
.
l
(
"status"
)
,
align
:
"center"
,
width
:
120
,
},
{
key
:
"remark"
,
title
:
"备注"
,
title
:
this
.
l
(
"remark"
)
,
align
:
"left"
,
},
{
key
:
"action"
,
title
:
"
状态
"
,
title
:
"
操作
"
,
width
:
120
,
align
:
"center"
,
render
:
(
h
,
params
)
=>
{
...
...
@@ -153,6 +153,10 @@ export default {
}
})
},
l
(
key
)
{
let
vkey
=
"support_item"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
},
},
watch
:
{
eid
(
v
)
{
...
...
pages/aps/plan/editAccessory.vue
View file @
116770f9
...
...
@@ -151,45 +151,45 @@ export default {
},
{
key
:
"routingDetailNo"
,
title
:
"工序号"
,
title
:
this
.
l
(
"routingDetailNo"
)
,
align
:
"left"
,
},
{
key
:
"routingDetailName"
,
title
:
"工序"
,
title
:
this
.
l
(
"routingDetailName"
)
,
align
:
"left"
,
},
{
key
:
"nameMaterial"
,
title
:
"物料名"
,
title
:
this
.
l
(
"nameMaterial"
)
,
align
:
"left"
,
},
{
key
:
"materialNumber"
,
title
:
"物料编号"
,
title
:
this
.
l
(
"materialNumber"
)
,
align
:
"left"
,
},
{
key
:
"totalCount"
,
title
:
"需求数量"
,
title
:
this
.
l
(
"totalCount"
)
,
align
:
"left"
,
},
{
key
:
"count
s
"
,
title
:
"申请数量"
,
key
:
"count"
,
title
:
this
.
l
(
"count"
)
,
align
:
"right"
,
slot
:
"counts"
,
width
:
120
,
},
{
key
:
"outStockNumber"
,
title
:
"出库数量"
,
title
:
this
.
l
(
"routingDetailNo"
)
,
align
:
"right"
,
width
:
120
,
},
{
key
:
"remark
s
"
,
title
:
"备注"
,
key
:
"remark"
,
title
:
this
.
l
(
"remark"
)
,
align
:
"left"
,
slot
:
"remarks"
,
},
...
...
@@ -342,7 +342,7 @@ export default {
return
s
<
10
?
"0"
+
s
:
s
;
},
selectionChange
(
v
)
{
//根据状态修改this.datas数组数据
//根据状态修改this.datas数组数据
if
(
this
.
curArr
==
3
)
{
//单条取消选择
this
.
cRow
.
_checked
=
false
;
...
...
@@ -487,7 +487,8 @@ export default {
this
.
entity
=
row
;
this
.
modalAccSet
=
true
;
},
openAcc
()
{
//打开申请单页面
openAcc
()
{
//打开申请单页面
this
.
title
=
"申请单"
;
this
.
detailAcc
=
()
=>
import
(
"./detailAccessory"
);
this
.
modalAccessoryList
=
true
;
...
...
@@ -495,12 +496,18 @@ export default {
cancel
()
{
this
.
modalAccessoryList
=
false
;
},
canelSet
()
{
//临时设置取消
canelSet
()
{
//临时设置取消
this
.
modalAccSet
=
false
;
},
onOk
()
{
//重新加载页面数据
onOk
()
{
//重新加载页面数据
this
.
load
(
this
.
eid
);
},
l
(
key
)
{
let
vkey
=
"support_item"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
},
},
watch
:
{
eid
(
v
)
{
...
...
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