Commit d4c64b07 authored by 仇晓婷's avatar 仇晓婷

工艺bom

parent cdf20757
<template>
<div class="new-detail">
<Row>
<Filed :span="8" :name="l('routingDetailNo')+':'">{{entity.routingDetailNo}}</Filed>
<Filed :span="8" :name="l('routingDetailName')+':'">{{entity.routingDetailName}}</Filed>
<Filed :span="8" :name="l('materialNumber')+':'">{{entity.materialNumber}}</Filed>
<Filed :span="8" :name="l('nameMaterial')+':'">{{entity.nameMaterial}}</Filed>
<Filed :span="8" :name="l('routingDetailNo') + ':'">{{
entity.routingDetailNo
}}</Filed>
<Filed :span="8" :name="l('routingDetailName') + ':'">{{
entity.routingDetailName
}}</Filed>
<Filed :span="8" :name="l('materialNumber') + ':'">{{
entity.materialNumber
}}</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)" />
</Filed>
<Filed :span="8" :name="l('quantity')+':'">{{entity.quantity}}</Filed>
<Filed :span="8" :name="l('quantity') + ':'">{{
entity.quantity
}}</Filed>
</Row>
<Divider orientation="left">扩展属性</Divider>
<Row>
......@@ -19,8 +31,24 @@
v-for="li in fileds"
:key="li.field"
:span="li.span"
:name="li.title+':'"
>{{li.newConten}}</Filed>
:name="li.title + ':'"
>
<!-- {{li.newConten}} -->
<State
v-if="li.dataType == 3"
:code="li.note"
:value="entity[li.field]"
/>
<div v-else-if="li.dataType == 8">{{ entity[li.field] }}</div>
<div v-else-if="li.dataType == 5" v-html="entity[li.field]"></div>
<DTSpan v-else-if="li.dataType == 4" :value="entity[li.field]" />
<span v-else>{{ entity[li.field] }}</span>
<State
v-if="li.unitName && (li.dataType == 1 || li.dataType == 2)"
:code="li.note"
:value="entity[li.field]"
/>
</Filed>
</Row>
</div>
</template>
......
......@@ -142,56 +142,56 @@ export default {
high: true,
width: 80,
},
{
key: "brand",
title: this.l("brand"),
align: "left",
easy: true,
high: true,
},
{
key: "specifications",
title: this.l("specifications"),
align: "left",
easy: true,
high: true,
},
{
key: "xhgg",
title: this.l("xhgg"),
align: "left",
easy: true,
high: true,
hide: true,
},
{
key: "texture",
title: this.l("texture"),
align: "left",
easy: true,
high: true,
},
{
key: "procurementStandards",
title: this.l("procurementStandards"),
align: "left",
easy: true,
high: true,
},
{
key: "qualityGrade",
title: this.l("qualityGrade"),
align: "left",
easy: true,
high: true,
},
{
key: "drawNum",
title: this.l("drawNum"),
align: "left",
easy: true,
high: true,
},
// {
// key: "brand",
// title: this.l("brand"),
// align: "left",
// easy: true,
// high: true,
// },
// {
// key: "specifications",
// title: this.l("specifications"),
// align: "left",
// easy: true,
// high: true,
// },
// {
// key: "xhgg",
// title: this.l("xhgg"),
// align: "left",
// easy: true,
// high: true,
// hide: true,
// },
// {
// key: "texture",
// title: this.l("texture"),
// align: "left",
// easy: true,
// high: true,
// },
// {
// key: "procurementStandards",
// title: this.l("procurementStandards"),
// align: "left",
// easy: true,
// high: true,
// },
// {
// key: "qualityGrade",
// title: this.l("qualityGrade"),
// align: "left",
// easy: true,
// high: true,
// },
// {
// key: "drawNum",
// title: this.l("drawNum"),
// align: "left",
// easy: true,
// high: true,
// },
{
key: "creationTime",
title: this.l("creationTime"),
......
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