Commit 5cc12f97e2ba42727c1dd72d3d77a8653f2f53b2

Authored by lxf
1 parent 3a84d329

fix: 货源管理

Showing 1 changed file with 9 additions and 7 deletions   Show diff stats
pages/order/change-fee.vue
... ... @@ -267,13 +267,15 @@ export default {
267 267 { ...this.arrivalPay, afterAmount: this.form.deliveryAmount === '' ? '0' : this.form.deliveryAmount },
268 268 { ...this.final, afterAmount: this.form.balancePaymentAmount === '' ? '0' : this.form.balancePaymentAmount },
269 269 ];
270   - uni.$u.api.freightOrder.adjustAmount({ feeList: params, code: this.item.code, paidAmount: this.form.paidAmount, freightAdjustRemark: this.form.freightAdjustRemark }).then(res => {
271   - if (res.success) {
272   - uni.showToast({ title: '操作成功', icon: 'none' });
273   - this.getOpenerEventChannel().emit('refreshData');
274   - setTimeout(() => uni.navigateBack(), 500);
275   - }
276   - });
  270 + uni.$u.api.freightOrder
  271 + .adjustAmount({ feeList: params, code: this.item.code, paidAmount: this.form.paidAmount, freightAdjustRemark: this.form.freightAdjustRemark, goodsWeight: this.form.goodsWeight })
  272 + .then(res => {
  273 + if (res.success) {
  274 + uni.showToast({ title: '操作成功', icon: 'none' });
  275 + this.getOpenerEventChannel().emit('refreshData');
  276 + setTimeout(() => uni.navigateBack(), 500);
  277 + }
  278 + });
277 279 },
278 280 },
279 281 };
... ...