| 
						
						
						
					 | 
					 | 
					@ -1,7 +1,7 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<template>
 | 
					 | 
					 | 
					 | 
					<template>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <div>
 | 
					 | 
					 | 
					 | 
					    <div>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <el-card class="el-card" style="margin-top: -15px">
 | 
					 | 
					 | 
					 | 
					        <el-card class="el-card" style="margin-top: -15px">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <el-form :inline="true" :model="listQuery" style="display: flex;" size="mini">
 | 
					 | 
					 | 
					 | 
					            <el-form :inline="true" :model="filterQuery" style="display: flex;" size="mini">
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                <el-row>
 | 
					 | 
					 | 
					 | 
					                <el-row>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    <el-form-item class="query-form-item">
 | 
					 | 
					 | 
					 | 
					                    <el-form-item class="query-form-item">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        <el-input
 | 
					 | 
					 | 
					 | 
					                        <el-input
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -52,13 +52,6 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                <el-table-column label="申购仓库" prop="invName"></el-table-column>
 | 
					 | 
					 | 
					 | 
					                <el-table-column label="申购仓库" prop="invName"></el-table-column>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                <el-table-column label="申购分库" prop="subInvName"></el-table-column>
 | 
					 | 
					 | 
					 | 
					                <el-table-column label="申购分库" prop="subInvName"></el-table-column>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                <el-table-column label="申购说明" prop="remark"></el-table-column>
 | 
					 | 
					 | 
					 | 
					                <el-table-column label="申购说明" prop="remark"></el-table-column>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                <el-table-column label="状态" prop="status">
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    <template slot-scope="scope">
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        <el-tag :type="(scope.row.status) | statusFilterType">
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            {{ statusMap[scope.row.status] }}
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        </el-tag>
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    </template>
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                </el-table-column>
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </el-table>
 | 
					 | 
					 | 
					 | 
					            </el-table>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <el-pagination
 | 
					 | 
					 | 
					 | 
					            <el-pagination
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                :page-size="filterQuery.limit"
 | 
					 | 
					 | 
					 | 
					                :page-size="filterQuery.limit"
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -86,6 +79,8 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<script>
 | 
					 | 
					 | 
					 | 
					<script>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import pureApplyDetail from "./pureApplyDetailDialog";
 | 
					 | 
					 | 
					 | 
					import pureApplyDetail from "./pureApplyDetailDialog";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import {delApply, auditOrder, listApplyDetail, auditListApply} from "@/api/purchase/purApply";
 | 
					 | 
					 | 
					 | 
					import {delApply, auditOrder, listApplyDetail, auditListApply} from "@/api/purchase/purApply";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import {selectApply} from "@/api/purchase/purPlan";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import {getStockOrderDetailInstrumentById} from "@/api/warehouse/stockOrder";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					export default {
 | 
					 | 
					 | 
					 | 
					export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    name: "selectApplyListDialog",
 | 
					 | 
					 | 
					 | 
					    name: "selectApplyListDialog",
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -107,24 +102,17 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                billAction: null,
 | 
					 | 
					 | 
					 | 
					                billAction: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                billNo: "",
 | 
					 | 
					 | 
					 | 
					                billNo: "",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                originType: null,
 | 
					 | 
					 | 
					 | 
					                originType: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                thirdSysFk: "",
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                page: 1,
 | 
					 | 
					 | 
					 | 
					                page: 1,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                limit: 10,
 | 
					 | 
					 | 
					 | 
					                limit: 10,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                corpName: null,
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                type: 1,
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                editStatus: 1,
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            },
 | 
					 | 
					 | 
					 | 
					            },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            formName: null,
 | 
					 | 
					 | 
					 | 
					            formName: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            formMap: {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                add: "新增申购单据",
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                update: "申购单据详情",
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            },
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            statusMap: {
 | 
					 | 
					 | 
					 | 
					            statusMap: {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                1: "草稿",
 | 
					 | 
					 | 
					 | 
					                1: "草稿",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                2: "未审核",
 | 
					 | 
					 | 
					 | 
					                2: "未审核",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                3: "已审核",
 | 
					 | 
					 | 
					 | 
					                3: "已审核",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                4: "已拒绝"
 | 
					 | 
					 | 
					 | 
					                4: "已拒绝"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            },
 | 
					 | 
					 | 
					 | 
					            },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            ids: [],
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            idQuery: {},
 | 
					 | 
					 | 
					 | 
					            idQuery: {},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            editType: 2,
 | 
					 | 
					 | 
					 | 
					            editType: 2,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            total: 0,
 | 
					 | 
					 | 
					 | 
					            total: 0,
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -135,6 +123,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            list: [],
 | 
					 | 
					 | 
					 | 
					            list: [],
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            detailList: [],
 | 
					 | 
					 | 
					 | 
					            detailList: [],
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            loading: false,
 | 
					 | 
					 | 
					 | 
					            loading: false,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            currentRow: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            actDateRange: [],
 | 
					 | 
					 | 
					 | 
					            actDateRange: [],
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            newSpDistributionVisible: false,
 | 
					 | 
					 | 
					 | 
					            newSpDistributionVisible: false,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            pickerOptions: {
 | 
					 | 
					 | 
					 | 
					            pickerOptions: {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -224,12 +213,12 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                });
 | 
					 | 
					 | 
					 | 
					                });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					        },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        handleDetail(row) {
 | 
					 | 
					 | 
					 | 
					        handleDetail(row) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            this.currentRow = row;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            let query = {orderIdFk: row.id};
 | 
					 | 
					 | 
					 | 
					            let query = {orderIdFk: row.id};
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.loading = true;
 | 
					 | 
					 | 
					 | 
					            this.loading = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            listApplyDetail(query) //查找该单号下的所有条码
 | 
					 | 
					 | 
					 | 
					            listApplyDetail(query) //查找该单号下的所有条码
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .then((response) => {
 | 
					 | 
					 | 
					 | 
					                .then((response) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.detailList = response.data.list || [];
 | 
					 | 
					 | 
					 | 
					                    this.detailList = response.data.list || [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.loading = false;
 | 
					 | 
					 | 
					 | 
					                    this.loading = false;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                })
 | 
					 | 
					 | 
					 | 
					                })
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -288,24 +277,55 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.getList();
 | 
					 | 
					 | 
					 | 
					            this.getList();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					        },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        closeDialog() {
 | 
					 | 
					 | 
					 | 
					        combine() {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.newSpDistributionVisible = false;
 | 
					 | 
					 | 
					 | 
					            if (this.$isBlank(this.currentRow.id)) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.getList();
 | 
					 | 
					 | 
					 | 
					                return;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.detailList = [];
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					            if (this.ids.length > 0) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					                for (var i = 0; i < this.ids.length; i++) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					                    for (let j = 0; j < this.detailList.length; j++) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        newDistributionForm(index, row) {
 | 
					 | 
					 | 
					 | 
					                        if (this.ids[i] == this.detailList[j].productId) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.idQuery.id = '';
 | 
					 | 
					 | 
					 | 
					                            this.$message.error("该申购单已有产品被选入!");
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (this.$isNotBlank(row) && this.$isNotBlank(row.id)) {
 | 
					 | 
					 | 
					 | 
					                            return;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.idQuery.id = row.id;
 | 
					 | 
					 | 
					 | 
					                        }
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.idQuery.formData = row;
 | 
					 | 
					 | 
					 | 
					                    }
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.formName = "update";
 | 
					 | 
					 | 
					 | 
					                }
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            let productDatas = [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            for (let j = 0; j < this.detailList.length; j++) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                let data = {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    relId: this.detailList[j].productId,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    supId: this.detailList[j].supId,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    zczbhhzbapzbh: this.detailList[j].zczbhhzbapzbh,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    count:this.detailList[j].count,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                productDatas.push(data);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            this.loading = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            let tQuery = {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                datas: productDatas,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                stockOrderLists: this.data.stockOrderLists,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                purType: 1,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            };
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            getStockOrderDetailInstrumentById(tQuery).then((response) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                this.loading = false;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                if (response.code === 20000) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    this.closeDialog(response.data);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                } else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    if (response.code == 601) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        this.$alert(response.message, "提示", {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                            confirmButtonText: "确定",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    } else
 | 
					 | 
					 | 
					 | 
					                    } else
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.formName = "add";
 | 
					 | 
					 | 
					 | 
					                        this.$message.error(response.message);
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.newSpDistributionVisible = true;
 | 
					 | 
					 | 
					 | 
					                }
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }).catch(() => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                this.loading = false;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					        },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    created() {
 | 
					 | 
					 | 
					 | 
					    created() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        let end = new Date();
 | 
					 | 
					 | 
					 | 
					        let end = new Date();
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -313,6 +333,14 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
 | 
					 | 
					 | 
					 | 
					        start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.actDateRange = [start, end];
 | 
					 | 
					 | 
					 | 
					        this.actDateRange = [start, end];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.getList();
 | 
					 | 
					 | 
					 | 
					        this.getList();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        this.ids = [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (this.data.stockOrderLists.length > 0) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            for (var i = 0; i < this.data.stockOrderLists.length; i++) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                this.ids.push(this.data.stockOrderLists[i].productId);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    components: {
 | 
					 | 
					 | 
					 | 
					    components: {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        pureApplyDetail
 | 
					 | 
					 | 
					 | 
					        pureApplyDetail
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |