diff --git a/pages/index/customAndSupplierProductDetail.vue b/pages/index/customAndSupplierProductDetail.vue index 85fd4e7..962c1ba 100644 --- a/pages/index/customAndSupplierProductDetail.vue +++ b/pages/index/customAndSupplierProductDetail.vue @@ -494,7 +494,7 @@ - {{item.dealingsType == 0 ?"销售开单" :item.dealingsType == 1 ?"退货" :item.dealingsType == 2 ?"回款" :item.dealingsType == 3 && item.amount< 0?"初始余额" :item.dealingsType == 3 && item.amount>= 0?"初始欠款" :item.dealingsType == 4 ?"充值金额" :item.dealingsType == 5 ?"追加欠款" :item.dealingsType == 6 ?"撤销订单" :item.dealingsType == 7 ?"采购订单" :""}} + {{item.dealingsType == 0 ?"销售开单" :item.dealingsType == 1 ?"退货" :item.dealingsType == 2 ?"回款" :item.dealingsType == 3 && item.amount< 0?"初始余额" :item.dealingsType == 3 && item.amount>= 0?"初始欠款" :item.dealingsType == 4 ?"充值金额" :item.dealingsType == 5 ?"追加欠款" :item.dealingsType == 6 ?"撤销订单" :item.dealingsType == 7 ?"采购订单" :item.dealingsType == 9 ?"采购退货":""}} - 拿货金额:{{item.shouldPay == null ?"0" :item.shouldPay}} + 退货金额:{{item.shouldPay == null ?"0" :item.shouldPay}} + 拿货金额:{{item.shouldPay == null ?"0" :item.shouldPay}} @@ -583,12 +584,12 @@ - {{item.dealingsType == 5?'追加欠款':item.dealingsType == 4?'充值金额':item.dealingsType == 6?'撤销欠款':'本单欠款'}} + {{item.dealingsType == 5?'追加欠款':item.dealingsType == 4?'充值金额':item.dealingsType == 6?'撤销欠款':item.dealingsType == 9?'本单退款':'本单欠款'}} {{item.amount == null ?"0" :item.dealingsType == 5?Math.abs(item.amount):item.amount}} - {{item.dealingsType == 4?'充值金额':item.dealingsType == 6?'撤销余额':'本单余额'}} + {{item.dealingsType == 4?'充值金额':item.dealingsType == 6?'撤销余额':item.dealingsType == 9?'本单退款':'本单余额'}} {{item.amount == null ?"0" :Math.abs(item.amount)}} {}) console.log('dataList',dataList) diff --git a/pages/inventory/goodsList1.vue b/pages/inventory/goodsList1.vue index 258c0a8..de29043 100644 --- a/pages/inventory/goodsList1.vue +++ b/pages/inventory/goodsList1.vue @@ -413,7 +413,7 @@ - + @@ -6854,8 +6854,9 @@ this.khName = { id: res.result.records[0].id, name: res.result.records[0].name, - noEarn: null + noEarn: res.result.records[0].noEarn } + this.zhiqianqiankuan = res.result.records[0].noEarn } else { this.khName = {} this.tui.toast(res.message) diff --git a/pages/inventory/inventoryDetail.vue b/pages/inventory/inventoryDetail.vue index 9bc5702..2f1b0fc 100644 --- a/pages/inventory/inventoryDetail.vue +++ b/pages/inventory/inventoryDetail.vue @@ -91,7 +91,7 @@ - + {{item.purchase.createTime}} @@ -107,9 +107,9 @@ 进货价 总价 - + {{item.purchase.supplierName}} - {{item.purchase.totalAmount}} + {{item.purchase.totalAmount}} {{type == 0?(item.purchaseDetails[0].purchasePrice==null?0:item.purchaseDetails[0].purchasePrice):0}} {{type == 0?item.purchaseDetails[0].zPrice:0}} @@ -639,6 +639,12 @@ delta: 1 }) }) + }, + goDetail(item){ + // uni.setStorageSync('noReload',true) + uni.navigateTo({ + url: '/package1/index/waitStorageDetail?id=' + item.purchase.id + }) }, onPrint1(opt) { let that = this diff --git a/pages/login/login.vue b/pages/login/login.vue index 66a759d..b5ed1bb 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -213,10 +213,11 @@ this.checkShop(res.result.shopList[0]) } } else { - this.getCaptchaImg() setTimeout(res=>{ this.tui.toast(res.message) - },1000) + },1000) + this.getCaptchaImg() + } }).catch((res) => {