|
@@ -16,13 +16,21 @@
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 固资编码 </template>
|
|
<template slot="label"> 固资编码 </template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <el-input class="input" v-model="zcInfo.fixCode" placeholder="请输入"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ class="input"
|
|
|
|
|
+ v-model="zcInfo.fixCode"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 编号 </template>
|
|
<template slot="label"> 编号 </template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <el-input class="input" v-model="zcInfo.codeNumber" placeholder="请输入"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ class="input"
|
|
|
|
|
+ v-model="zcInfo.codeNumber"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
@@ -35,7 +43,7 @@
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 级别 </template>
|
|
<template slot="label"> 级别 </template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
@@ -57,7 +65,11 @@
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 出厂编码</template>
|
|
<template slot="label"> 出厂编码</template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <el-input class="input" v-model="zcInfo.exFactoryCode" placeholder="请输入"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ class="input"
|
|
|
|
|
+ v-model="zcInfo.exFactoryCode"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
@@ -152,7 +164,11 @@
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 耐用年限</template>
|
|
<template slot="label"> 耐用年限</template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <el-input class="input" v-model="zcInfo.serviceLife" placeholder="请输入"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ class="input"
|
|
|
|
|
+ v-model="zcInfo.serviceLife"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
@@ -245,7 +261,10 @@
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 使用单位 </template>
|
|
<template slot="label"> 使用单位 </template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <DeptSelect v-model="zcInfo.postId" @changeGroup="auditorDeptClick" />
|
|
|
|
|
|
|
+ <DeptSelect
|
|
|
|
|
+ v-model="zcInfo.postId"
|
|
|
|
|
+ @changeGroup="auditorDeptClick"
|
|
|
|
|
+ />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
@@ -311,25 +330,42 @@
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 制造厂</template>
|
|
<template slot="label"> 制造厂</template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <el-input class="input" v-model="zcInfo.manufacturer" placeholder="请输入"> </el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ class="input"
|
|
|
|
|
+ v-model="zcInfo.manufacturer"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 品牌 </template>
|
|
<template slot="label"> 品牌 </template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <el-input v-model="zcInfo.brand" class="input" placeholder="请输入"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="zcInfo.brand"
|
|
|
|
|
+ class="input"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
|
|
|
|
+ <el-descriptions-item>
|
|
|
<template slot="label"> 颜色 </template>
|
|
<template slot="label"> 颜色 </template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <el-input class="input" v-model="zcInfo.color" placeholder="请输入"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ class="input"
|
|
|
|
|
+ v-model="zcInfo.color"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item :span="3">
|
|
<el-descriptions-item :span="3">
|
|
|
<template slot="label"> 设备用途 </template>
|
|
<template slot="label"> 设备用途 </template>
|
|
|
<el-form-item label-width="0">
|
|
<el-form-item label-width="0">
|
|
|
- <el-input v-model="zcInfo.purpose" class="input" placeholder="请输入"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="zcInfo.purpose"
|
|
|
|
|
+ class="input"
|
|
|
|
|
+ placeholder="请输入"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item :span="4">
|
|
<el-descriptions-item :span="4">
|
|
@@ -498,6 +534,9 @@ export default {
|
|
|
deep: true, //深度监听设置为 true
|
|
deep: true, //深度监听设置为 true
|
|
|
handler: function (newValue) {
|
|
handler: function (newValue) {
|
|
|
this.zcInfo = newValue;
|
|
this.zcInfo = newValue;
|
|
|
|
|
+ if (this.options.ownershipUserId.length == 0) {
|
|
|
|
|
+ this.getqsbm();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -519,7 +558,7 @@ export default {
|
|
|
if (this.zcInfo.isPublic > 0 && this.isLock) {
|
|
if (this.zcInfo.isPublic > 0 && this.isLock) {
|
|
|
this.zcInfo.chargePersonId = data.id;
|
|
this.zcInfo.chargePersonId = data.id;
|
|
|
}
|
|
}
|
|
|
- this.zcInfo.usePerson=data.name
|
|
|
|
|
|
|
+ this.zcInfo.usePerson = data.name;
|
|
|
this.$forceUpdate();
|
|
this.$forceUpdate();
|
|
|
},
|
|
},
|
|
|
personIdChange() {
|
|
personIdChange() {
|
|
@@ -564,11 +603,11 @@ export default {
|
|
|
this.options.repairUserId = data.list;
|
|
this.options.repairUserId = data.list;
|
|
|
},
|
|
},
|
|
|
// 使用岗位点击事件
|
|
// 使用岗位点击事件
|
|
|
- async auditorDeptClick(id,data) {
|
|
|
|
|
|
|
+ async auditorDeptClick(id, data) {
|
|
|
this.zcInfo.chargePersonId = '';
|
|
this.zcInfo.chargePersonId = '';
|
|
|
this.zcInfo.usePersonId = '';
|
|
this.zcInfo.usePersonId = '';
|
|
|
this.userList = [];
|
|
this.userList = [];
|
|
|
- this.postName=data.name
|
|
|
|
|
|
|
+ this.postName = data.name;
|
|
|
if (id) {
|
|
if (id) {
|
|
|
this.getStaffList(id);
|
|
this.getStaffList(id);
|
|
|
}
|
|
}
|
|
@@ -681,16 +720,16 @@ export default {
|
|
|
margin-bottom: 0px;
|
|
margin-bottom: 0px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-:deep(.el-input__inner){
|
|
|
|
|
- border:none
|
|
|
|
|
|
|
+:deep(.el-input__inner) {
|
|
|
|
|
+ border: none;
|
|
|
}
|
|
}
|
|
|
-:deep(.el-textarea__inner){
|
|
|
|
|
- border:none
|
|
|
|
|
|
|
+:deep(.el-textarea__inner) {
|
|
|
|
|
+ border: none;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-:deep(.el-descriptions--medium.is-bordered){
|
|
|
|
|
- .el-descriptions-item__cell{
|
|
|
|
|
- padding: 3px 10px;
|
|
|
|
|
|
|
+:deep(.el-descriptions--medium.is-bordered) {
|
|
|
|
|
+ .el-descriptions-item__cell {
|
|
|
|
|
+ padding: 3px 10px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|