소스 검색

店内调出 成本价打印 bug修复

chenrui 3 년 전
부모
커밋
4dfce7c983
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/allocationManagement/storeTransferOut/detail.vue
  2. 1 0
      src/views/allocationManagement/storeTransferOut/edit.vue

+ 2 - 0
src/views/allocationManagement/storeTransferOut/detail.vue

@@ -156,6 +156,7 @@ export default {
   },
   mounted () {
     if (!this.$store.state.app.isNewTab || this.outBizSn) { // 页签刷新 或 为弹框时调用
+      this.printCostChecked = true
       this.$refs.table.refresh(true)
       this.getDetail()
       this.getDetailCount()
@@ -164,6 +165,7 @@ export default {
   activated () {
     // 如果是新页签打开或者进入新的子页(例:存在列表第2条数据编辑页页签时再打开第4条数据的编辑页),则重置当前页面
     if (this.$store.state.app.isNewTab || !this.$store.state.app.isNewSubTab) {
+      this.printCostChecked = true
       this.$refs.table.refresh(true)
       this.getDetail()
       this.getDetailCount()

+ 1 - 0
src/views/allocationManagement/storeTransferOut/edit.vue

@@ -478,6 +478,7 @@ export default {
       )
     },
     pageInit () {
+      this.printCostChecked = true
       this.getDetail()
       this.getWarehouseList()
       this.getProductBrand()