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

工艺bom

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