修改
This commit is contained in:
parent
245f1a3f37
commit
9df3d5f5b7
@ -434,6 +434,7 @@
|
|||||||
this.updata.totalPrice = Number((this.updata.originalTotalPrice -
|
this.updata.totalPrice = Number((this.updata.originalTotalPrice -
|
||||||
this.updata.discountPrice).toFixed(2))
|
this.updata.discountPrice).toFixed(2))
|
||||||
}
|
}
|
||||||
|
if (this.updata.totalPrice > 0) {
|
||||||
addStationGoodsOrder(this.updata).then(res => {
|
addStationGoodsOrder(this.updata).then(res => {
|
||||||
if (res.code == 500) {
|
if (res.code == 500) {
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
@ -464,7 +465,8 @@
|
|||||||
that.goodsDetailsinfo(
|
that.goodsDetailsinfo(
|
||||||
that
|
that
|
||||||
.goodsInfoId,
|
.goodsInfoId,
|
||||||
that.updata
|
that
|
||||||
|
.updata
|
||||||
.patientId
|
.patientId
|
||||||
)
|
)
|
||||||
that.$refs
|
that.$refs
|
||||||
@ -480,7 +482,8 @@
|
|||||||
that.goodsDetailsinfo(
|
that.goodsDetailsinfo(
|
||||||
that
|
that
|
||||||
.goodsInfoId,
|
.goodsInfoId,
|
||||||
that.updata
|
that
|
||||||
|
.updata
|
||||||
.patientId
|
.patientId
|
||||||
)
|
)
|
||||||
that.$refs
|
that.$refs
|
||||||
@ -506,6 +509,12 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
that.$refs.uToast.show({
|
||||||
|
title: '订单金额为0,无法下单',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user