测试问题修改2
This commit is contained in:
parent
133d1ef461
commit
3a292acd79
|
|
@ -334,8 +334,8 @@ export default {
|
|||
taskStatus: this.queryParams.taskStatus,
|
||||
};
|
||||
getPartLeaseInfoListApi(params).then((response) => {
|
||||
this.tableList = response.rows;
|
||||
this.total = response.total;
|
||||
this.tableList = response.data.rows;
|
||||
this.total = response.data.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1253,13 +1253,13 @@ export default {
|
|||
this.$message.error("配件数量不能为0!");
|
||||
return;
|
||||
}
|
||||
const isCost = this.backTableList.some(
|
||||
(item) => item.backCost == 0 || item.backCost == undefined
|
||||
);
|
||||
if (isCost) {
|
||||
this.$message.error("维修金额不能为0!");
|
||||
return;
|
||||
}
|
||||
// const isCost = this.backTableList.some(
|
||||
// (item) => item.backCost == 0 || item.backCost == undefined
|
||||
// );
|
||||
// if (isCost) {
|
||||
// this.$message.error("维修金额不能为0!");
|
||||
// return;
|
||||
// }
|
||||
this.backTableList.forEach(item=>{
|
||||
item.supplierId = this.backForm.supplierId
|
||||
item.remark = this.backForm.remark
|
||||
|
|
|
|||
Loading…
Reference in New Issue