|
|
@@ -1198,18 +1198,18 @@ export default {
|
|
|
return this.$message.error("明细数据未完成对账!");
|
|
|
}
|
|
|
}
|
|
|
- if (this.form.cashierStatus == 0) {
|
|
|
- return this.$message.error("请申请" + (this.form.dc == "D" ? "收费!" : "付费!"));
|
|
|
- }
|
|
|
+ // if (this.form.cashierStatus == 0) {
|
|
|
+ // return this.$message.error("请申请" + (this.form.dc == "D" ? "收费!" : "付费!"));
|
|
|
+ // }
|
|
|
getListAll({ srcId: this.form.id }).then(res => {
|
|
|
- if (res.data.data.length == 0) {
|
|
|
- return this.$message.error("请在指示维护费用");
|
|
|
- }
|
|
|
- for (let item of res.data.data) {
|
|
|
- if (item.status == 0) {
|
|
|
- return this.$message.error("请在指示维护" + (this.form.dc == "D" ? "未收款数据!" : "未支付数据!"));
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (res.data.data.length == 0) {
|
|
|
+ // return this.$message.error("请在指示维护费用");
|
|
|
+ // }
|
|
|
+ // for (let item of res.data.data) {
|
|
|
+ // if (item.status == 0) {
|
|
|
+ // return this.$message.error("请在指示维护" + (this.form.dc == "D" ? "未收款数据!" : "未支付数据!"));
|
|
|
+ // }
|
|
|
+ // }
|
|
|
if (
|
|
|
Number(this.form.amountDr) != Number(this.form.actualAmountDr) ||
|
|
|
Number(this.form.amountCr) != Number(this.form.actualAmountCr) ||
|