Commit 975c9637 authored by 仇晓婷's avatar 仇晓婷

详情

parent 3eac9dc8
<template> <template>
<div class="detail"> <div class="new-detail">
<Row> <Row>
<Filed :span="8" :name="l('routingDetailNo')">{{entity.routingDetailNo}}</Filed> <Filed :span="8" :name="l('routingDetailNo')+':'">{{entity.routingDetailNo}}</Filed>
<Filed :span="8" :name="l('routingDetailName')">{{entity.routingDetailName}}</Filed> <Filed :span="8" :name="l('routingDetailName')+':'">{{entity.routingDetailName}}</Filed>
<Filed :span="8" :name="l('materialNumber')">{{entity.materialNumber}}</Filed> <Filed :span="8" :name="l('materialNumber')+':'">{{entity.materialNumber}}</Filed>
<Filed :span="8" :name="l('nameMaterial')">{{entity.nameMaterial}}</Filed> <Filed :span="8" :name="l('nameMaterial')+':'">{{entity.nameMaterial}}</Filed>
<Filed :span="8" :name="l('creationTime')">{{entity.creationTime}}</Filed> <Filed :span="8" :name="l('creationTime')+':'">{{entity.creationTime}}</Filed>
<Filed :span="8" :name="l('creatorUserId')"> <Filed :span="8" :name="l('creatorUserId')+':'">
<User :value="parseInt(entity.creatorUserId)" /> <User :value="parseInt(entity.creatorUserId)" />
</Filed> </Filed>
<Filed :span="8" :name="l('quantity')">{{entity.quantity}}</Filed> <Filed :span="8" :name="l('quantity')+':'">{{entity.quantity}}</Filed>
<Filed v-for="li in fileds" :key="li.field" :span="li.span" :name="li.title">{{li.newConten}}</Filed> </Row>
<Divider orientation="left">扩展属性</Divider>
<Row>
<Filed
v-for="li in fileds"
:key="li.field"
:span="li.span"
:name="li.title+':'"
>{{li.newConten}}</Filed>
</Row> </Row>
</div> </div>
</template> </template>
......
...@@ -349,7 +349,7 @@ export default { ...@@ -349,7 +349,7 @@ export default {
view(row) { view(row) {
this.curId = row.id; this.curId = row.id;
this.materialId = row.materialId; this.materialId = row.materialId;
this.title = "详情"; this.title = "查看详情";
this.detail = () => import("./detail"); this.detail = () => import("./detail");
this.modal = true; this.modal = true;
}, },
......
<template> <template>
<div class="detail"> <div class="new-detail">
<Row> <Row>
<Filed :span="8" :name="l('routingDetailNo')">{{entity.routingDetailNo}}</Filed> <Filed :span="8" :name="l('routingDetailNo')+':'">{{entity.routingDetailNo}}</Filed>
<Filed :span="8" :name="l('routingDetail')">{{entity.routingDetailName}}</Filed> <Filed :span="8" :name="l('routingDetail')+':'">{{entity.routingDetailName}}</Filed>
<Filed :span="8" :name="l('nameOfResource')">{{entity.nameMaterial}}</Filed> <Filed :span="8" :name="l('nameOfResource')+':'">{{entity.nameMaterial}}</Filed>
<Filed :span="8" :name="l('resourceId')">{{entity.materialNumber}}</Filed> <Filed :span="8" :name="l('resourceId')+':'">{{entity.materialNumber}}</Filed>
<Filed :span="8" :name="l('count')">{{entity.quantity}}</Filed> <Filed :span="8" :name="l('count')+':'">{{entity.quantity}}</Filed>
<Filed :span="8" :name="l('creatorUserId')"> <Filed :span="8" :name="l('creatorUserId')+':'">
<User :value="parseInt(entity.creatorUserId)" /> <User :value="parseInt(entity.creatorUserId)" />
</Filed> </Filed>
<Filed :span="8" :name="l('creationTime')">{{entity.creationTime}}</Filed> <Filed :span="8" :name="l('creationTime')+':'">{{entity.creationTime}}</Filed>
<Filed v-for="li in fileds" :key="li.field" :span="li.span" :name="li.title">{{li.newConten}}</Filed> </Row>
<Divider orientation="left">扩展属性</Divider>
<Row>
<Filed
v-for="li in fileds"
:key="li.field"
:span="li.span"
:name="li.title+':'"
>{{li.newConten}}</Filed>
</Row> </Row>
</div> </div>
</template> </template>
......
...@@ -189,7 +189,7 @@ export default { ...@@ -189,7 +189,7 @@ export default {
view(row) { view(row) {
this.curId = row.id; this.curId = row.id;
this.materialId = row.materialId; this.materialId = row.materialId;
this.title = "查看属性"; this.title = "查看详情";
this.detail = () => import("./detail"); this.detail = () => import("./detail");
this.modal = true; this.modal = true;
}, },
......
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