|
@@ -11,20 +11,10 @@
|
|
|
<div class="row">
|
|
|
<div class="col">设备图片:</div>
|
|
|
<div class="col">
|
|
|
- <el-image
|
|
|
- v-if="productInfo.productImage"
|
|
|
- style="width: 120px; height: 120px"
|
|
|
- :src="productInfo.productImage"
|
|
|
- :preview-src-list="[productInfo.productImage]"
|
|
|
- />
|
|
|
+ <preview-image v-if="productInfo.productImage" :src="productInfo.productImage" />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!-- <div class="row">
|
|
|
- <div class="col">所属品牌:</div>
|
|
|
- <div class="col">{{ productInfo.brandName }}</div>
|
|
|
- </div> -->
|
|
|
-
|
|
|
<div class="row">
|
|
|
<div class="col">购买渠道:</div>
|
|
|
<div class="col">{{ productInfo.purchaseWay }}</div>
|
|
@@ -33,26 +23,10 @@
|
|
|
<div class="row">
|
|
|
<div class="col">发票:</div>
|
|
|
<div class="col">
|
|
|
- <el-image
|
|
|
- v-if="productInfo.invoiceImage"
|
|
|
- style="width: 120px; height: 120px"
|
|
|
- :src="productInfo.invoiceImage"
|
|
|
- :preview-src-list="[productInfo.invoiceImage]"
|
|
|
- />
|
|
|
+ <preview-image v-if="productInfo.invoiceImage" :src="productInfo.invoiceImage" />
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <div class="row">
|
|
|
- <div class="col">设备参数:</div>
|
|
|
- <div class="col">
|
|
|
- <template v-for="(param, index) in productInfo.paramList">
|
|
|
- <div :key="index" class="param">
|
|
|
- <div class="label">{{ param.paramName }}:</div>
|
|
|
- <div class="content">{{ param.paramContent }}</div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
- <el-form ref="auditForm" label-width="112px" :model="auditForm" :rules="rules">
|
|
|
+ <el-form v-if="type === 'audit'" ref="auditForm" label-width="112px" :model="auditForm" :rules="rules">
|
|
|
<el-form-item label="审核:">
|
|
|
<el-radio-group v-model="auditForm.auditStatus">
|
|
|
<el-radio :label="1">通过</el-radio>
|
|
@@ -78,6 +52,7 @@ import { mapGetters } from 'vuex'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ type: 'review',
|
|
|
productInfo: {
|
|
|
productId: '',
|
|
|
productName: '',
|
|
@@ -107,6 +82,7 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.productInfo.productId = this.$route.query.id
|
|
|
+ this.type = this.$route.query.type
|
|
|
this.authId = this.$route.query.authId
|
|
|
this.getDetail()
|
|
|
},
|