备件盘点显示优化
This commit is contained in:
parent
3acf727538
commit
a9884f06b1
@ -344,8 +344,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-divider v-if="form.status == 1 || form.reason">待核实备件信息</el-divider>
|
<el-divider v-if="inconformityInventoryList.length > 0">待核实备件信息</el-divider>
|
||||||
<el-row v-if="isView && form.reason">
|
<el-row v-if="inconformityInventoryList.length > 0">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-table :data="inconformityInventoryList">
|
<el-table :data="inconformityInventoryList">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@ -614,6 +614,7 @@ export default {
|
|||||||
createTime: null,
|
createTime: null,
|
||||||
verifyTime: null,
|
verifyTime: null,
|
||||||
};
|
};
|
||||||
|
this.inconformityInventoryList = [];
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
@ -663,7 +664,7 @@ export default {
|
|||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "查看备件盘点单";
|
this.title = "查看备件盘点单";
|
||||||
this.isView = true;
|
this.isView = true;
|
||||||
if (this.form.reason && this.form.status == 2) {
|
if (this.form.status > 0) {
|
||||||
// 查询不一致备件数据
|
// 查询不一致备件数据
|
||||||
getInconformityInventory(id).then((response) => {
|
getInconformityInventory(id).then((response) => {
|
||||||
this.inconformityInventoryList = response.data;
|
this.inconformityInventoryList = response.data;
|
||||||
|
@ -357,8 +357,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-divider v-if="form.status == 1 || form.reason">待核实备件信息</el-divider>
|
<el-divider v-if="inconformityInventoryList.length > 0">待核实备件信息</el-divider>
|
||||||
<el-row v-if="form.status == 1 || form.reason">
|
<el-row v-if="inconformityInventoryList.length > 0">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-table
|
<el-table
|
||||||
:data="inconformityInventoryList"
|
:data="inconformityInventoryList"
|
||||||
@ -621,6 +621,7 @@ export default {
|
|||||||
createTime: null,
|
createTime: null,
|
||||||
verifyTime: null,
|
verifyTime: null,
|
||||||
};
|
};
|
||||||
|
this.inconformityInventoryList = [];
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
|
Loading…
Reference in New Issue
Block a user