|
@@ -315,7 +315,7 @@
|
|
|
<el-dialog :visible.sync="openRecord" width="1500px" append-to-body>
|
|
<el-dialog :visible.sync="openRecord" width="1500px" append-to-body>
|
|
|
<div slot="title" class="dialog-title">
|
|
<div slot="title" class="dialog-title">
|
|
|
<i></i>
|
|
<i></i>
|
|
|
- <span class="title">巡检物资柜检查记录</span>
|
|
|
|
|
|
|
+ <span class="title">物资柜检查记录</span>
|
|
|
</div>
|
|
</div>
|
|
|
<el-table v-loading="loading" :data="RecordList">
|
|
<el-table v-loading="loading" :data="RecordList">
|
|
|
<el-table-column label="计划名称" align="center" prop="planName" width="200">
|
|
<el-table-column label="计划名称" align="center" prop="planName" width="200">
|
|
@@ -553,6 +553,8 @@ export default {
|
|
|
getIsMaterialsCabinets(data).then((response) => {
|
|
getIsMaterialsCabinets(data).then((response) => {
|
|
|
console.log(response, 'wgahah')
|
|
console.log(response, 'wgahah')
|
|
|
if (response.data.records) {
|
|
if (response.data.records) {
|
|
|
|
|
+ this.form.cabinetIds = response.data.records.map((item) => item.cabinetId);
|
|
|
|
|
+ console.log(this.form.cabinetIds,'this.form.cabinetIds')
|
|
|
this.cabinets = response.data.records.map((item) => ({
|
|
this.cabinets = response.data.records.map((item) => ({
|
|
|
value: item.cabinetId,
|
|
value: item.cabinetId,
|
|
|
label: item.cabinetName
|
|
label: item.cabinetName
|