界面配置引起的单据删除,编辑等问题

20231126-yw
anthonywj 1 year ago
parent a223cc521d
commit 05ad40a7d8

@ -1389,7 +1389,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(row); _this.deleteOrders(row.billNo);
}) })
.catch(() => { .catch(() => {
}); });

@ -1721,7 +1721,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(row); _this.deleteOrders(row.billNo);
}) })
.catch(() => { .catch(() => {
}); });

@ -1422,7 +1422,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(row); _this.deleteOrders(row.billNo);
}) })
.catch(() => { .catch(() => {
}); });

@ -1322,7 +1322,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(row); _this.deleteOrders(row.billNo);
}) })
.catch(() => { .catch(() => {
}); });

@ -635,7 +635,7 @@ export default {
}, },
deleteOrders(data) { deleteOrders(data) {
this.loading = true; this.loading = true;
this.deleteData.billNo = data.billNo; this.deleteData.billNo = data;
deleteByOrderId(this.deleteData) deleteByOrderId(this.deleteData)
.then((response) => { .then((response) => {
@ -664,7 +664,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(rowId); _this.deleteOrders(rowId.billNo);
}) })
.catch(() => { .catch(() => {
}); });

@ -603,7 +603,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(rowId); _this.deleteOrders(rowId.billNo);
}) })
.catch(() => { .catch(() => {
}); });

@ -643,11 +643,12 @@ export default {
} }
_this.errView = 0; _this.errView = 0;
_this.idQuery = {}; _this.idQuery = {};
if (row != null && row.status === 4) { if (row != null && row.status === 4) {
_this.errView = 1; _this.errView = 1;
_this.idQuery = row; _this.idQuery = row;
} }
if(row!=null)
_this.idQuery = row;
_this.addOrderVisible = true; _this.addOrderVisible = true;
}, },
closeDialog() { closeDialog() {
@ -718,7 +719,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(rowId); _this.deleteOrders(rowId.billNo);
}) })
.catch(() => { .catch(() => {
}); });

@ -659,7 +659,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(rowId); _this.deleteOrders(rowId.billNo);
}) })
.catch(() => { .catch(() => {
}); });

@ -788,7 +788,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(rowId); _this.deleteOrders(rowId.billNo);
_this.currentRow = null; _this.currentRow = null;
_this.bizDetailList = []; _this.bizDetailList = [];
}) })

@ -827,7 +827,7 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
_this.deleteOrders(rowId); _this.deleteOrders(rowId.billNo);
}) })
.catch(() => { .catch(() => {
}); });

Loading…
Cancel
Save