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