|
@@ -269,7 +269,6 @@
|
|
|
async onSubmit(ref) {
|
|
|
const that = this;
|
|
|
let status = that.status;
|
|
|
- let money = that.moneyInfo.payTotal;
|
|
|
that.$refs[ref].validate().then(async params => {
|
|
|
if (status == '3') {
|
|
|
that.Receip(params)
|
|
@@ -284,7 +283,8 @@
|
|
|
const that = this;
|
|
|
e.file = that.icon;
|
|
|
e.order_detail = that.id;
|
|
|
- if (e.type != '2') {
|
|
|
+ let money = that.moneyInfo.payTotal;
|
|
|
+ if (e.type != '3') {
|
|
|
if (e.money) {
|
|
|
if (parseFloat(e.money) > parseFloat(money)) {
|
|
|
uni.showToast({
|