庞东旭 1 день тому
джерело
коміт
6c2b097197
2 змінених файлів з 7 додано та 10 видалено
  1. +2
    -2
      src/views/sunVillage_info/list_operatingAssets_detail.vue
  2. +5
    -8
      src/views/sunVillage_info/list_operatingAssets_detail2.vue

+ 2
- 2
src/views/sunVillage_info/list_operatingAssets_detail.vue Переглянути файл

@@ -7,7 +7,7 @@
<div class="list_main">
<van-divider>固定资产信息</van-divider>
<van-field readonly v-model="form.name" type="textarea" autosize label="资产名称" placeholder="资产名称" input-align="right" :border="false"/>
<van-field readonly v-model="form.useType" label="使用状态" placeholder="使用状态" input-align="right" :border="false"/>
<van-field readonly v-model="form.useTypeText" label="使用状态" placeholder="使用状态" input-align="right" :border="false"/>
<van-field readonly v-model="form.originalValue + '元'" label="原值" placeholder="原值" input-align="right" :border="false"/>
<van-field readonly v-model="form.buildTime" label="购建时间" placeholder="构建时间" input-align="right" :border="false"/>
<van-field readonly v-model="form.quantity" label="数量" placeholder="数量" input-align="right" :border="false"/>
@@ -47,7 +47,7 @@
};
jyxzcqkgkDetail(this.$route.query.id).then((res) => {
if (res.code === 200) {
res.data.useType = this.selectDictLabel(this.useTypeOptions, res.data.useType);
res.data.useTypeText = this.selectDictLabel(this.useTypeOptions, res.data.useType);
this.form = res.data;
}
})


+ 5
- 8
src/views/sunVillage_info/list_operatingAssets_detail2.vue Переглянути файл

@@ -6,8 +6,8 @@
</div>
<div class="list_main">
<van-divider>资源性资产信息</van-divider>
<van-field readonly v-model="form.resourceType" label="资源类型" placeholder="资源类型" input-align="right" :border="false"/>
<van-field readonly v-model="form.useType" label="使用情况" placeholder="使用情况" input-align="right" :border="false"/>
<van-field readonly v-model="form.resourceTypeText" label="资源类型" placeholder="资源类型" input-align="right" :border="false"/>
<van-field readonly v-model="form.useTypeText" label="使用情况" placeholder="使用情况" input-align="right" :border="false"/>
<van-field readonly v-model="form.totalArea + '亩'" label="面积" placeholder="面积" input-align="right" :border="false"/>
<div v-if="form.contractionId">
<van-divider>关联合同信息</van-divider>
@@ -29,7 +29,7 @@
return {
form: {},
useTypeOptions: [],
usedTypeOptions: [],
usedAreaOptions: [],
resourceTypeOptions: []
};
},
@@ -37,9 +37,6 @@
this.getDicts("use_type").then((response) => {
this.useTypeOptions = response.data;
});
this.getDicts("used_area").then((response) => {
this.usedTypeOptions = response.data;
});
this.getDicts("resource_type").then((response) => {
this.resourceTypeOptions = response.data;
});
@@ -54,8 +51,8 @@
};
jyxzyqkgkDetail(this.$route.query.id).then((res) => {
if (res.code === 200) {
res.data.useType = this.selectDictLabel(this.useTypeOptions, res.data.useType);
res.data.resourceType = this.selectDictLabel(this.resourceTypeOptions, res.data.resourceType);
res.data.useTypeText = this.selectDictLabel(this.useTypeOptions, res.data.useType);
res.data.resourceTypeText = this.selectDictLabel(this.resourceTypeOptions, res.data.resourceType);
this.form = res.data;
}
})


Завантаження…
Відмінити
Зберегти