核销调整

This commit is contained in:
陈浩 2025-06-02 10:52:15 +08:00
parent 7b86bd334c
commit bb572330a2

View File

@ -188,10 +188,8 @@ export default {
save() { save() {
uni.scanCode({ uni.scanCode({
success: (res) => { success: (res) => {
console.log("==", res);
const par = res.result.split("|"); const par = res.result.split("|");
getGoodstake(par[0], par[1], { storeid: par[2] }).then((resfn) => { getGoodstake(par[0], par[1], { storeid: par[2] }).then((resfn) => {
console.log("resfn", resfn);
let title = resfn.data.code === 200 ? "核销成功" : "核销失败"; let title = resfn.data.code === 200 ? "核销成功" : "核销失败";
uni.showModal({ uni.showModal({
title: "提示", title: "提示",
@ -199,8 +197,6 @@ export default {
showCancel: false, showCancel: false,
confirmText: "确定", confirmText: "确定",
}); });
// }
}); });
}, },
}); });