|
|
|
@ -153,7 +153,14 @@
|
|
|
|
|
<span>{{ parseTime(scope.row.disposalDate) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="资产状态" align="center" prop="assetStatus" />
|
|
|
|
|
<el-table-column label="资产状态" align="center" prop="assetStatus">
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<dict-tag
|
|
|
|
|
:type="DICT_TYPE.ASSET_STATUS"
|
|
|
|
|
:value="scope.row.assetStatus"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="资产价格" align="center" prop="purchasePrice" />
|
|
|
|
|
<el-table-column label="资产数量" align="center" prop="assetQuantity" />
|
|
|
|
|
<el-table-column label="购买渠道" align="center" prop="purchaseChannel" />
|
|
|
|
@ -305,10 +312,18 @@
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="资产状态" prop="assetStatus">
|
|
|
|
|
<el-input
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="form.assetStatus"
|
|
|
|
|
placeholder="请输入资产状态"
|
|
|
|
|
/>
|
|
|
|
|
placeholder="请选择资产状态"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in typeOptions"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
@ -382,18 +397,13 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<!-- <el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="完整性" prop="cherks">
|
|
|
|
|
<el-input v-model="form.cherks" placeholder="请输入完整性" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="制单人" prop="createBy">
|
|
|
|
|
<el-input v-model="form.createBy" placeholder="请输入制单人" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-row> -->
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
@ -415,6 +425,7 @@ import {
|
|
|
|
|
import Editor from "@/components/Editor";
|
|
|
|
|
import { getOrganizationPage } from "@/api/setting/organization";
|
|
|
|
|
import { getSiteTree } from "@/api/setting/organization";
|
|
|
|
|
import { listData } from "@/api/system/dict/data";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "ElectronicAssets",
|
|
|
|
@ -478,12 +489,14 @@ export default {
|
|
|
|
|
organizationList: [],
|
|
|
|
|
siteOptions: [], //归档位置数据
|
|
|
|
|
siteArray: [], //归档位置选中值
|
|
|
|
|
typeOptions: [], //资产状态
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getList();
|
|
|
|
|
this.getSiteList();
|
|
|
|
|
this.getOrganizationList();
|
|
|
|
|
this.handleInitList();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
/** 查询列表 */
|
|
|
|
@ -496,6 +509,17 @@ export default {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//获取字典数据
|
|
|
|
|
handleInitList() {
|
|
|
|
|
// 获取凭证类别
|
|
|
|
|
listData({
|
|
|
|
|
pageNo: 1,
|
|
|
|
|
pageSize: 100,
|
|
|
|
|
dictType: "asset_status",
|
|
|
|
|
}).then((res) => {
|
|
|
|
|
this.typeOptions = res.data.list || [];
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//获取归档位置
|
|
|
|
|
getSiteList() {
|
|
|
|
|
getSiteTree().then((response) => {
|
|
|
|
|