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

16
pages/inventory/goodsList1.vue

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

Loading…
Cancel
Save