|
|
@@ -64,15 +64,15 @@
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 型号</template>
|
|
|
- {{ basicInfo.category&&basicInfo.category.modelType }}
|
|
|
+ {{ assetInfo.modelType }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 规格 </template>
|
|
|
- {{ basicInfo.category&&basicInfo.category.specification }}
|
|
|
+ {{ assetInfo.specification }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item :span="2">
|
|
|
<template slot="label"> 分类 </template>
|
|
|
- {{ basicInfo.category&&basicInfo.category.categoryLevelPath }}
|
|
|
+ {{ assetInfo.categoryLevelPath }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 生产日期 </template>
|
|
|
@@ -92,11 +92,11 @@
|
|
|
</el-form-item>
|
|
|
<span v-if="pageType == 'edit'">{{ form.productTime }}</span>
|
|
|
</el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
+<!-- <el-descriptions-item>
|
|
|
<template slot="label"> 过保日期 </template>
|
|
|
<span v-if="pageType == 'add'">{{ expirationTime }}</span>
|
|
|
<span v-if="pageType == 'edit'">{{ cbexpirationTime }}</span>
|
|
|
- </el-descriptions-item>
|
|
|
+ </el-descriptions-item> -->
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 计量单位 </template>
|
|
|
{{ basicInfo.category&&basicInfo.category.measuringUnit }}
|
|
|
@@ -538,6 +538,7 @@
|
|
|
},
|
|
|
// 基本信息
|
|
|
basicInfo: {},
|
|
|
+ assetInfo:{},
|
|
|
// 资产信息
|
|
|
zcInfo: {
|
|
|
// 固定资产编码
|
|
|
@@ -659,7 +660,7 @@
|
|
|
},
|
|
|
async cbDialogGoods (data) {
|
|
|
this.basicInfo = data;
|
|
|
- console.log('data',data)
|
|
|
+ this.assetInfo = data
|
|
|
this.form.rootCategoryLevelId = this.basicInfo.categoryLevelPathId.split(',')[0];
|
|
|
this.form.categoryId = this.basicInfo.id;
|
|
|
this.form.name = this.basicInfo.name;
|
|
|
@@ -813,6 +814,7 @@
|
|
|
|
|
|
this.form = data;
|
|
|
this.basicInfo = data.category;
|
|
|
+ this.assetInfo = data.category.category;
|
|
|
this.cbexpirationTime = data.expirationTime;
|
|
|
this.sourceDICT = data.sourceDICT;
|
|
|
this.networkStatus = data.networkStatus;
|