|
@@ -370,7 +370,6 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
confirmFreight(flag, val) {
|
|
confirmFreight(flag, val) {
|
|
- debugger
|
|
|
|
if (flag == 1) {
|
|
if (flag == 1) {
|
|
val.money = parseInt(this.money);
|
|
val.money = parseInt(this.money);
|
|
}
|
|
}
|
|
@@ -379,7 +378,6 @@
|
|
val.flag = flag
|
|
val.flag = flag
|
|
this.$api.doRequest('post', 'freightReceivingDispatching/api/paymentAndDeductionfreight', val).then(
|
|
this.$api.doRequest('post', 'freightReceivingDispatching/api/paymentAndDeductionfreight', val).then(
|
|
res => {
|
|
res => {
|
|
- debugger
|
|
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
location.reload()
|
|
location.reload()
|
|
}
|
|
}
|
|
@@ -389,7 +387,6 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
inputWatch(e) {
|
|
inputWatch(e) {
|
|
- debugger
|
|
|
|
let _val = this.checkVal(e, "freight");
|
|
let _val = this.checkVal(e, "freight");
|
|
if (_val) {
|
|
if (_val) {
|
|
this.isShowFreightTip = true
|
|
this.isShowFreightTip = true
|
|
@@ -426,7 +423,6 @@
|
|
},
|
|
},
|
|
// 扣运费
|
|
// 扣运费
|
|
freightDeduction(item) {
|
|
freightDeduction(item) {
|
|
- debugger
|
|
|
|
this.freightAlert = true;
|
|
this.freightAlert = true;
|
|
this.freightDeductionAmount = 0
|
|
this.freightDeductionAmount = 0
|
|
// this.cleanVal(item,"freightDeductionAmount")
|
|
// this.cleanVal(item,"freightDeductionAmount")
|
|
@@ -486,12 +482,10 @@
|
|
this.paymentAlert = false;
|
|
this.paymentAlert = false;
|
|
},
|
|
},
|
|
confirmeductPayment(val) {
|
|
confirmeductPayment(val) {
|
|
- debugger
|
|
|
|
console.log(val)
|
|
console.log(val)
|
|
val.goodsDeductionAmount = parseInt(this.ductPayment);
|
|
val.goodsDeductionAmount = parseInt(this.ductPayment);
|
|
this.$api.doRequest('post', 'freightReceivingDispatching/api/PaymentDeduction', val).then(
|
|
this.$api.doRequest('post', 'freightReceivingDispatching/api/PaymentDeduction', val).then(
|
|
res => {
|
|
res => {
|
|
- debugger
|
|
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: "扣款成功!",
|
|
title: "扣款成功!",
|