测试问题修改2

This commit is contained in:
zzyuan 2025-01-24 16:26:10 +08:00
parent 133d1ef461
commit 3a292acd79
2 changed files with 9 additions and 9 deletions

View File

@ -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;
});
},

View File

@ -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