Browse Source

蓝牙打印机

master
wangfukang 3 years ago
parent
commit
d286b496e6
  1. 9
      pages/index/orderDetail.vue
  2. 16
      pages/inventory/goodsList1.vue

9
pages/index/orderDetail.vue

@ -362,11 +362,10 @@
}).catch(res => {}); }).catch(res => {});
}else{ }else{
this.sales.alreadyEarn = (this.sales.alreadyEarn * 1) + (this.newEarn * 1); this.sales.alreadyEarn = (this.sales.alreadyEarn * 1) + (this.newEarn * 1);
this.tui.request('/app/sale/edit','post', { this.tui.request('/app/sale/editPayPrice','post', {
sale: this.sales, id:this.sales.id,
customer: this.order, price:e
saleDetailDTOList: this.list },false,true).then(res => {
},false,false).then(res => {
uni.showToast({ uni.showToast({
title: res.message, title: res.message,
icon: 'none' icon: 'none'

16
pages/inventory/goodsList1.vue

@ -1017,14 +1017,10 @@
//清空全部数据 //清空全部数据
clearAll(){ clearAll(){
let that = this; let that = this;
// window.location.reload() uni.showModal({
// 页面重载 title: "提示",
// const pages = getCurrentPages() content: "确定清空全部数据吗?",
// const curPage = pages[pages.length - 1] success: function(res) {
// uni.showModal({
// title: "提示",
// content: "确定清空全部数据吗?",
// success: function(res) {
that.carList.clear() that.carList.clear()
@ -1043,8 +1039,8 @@
that.noPay = '' that.noPay = ''
that.otherExpense = '' that.otherExpense = ''
that.totalAmount = '' that.totalAmount = ''
// } }
// }) })
} }
} }
} }

Loading…
Cancel
Save