Commit 25cd92c6 authored by renjintao's avatar renjintao

orderList zh-cn

parent 71e95416
...@@ -1438,5 +1438,15 @@ export default { ...@@ -1438,5 +1438,15 @@ export default {
productUrl:'产品图像url', productUrl:'产品图像url',
productUrlList:'产品图象列表', productUrlList:'产品图象列表',
},
order_list:{
mesCode:'订单编号',
status:'工单状态',
productName:'产品名称',
drawnNumber:'图号',
quantity:'生产数量',
beginTime:'开始时间',
endTime:'结束时间',
action:'操作'
} }
} }
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
/> />
</Col> </Col>
<Col span="16" class="row"> <Col span="16" class="row">
<p>开始时间{{row.beginTime}}</p> <p>{{l("beginTime")}}{{row.beginTime}}</p>
<p> <p>
<span v-if="getStatus(row.status)">计划</span>结束时间:{{row.endTime}} <span v-if="getStatus(row.status)">计划</span>结束时间:{{row.endTime}}
</p> </p>
...@@ -66,11 +66,11 @@ ...@@ -66,11 +66,11 @@
剩余时间: 剩余时间:
<OutputTime :value="getTimes(row.endTime)" style="display:inline"></OutputTime> <OutputTime :value="getTimes(row.endTime)" style="display:inline"></OutputTime>
</p> </p>
<p>生产数量{{row.quantity}}</p> <p>{{l("quantity")}}{{row.quantity}}</p>
</Col> </Col>
</Row> </Row>
<Row class="rowBottom"> <Row class="rowBottom">
<Col span="14">图号{{row.drawnNumber}}</Col> <Col span="14">{{l("drawnNumber")}}{{row.drawnNumber}}</Col>
<Col span="10" class="tr"> <Col span="10" class="tr">
<Icon <Icon
type="md-alert" type="md-alert"
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
}, },
{ {
key: "status", key: "status",
title: "工单状态", title: this.l("status"),
align: "center", align: "center",
high: true, high: true,
code: "taskList.status", code: "taskList.status",
...@@ -131,33 +131,33 @@ export default { ...@@ -131,33 +131,33 @@ export default {
}, },
{ {
key: "productName", key: "productName",
title: "产品名称", title: this.l("productName"),
align: "left", align: "left",
high: true high: true
}, },
{ {
key: "drawnNumber", key: "drawnNumber",
title: "图号", title: this.l("drawnNumber"),
align: "left", align: "left",
high: true high: true
}, },
{ {
key: "quantity", key: "quantity",
title: "生产数量", title: this.l("quantity"),
align: "right", align: "right",
width: 120, width: 120,
high: true high: true
}, },
{ {
key: "beginTime", key: "beginTime",
title: "开始时间", title: this.l("beginTime"),
align: "center", align: "center",
width: 180, width: 180,
high: true high: true
}, },
{ {
key: "endTime", key: "endTime",
title: "结束时间", title: this.l("endTime"),
align: "center", align: "center",
width: 180, width: 180,
high: true high: true
...@@ -270,7 +270,7 @@ export default { ...@@ -270,7 +270,7 @@ export default {
return tempUrl; return tempUrl;
}, },
l(key) { l(key) {
let vkey = "mes_order" + "." + key; let vkey = "order_list" + "." + key;
return this.$t(vkey) || key; return this.$t(vkey) || key;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment