|  | @@ -95,7 +95,7 @@
 | 
											
												
													
														|  |            bordered>
 |  |            bordered>
 | 
											
												
													
														|  |            <!-- 单号 -->
 |  |            <!-- 单号 -->
 | 
											
												
													
														|  |            <template slot="allocateNo" slot-scope="text, record">
 |  |            <template slot="allocateNo" slot-scope="text, record">
 | 
											
												
													
														|  | -            <span v-if="$hasPermissions('M_tfoPrint_detail')" class="link-bule" @click="handleDetail(record)">{{ record.allocateNo }}</span>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <span v-if="$hasPermissions('M_transferOut_detail')" class="link-bule" @click="handleDetail(record)">{{ record.allocateNo }}</span>
 | 
											
												
													
														|  |              <span v-else>{{ record.allocateNo }}</span>
 |  |              <span v-else>{{ record.allocateNo }}</span>
 | 
											
												
													
														|  |            </template>
 |  |            </template>
 | 
											
												
													
														|  |            <!-- 打印状态 -->
 |  |            <!-- 打印状态 -->
 | 
											
										
											
												
													
														|  | @@ -152,6 +152,16 @@
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |      </commonModal>
 |  |      </commonModal>
 | 
											
												
													
														|  | 
 |  | +    <!-- 查看详情 -->
 | 
											
												
													
														|  | 
 |  | +    <commonModal
 | 
											
												
													
														|  | 
 |  | +      modalTit="调拨单详情"
 | 
											
												
													
														|  | 
 |  | +      bodyPadding="10px"
 | 
											
												
													
														|  | 
 |  | +      width="70%"
 | 
											
												
													
														|  | 
 |  | +      :showFooter="false"
 | 
											
												
													
														|  | 
 |  | +      :openModal="showDetailModal"
 | 
											
												
													
														|  | 
 |  | +      @cancel="cancelDetail">
 | 
											
												
													
														|  | 
 |  | +      <allocationDetailModal v-if="showDetailModal" :outBizSn="bizSn" />
 | 
											
												
													
														|  | 
 |  | +    </commonModal>
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -165,22 +175,25 @@ import Area from '@/views/common/area.js'
 | 
											
												
													
														|  |  import rangeDate from '@/views/common/rangeDate.vue'
 |  |  import rangeDate from '@/views/common/rangeDate.vue'
 | 
											
												
													
														|  |  import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 |  |  import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
 | 
											
												
													
														|  |  import printModal from '@/views/allocationManagement/transferOut/printModal.vue'
 |  |  import printModal from '@/views/allocationManagement/transferOut/printModal.vue'
 | 
											
												
													
														|  | -import recordModal from './recordModal.vue'
 |  | 
 | 
											
												
													
														|  |  import commonModal from '@/views/common/commonModal.vue'
 |  |  import commonModal from '@/views/common/commonModal.vue'
 | 
											
												
													
														|  | 
 |  | +import allocationDetailModal from '@/views/allocationManagement/transferOut/detail.vue'
 | 
											
												
													
														|  | 
 |  | +import recordModal from './recordModal.vue'
 | 
											
												
													
														|  |  import { allocateBillList, allocateBillDetailPrint, updatePrintState } from '@/api/allocateBill'
 |  |  import { allocateBillList, allocateBillDetailPrint, updatePrintState } from '@/api/allocateBill'
 | 
											
												
													
														|  |  import { printFun } from '@/libs/JGPrint.js'
 |  |  import { printFun } from '@/libs/JGPrint.js'
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    name: 'TransfersPrintList',
 |  |    name: 'TransfersPrintList',
 | 
											
												
													
														|  |    mixins: [commonMixin],
 |  |    mixins: [commonMixin],
 | 
											
												
													
														|  | -  components: { STable, VSelect, rangeDate, dealerSubareaScopeList, printModal, commonModal, recordModal, subarea, Area },
 |  | 
 | 
											
												
													
														|  | 
 |  | +  components: { STable, VSelect, rangeDate, dealerSubareaScopeList, printModal, commonModal, recordModal, subarea, Area, commonModal, allocationDetailModal },
 | 
											
												
													
														|  |    data () {
 |  |    data () {
 | 
											
												
													
														|  |      return {
 |  |      return {
 | 
											
												
													
														|  |        spinning: false,
 |  |        spinning: false,
 | 
											
												
													
														|  |        advanced: true, // 高级搜索 展开/关闭
 |  |        advanced: true, // 高级搜索 展开/关闭
 | 
											
												
													
														|  |        tableHeight: 0,
 |  |        tableHeight: 0,
 | 
											
												
													
														|  |        itemData: null,
 |  |        itemData: null,
 | 
											
												
													
														|  | 
 |  | +      bizSn: '',
 | 
											
												
													
														|  |        showRecordModal: false,
 |  |        showRecordModal: false,
 | 
											
												
													
														|  |        showPrintModal: false,
 |  |        showPrintModal: false,
 | 
											
												
													
														|  | 
 |  | +      showDetailModal: false,
 | 
											
												
													
														|  |        time: [
 |  |        time: [
 | 
											
												
													
														|  |          moment(getDate.getThreeMonthDays().starttime, 'YYYY-MM-DD'),
 |  |          moment(getDate.getThreeMonthDays().starttime, 'YYYY-MM-DD'),
 | 
											
												
													
														|  |          moment(getDate.getCurrMonthDays().endtime, 'YYYY-MM-DD')
 |  |          moment(getDate.getCurrMonthDays().endtime, 'YYYY-MM-DD')
 | 
											
										
											
												
													
														|  | @@ -336,10 +349,14 @@ export default {
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      //  详情
 |  |      //  详情
 | 
											
												
													
														|  |      handleDetail (row) {
 |  |      handleDetail (row) {
 | 
											
												
													
														|  | -      if (this.$hasPermissions('M_tfoPrint_detail')) {
 |  | 
 | 
											
												
													
														|  | -        this.$store.state.app.curActionPermission = 'M_tfoPrint_detail'
 |  | 
 | 
											
												
													
														|  | -        this.$router.push({ path: `/allocationManagement/transferOut/detail/${row.allocateSn}` })
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.$store.state.app.curActionPermission = 'M_transferOut_detail'
 | 
											
												
													
														|  | 
 |  | +      this.bizSn = row.allocateSn
 | 
											
												
													
														|  | 
 |  | +      this.showDetailModal = true
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +    cancelDetail () {
 | 
											
												
													
														|  | 
 |  | +      this.$store.state.app.curActionPermission = ''
 | 
											
												
													
														|  | 
 |  | +      this.showDetailModal = false
 | 
											
												
													
														|  | 
 |  | +      this.bizSn = null
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      pageInit () {
 |  |      pageInit () {
 | 
											
												
													
														|  |        const _this = this
 |  |        const _this = this
 |