|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
<!-- 采购订单出库 -->
|
|
|
- <div style="display:flex">
|
|
|
- <el-card style="width:18%;margin-right:18px;border-radius:6px;">
|
|
|
+ <div style="display: flex">
|
|
|
+ <el-card style="width: 18%; margin-right: 18px; border-radius: 6px">
|
|
|
<el-tabs v-model="activeNametree" type="card" @tab-click="tabClick" stretch>
|
|
|
- <!-- <el-tab-pane label="按分类" name="grp"></el-tab-pane> -->
|
|
|
- <el-tab-pane label="按机构" name="org"></el-tab-pane>
|
|
|
+ <!-- <el-tab-pane label="按分类" name="grp"></el-tab-pane> -->
|
|
|
+ <el-tab-pane label="按机构" name="org"></el-tab-pane>
|
|
|
</el-tabs>
|
|
|
<el-tree
|
|
|
:data="data"
|
|
@@ -12,43 +12,46 @@
|
|
|
node-key="spdId"
|
|
|
@node-click="handleNodeClick"
|
|
|
default-expand-all="true"
|
|
|
- style="margin-top:10px;"
|
|
|
+ style="margin-top: 10px"
|
|
|
>
|
|
|
- <span class="custom-tree-node" slot-scope="{ node, data }">
|
|
|
- <div>{{node.label}}</div>
|
|
|
- <div class="redTit">{{data.wcknum}}</div>
|
|
|
+ <span class="custom-tree-node" slot-scope="{ node, data }">
|
|
|
+ <div>{{ node.label }}</div>
|
|
|
+ <div class="redTit">{{ data.wcknum }}</div>
|
|
|
</span>
|
|
|
</el-tree>
|
|
|
</el-card>
|
|
|
- <div class="right-common-box">
|
|
|
- <el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
- <el-tab-pane label="待出库" name="first">
|
|
|
- <el-form :model="listQuery" ref="queryForm" :inline="true">
|
|
|
- <el-form-item label="采购单号" prop="id">
|
|
|
- <el-input v-model="listQuery.id" placeholder="请输入采购单号"></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="客户名称" prop="branchName">
|
|
|
- <el-input v-model="listQuery.branchName" placeholder="请输入客户名称"></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="来源部门" prop="deptName">
|
|
|
+ <div class="right-common-box">
|
|
|
+ <el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
+ <el-tab-pane label="待出库" name="first">
|
|
|
+ <el-form :model="listQuery" ref="queryForm" :inline="true">
|
|
|
+ <el-form-item label="采购单号" prop="id">
|
|
|
+ <el-input v-model="listQuery.id" placeholder="请输入采购单号"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="客户名称" prop="branchName">
|
|
|
+ <el-input
|
|
|
+ v-model="listQuery.branchName"
|
|
|
+ placeholder="请输入客户名称"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="来源部门" prop="deptName">
|
|
|
<el-input
|
|
|
v-model="listQuery.deptName"
|
|
|
placeholder="请输入来源部门"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="采购时间" prop="docmkDate">
|
|
|
- <el-date-picker
|
|
|
- v-model="listQuery.docmkDate"
|
|
|
- type="daterange"
|
|
|
- range-separator="至"
|
|
|
- :editable="false"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- start-placeholder="开始时间"
|
|
|
- end-placeholder="结束时间"
|
|
|
- style="width: 230px"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="当前状态" prop="stas">
|
|
|
+ <el-form-item label="采购时间" prop="docmkDate">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="listQuery.docmkDate"
|
|
|
+ type="daterange"
|
|
|
+ range-separator="至"
|
|
|
+ :editable="false"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ start-placeholder="开始时间"
|
|
|
+ end-placeholder="结束时间"
|
|
|
+ style="width: 230px"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <!-- <el-form-item label="当前状态" prop="stas">
|
|
|
<el-select
|
|
|
v-model="listQuery.stas"
|
|
|
placeholder="请选择"
|
|
@@ -62,41 +65,43 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item>
|
|
|
- <el-button type="primary" @click="getOutboundData('search')">查询 </el-button>
|
|
|
- <el-button @click="reset">重置</el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- <el-table
|
|
|
- v-loading="listLoading"
|
|
|
- element-loading-text="加载中"
|
|
|
- :data="list"
|
|
|
- fit
|
|
|
- stripe
|
|
|
- border
|
|
|
- height="500px"
|
|
|
- >
|
|
|
- <template slot="empty">
|
|
|
- <img src="@/assets/nopage.png" alt />
|
|
|
- <p>暂无数据</p>
|
|
|
- </template>
|
|
|
- <el-table-column fixed type="index" label="序号" width="60" />
|
|
|
- <el-table-column label="订单编号" prop="id" />
|
|
|
- <el-table-column label="订单种类" prop="detlCnt" />
|
|
|
- <el-table-column label="订单总数量" prop="qtySum" />
|
|
|
- <el-table-column label="剩余出库量" prop="delvCnt"/>
|
|
|
- <el-table-column label="订单总金额" prop="purcAmt" width="100px"/>
|
|
|
- <el-table-column label="客户名称" prop="branchName" />
|
|
|
- <el-table-column label="来源部门" prop="deptName" />
|
|
|
- <el-table-column label="采购类型" prop="purcType" width="100">
|
|
|
- <template #default="{ row }">
|
|
|
- <span v-if="row.purcType=='2'">{{row.oprn}}</span>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button type="primary" @click="getOutboundData('search')"
|
|
|
+ >查询
|
|
|
+ </el-button>
|
|
|
+ <el-button @click="reset">重置</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <el-table
|
|
|
+ v-loading="listLoading"
|
|
|
+ element-loading-text="加载中"
|
|
|
+ :data="list"
|
|
|
+ fit
|
|
|
+ stripe
|
|
|
+ border
|
|
|
+ height="500px"
|
|
|
+ >
|
|
|
+ <template slot="empty">
|
|
|
+ <img src="@/assets/nopage.png" alt />
|
|
|
+ <p>暂无数据</p>
|
|
|
+ </template>
|
|
|
+ <el-table-column fixed type="index" label="序号" width="60" />
|
|
|
+ <el-table-column label="订单编号" prop="id" />
|
|
|
+ <el-table-column label="订单种类" prop="detlCnt" />
|
|
|
+ <el-table-column label="订单总数量" prop="qtySum" />
|
|
|
+ <el-table-column label="剩余出库量" prop="delvCnt" />
|
|
|
+ <el-table-column label="订单总金额" prop="purcAmt" width="100px" />
|
|
|
+ <el-table-column label="客户名称" prop="branchName" />
|
|
|
+ <el-table-column label="来源部门" prop="deptName" />
|
|
|
+ <el-table-column label="采购类型" prop="purcType" width="100">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <span v-if="row.purcType == '2'">{{ row.oprn }}</span>
|
|
|
<span v-if="row.purcType == '1'">普通采购</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="采购时间" prop="docmkDate" width="140" />
|
|
|
- <el-table-column label="状态" prop="stas">
|
|
|
- <!-- <template #default="{ row }">
|
|
|
+ <el-table-column label="采购时间" prop="docmkDate" width="140" />
|
|
|
+ <el-table-column label="状态" prop="stas">
|
|
|
+ <!-- <template #default="{ row }">
|
|
|
<span v-if="row.stas == 'A'">未受理</span>
|
|
|
<span v-if="row.stas == 'B'">未出库</span>
|
|
|
<span v-if="row.stas == 'R'">被驳回</span>
|
|
@@ -105,61 +110,61 @@
|
|
|
<span v-if="row.stas == 'Y'">已入库</span>
|
|
|
<span v-if="row.stas == 'P'">部分入库</span>
|
|
|
</template> -->
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="操作" width="100" fixed="right">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" @click="handleDetail(scope.row)">详情</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <!--分页-->
|
|
|
- <yl-pagination
|
|
|
- v-show="total > 0"
|
|
|
- :total="total"
|
|
|
- :page.sync="listQuery.current"
|
|
|
- :limit.sync="listQuery.size"
|
|
|
- @pagination="getOutboundData"
|
|
|
- />
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="已出库" name="second">
|
|
|
- <el-form :model="listQueryC" ref="queryFormC" :inline="true">
|
|
|
- <el-form-item label="出库单号" prop="delvOrdId">
|
|
|
- <el-input
|
|
|
- v-model="listQueryC.delvOrdId"
|
|
|
- placeholder="请输入出库单号"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="关联采购单" prop="purcOrdId">
|
|
|
- <el-input
|
|
|
- v-model="listQueryC.purcOrdId"
|
|
|
- placeholder="请输入关联采购单"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="客户名称" prop="branchName">
|
|
|
- <el-input
|
|
|
- v-model="listQueryC.branchName"
|
|
|
- placeholder="请输入客户名称"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="来源部门" prop="deptName">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="操作" width="100" fixed="right">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="text" @click="handleDetail(scope.row)">详情</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <!--分页-->
|
|
|
+ <yl-pagination
|
|
|
+ v-show="total > 0"
|
|
|
+ :total="total"
|
|
|
+ :page.sync="listQuery.current"
|
|
|
+ :limit.sync="listQuery.size"
|
|
|
+ @pagination="getOutboundData"
|
|
|
+ />
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="已出库" name="second">
|
|
|
+ <el-form :model="listQueryC" ref="queryFormC" :inline="true">
|
|
|
+ <el-form-item label="出库单号" prop="delvOrdId">
|
|
|
+ <el-input
|
|
|
+ v-model="listQueryC.delvOrdId"
|
|
|
+ placeholder="请输入出库单号"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="关联采购单" prop="purcOrdId">
|
|
|
+ <el-input
|
|
|
+ v-model="listQueryC.purcOrdId"
|
|
|
+ placeholder="请输入关联采购单"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="客户名称" prop="branchName">
|
|
|
+ <el-input
|
|
|
+ v-model="listQueryC.branchName"
|
|
|
+ placeholder="请输入客户名称"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="来源部门" prop="deptName">
|
|
|
<el-input
|
|
|
v-model="listQueryC.deptName"
|
|
|
placeholder="请输入来源部门"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="出库时间" prop="docmkDate">
|
|
|
- <el-date-picker
|
|
|
- v-model="listQueryC.docmkDate"
|
|
|
- type="daterange"
|
|
|
- range-separator="至"
|
|
|
- :editable="false"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- start-placeholder="开始时间"
|
|
|
- end-placeholder="结束时间"
|
|
|
- style="width: 230px"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <!-- <el-form-item label="当前状态" prop="purcOrdStas">
|
|
|
+ <el-form-item label="出库时间" prop="docmkDate">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="listQueryC.docmkDate"
|
|
|
+ type="daterange"
|
|
|
+ range-separator="至"
|
|
|
+ :editable="false"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ start-placeholder="开始时间"
|
|
|
+ end-placeholder="结束时间"
|
|
|
+ style="width: 230px"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <!-- <el-form-item label="当前状态" prop="purcOrdStas">
|
|
|
<el-select
|
|
|
v-model="listQuery.purcOrdStas"
|
|
|
placeholder="请选择"
|
|
@@ -173,70 +178,72 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item>
|
|
|
- <el-button type="primary" @click="getOutboundDataC('search')">查询 </el-button>
|
|
|
- <el-button @click="resetC">重置</el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- <el-table
|
|
|
- v-loading="listLoading"
|
|
|
- element-loading-text="加载中"
|
|
|
- :data="listC"
|
|
|
- fit
|
|
|
- stripe
|
|
|
- border
|
|
|
- height="500px"
|
|
|
- >
|
|
|
- <template slot="empty">
|
|
|
- <img src="@/assets/nopage.png" alt />
|
|
|
- <p>暂无数据</p>
|
|
|
- </template>
|
|
|
- <el-table-column fixed type="index" label="序号" width="60" />
|
|
|
- <el-table-column label="出库单号" prop="delvOrdId" />
|
|
|
- <el-table-column label="关联采购单" prop="purcOrdId" />
|
|
|
- <el-table-column label="采购品种数" prop="detlCnt"/>
|
|
|
- <el-table-column label="采购总数量" prop="qtySum"/>
|
|
|
- <el-table-column label="本次出库量" prop="bcckl" />
|
|
|
- <el-table-column label="客户验收数量" prop="shppCnt" width="100px"/>
|
|
|
- <el-table-column label="剩余出库量" prop="toDelvCnt" width="100px"/>
|
|
|
- <el-table-column label="客户名称" prop="branchName" />
|
|
|
- <el-table-column label="来源部门" prop="deptName" />
|
|
|
- <el-table-column label="采购类型" prop="oprn" width="100">
|
|
|
- <template #default="{ row }">
|
|
|
- <span v-if="row.oprn">{{row.oprn}}</span>
|
|
|
- <span v-if="row.oprn == ''">普通采购</span>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button type="primary" @click="getOutboundDataC('search')"
|
|
|
+ >查询
|
|
|
+ </el-button>
|
|
|
+ <el-button @click="resetC">重置</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <el-table
|
|
|
+ v-loading="listLoading"
|
|
|
+ element-loading-text="加载中"
|
|
|
+ :data="listC"
|
|
|
+ fit
|
|
|
+ stripe
|
|
|
+ border
|
|
|
+ height="500px"
|
|
|
+ >
|
|
|
+ <template slot="empty">
|
|
|
+ <img src="@/assets/nopage.png" alt />
|
|
|
+ <p>暂无数据</p>
|
|
|
+ </template>
|
|
|
+ <el-table-column fixed type="index" label="序号" width="60" />
|
|
|
+ <el-table-column label="出库单号" prop="delvOrdId" />
|
|
|
+ <el-table-column label="关联采购单" prop="purcOrdId" />
|
|
|
+ <el-table-column label="采购品种数" prop="detlCnt" />
|
|
|
+ <el-table-column label="采购总数量" prop="qtySum" />
|
|
|
+ <el-table-column label="本次出库量" prop="bcckl" />
|
|
|
+ <el-table-column label="客户验收数量" prop="shppCnt" width="100px" />
|
|
|
+ <el-table-column label="剩余出库量" prop="toDelvCnt" width="100px" />
|
|
|
+ <el-table-column label="客户名称" prop="branchName" />
|
|
|
+ <el-table-column label="来源部门" prop="deptName" />
|
|
|
+ <el-table-column label="采购类型" prop="purcType" width="100">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <span v-if="row.purcType == '2'">{{ row.oprn }}</span>
|
|
|
+ <span v-if="row.purcType == '1'">普通采购</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="出库员" prop="docmker" />
|
|
|
- <el-table-column label="出库时间" prop="docmkDate" width="140" />
|
|
|
- <el-table-column label="状态" prop="delvOrdStas" width="100">
|
|
|
- <template #default="{ row }">
|
|
|
- <span v-if="row.delvOrdStas == 'A'">未受理</span>
|
|
|
- <span v-if="row.delvOrdStas == 'B'">已受理</span>
|
|
|
- <span v-if="row.delvOrdStas == 'R'">被驳回</span>
|
|
|
- <span v-if="row.delvOrdStas == 'C'">已出库</span>
|
|
|
- <span v-if="row.delvOrdStas == 'D'">部分出库</span>
|
|
|
- <span v-if="row.delvOrdStas == 'Y'">已入库</span>
|
|
|
- <span v-if="row.delvOrdStas == 'P'">部分入库</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="操作" width="100" fixed="right">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" @click="handleDetailC(scope.row)">详情</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <!--分页-->
|
|
|
- <yl-pagination
|
|
|
- v-show="totalC > 0"
|
|
|
- :total="totalC"
|
|
|
- :page.sync="listQueryC.current"
|
|
|
- :limit.sync="listQueryC.size"
|
|
|
- @pagination="getOutboundDataC"
|
|
|
- />
|
|
|
- </el-tab-pane>
|
|
|
- </el-tabs>
|
|
|
- </div>
|
|
|
+ <el-table-column label="出库员" prop="docmker" />
|
|
|
+ <el-table-column label="出库时间" prop="docmkDate" width="140" />
|
|
|
+ <el-table-column label="状态" prop="delvOrdStas" width="100">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <span v-if="row.delvOrdStas == 'A'">未受理</span>
|
|
|
+ <span v-if="row.delvOrdStas == 'B'">已受理</span>
|
|
|
+ <span v-if="row.delvOrdStas == 'R'">被驳回</span>
|
|
|
+ <span v-if="row.delvOrdStas == 'C'">已出库</span>
|
|
|
+ <span v-if="row.delvOrdStas == 'D'">部分出库</span>
|
|
|
+ <span v-if="row.delvOrdStas == 'Y'">已入库</span>
|
|
|
+ <span v-if="row.delvOrdStas == 'P'">部分入库</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="操作" width="100" fixed="right">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="text" @click="handleDetailC(scope.row)">详情</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <!--分页-->
|
|
|
+ <yl-pagination
|
|
|
+ v-show="totalC > 0"
|
|
|
+ :total="totalC"
|
|
|
+ :page.sync="listQueryC.current"
|
|
|
+ :limit.sync="listQueryC.size"
|
|
|
+ @pagination="getOutboundDataC"
|
|
|
+ />
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -245,7 +252,7 @@ import ylPagination from "@/components/yl-pagination";
|
|
|
import {
|
|
|
getMcsOrdDck,
|
|
|
getSplerMcsDelvOrdPage,
|
|
|
- selectSpdList
|
|
|
+ selectSpdList,
|
|
|
} from "@/api/orderManage-sup/index";
|
|
|
export default {
|
|
|
components: {
|
|
@@ -253,34 +260,34 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- activeNametree:"org",
|
|
|
- data:[],
|
|
|
- spdId:null,
|
|
|
+ activeNametree: "org",
|
|
|
+ data: [],
|
|
|
+ spdId: null,
|
|
|
defaultProps: {
|
|
|
children: "children",
|
|
|
label: "spdName",
|
|
|
},
|
|
|
- activeName:"first",
|
|
|
+ activeName: "first",
|
|
|
listQuery: {
|
|
|
current: 1,
|
|
|
size: 10,
|
|
|
id: "",
|
|
|
- branchName:"",
|
|
|
+ branchName: "",
|
|
|
docmkDateStart: "",
|
|
|
docmkDateEnd: "",
|
|
|
docmkDate: [],
|
|
|
stas: "",
|
|
|
- spdId:"",
|
|
|
+ spdId: "",
|
|
|
},
|
|
|
listQueryC: {
|
|
|
current: 1,
|
|
|
size: 10,
|
|
|
- purcOrdId:"",
|
|
|
- branchName:"",
|
|
|
- docmkDate:"",
|
|
|
- delvOrdId:"",
|
|
|
- docmkDateEnd:"",
|
|
|
- branchName:"",
|
|
|
+ purcOrdId: "",
|
|
|
+ branchName: "",
|
|
|
+ docmkDate: "",
|
|
|
+ delvOrdId: "",
|
|
|
+ docmkDateEnd: "",
|
|
|
+ branchName: "",
|
|
|
},
|
|
|
stasOptions: [
|
|
|
// {value: 'A', lable: "未受理"},
|
|
@@ -293,14 +300,14 @@ export default {
|
|
|
],
|
|
|
listLoading: false,
|
|
|
list: [],
|
|
|
- listC:[],
|
|
|
+ listC: [],
|
|
|
total: 0,
|
|
|
- totalC:0,
|
|
|
+ totalC: 0,
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getData();
|
|
|
- if (this.$route.query.spdId && this.$route.query.activeName =='first') {
|
|
|
+ if (this.$route.query.spdId && this.$route.query.activeName == "first") {
|
|
|
this.listQuery.spdId = this.$route.query.spdId;
|
|
|
getMcsOrdDck(this.listQuery)
|
|
|
.then((res) => {
|
|
@@ -311,9 +318,9 @@ export default {
|
|
|
.catch((err) => {
|
|
|
this.listLoading = false;
|
|
|
});
|
|
|
- };
|
|
|
- if (this.$route.query.spdId && this.$route.query.activeName =='second') {
|
|
|
- this.activeName='second'
|
|
|
+ }
|
|
|
+ if (this.$route.query.spdId && this.$route.query.activeName == "second") {
|
|
|
+ this.activeName = "second";
|
|
|
this.listQueryC.spdId = this.$route.query.spdId;
|
|
|
getSplerMcsDelvOrdPage(this.listQueryC)
|
|
|
.then((res) => {
|
|
@@ -324,7 +331,7 @@ export default {
|
|
|
.catch((err) => {
|
|
|
this.listLoading = false;
|
|
|
});
|
|
|
- };
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
tabClick(tab) {
|
|
@@ -355,15 +362,14 @@ export default {
|
|
|
this.data = res.data;
|
|
|
console.log(this.data, "dadad");
|
|
|
})
|
|
|
- .catch((err) => {
|
|
|
- });
|
|
|
+ .catch((err) => {});
|
|
|
},
|
|
|
getOutboundData(type) {
|
|
|
if (type == "search") {
|
|
|
this.listQuery.current = 1;
|
|
|
}
|
|
|
this.listLoading = true;
|
|
|
- this.listQuery.spdId=this.spdId
|
|
|
+ this.listQuery.spdId = this.spdId;
|
|
|
this.listQuery.docmkDateStart = this.listQuery.docmkDate[0];
|
|
|
this.listQuery.docmkDateEnd = this.listQuery.docmkDate[1];
|
|
|
getMcsOrdDck(this.listQuery)
|
|
@@ -404,23 +410,23 @@ export default {
|
|
|
this.$router.push({
|
|
|
name: "deliveryDetail",
|
|
|
query: {
|
|
|
- deptName:row.deptName,
|
|
|
- deptId:row.deptId,
|
|
|
+ deptName: row.deptName,
|
|
|
+ deptId: row.deptId,
|
|
|
id: row.id,
|
|
|
detlCnt: row.detlCnt,
|
|
|
- qtySum:row.qtySum,
|
|
|
- purcAmt:row.purcAmt,
|
|
|
+ qtySum: row.qtySum,
|
|
|
+ purcAmt: row.purcAmt,
|
|
|
docmker: row.docmker,
|
|
|
docmkDate: row.docmkDate,
|
|
|
stas: row.stas,
|
|
|
- branchName:row.branchName,
|
|
|
- spdId:this.spdId,
|
|
|
- activeName:this.activeName,
|
|
|
- oprn:row.oprn,
|
|
|
- oprtRoom:row.oprtRoom,
|
|
|
- oprtTime:row.oprtTime,
|
|
|
- atddr:row.atddr,
|
|
|
- purcType:row.purcType,
|
|
|
+ branchName: row.branchName,
|
|
|
+ spdId: this.spdId,
|
|
|
+ activeName: this.activeName,
|
|
|
+ oprn: row.oprn,
|
|
|
+ oprtRoom: row.oprtRoom,
|
|
|
+ oprtTime: row.oprtTime,
|
|
|
+ atddr: row.atddr,
|
|
|
+ purcType: row.purcType,
|
|
|
},
|
|
|
});
|
|
|
},
|
|
@@ -455,19 +461,19 @@ export default {
|
|
|
purcOrdId: row.purcOrdId,
|
|
|
detlCnt: row.detlCnt,
|
|
|
docmker: row.docmker,
|
|
|
- deptName:row.deptName,
|
|
|
+ deptName: row.deptName,
|
|
|
docmkDate: row.docmkDate,
|
|
|
delvOrdStas: row.delvOrdStas,
|
|
|
- branchName:row.branchName,
|
|
|
- qtySum:row.qtySum,
|
|
|
- spdId:this.spdId,
|
|
|
- activeName:this.activeName,
|
|
|
- purcAmt:row.purcAmt,
|
|
|
- oprn:row.oprn,
|
|
|
- oprtRoom:row.oprtRoom,
|
|
|
- oprtTime:row.oprtTime,
|
|
|
- atddr:row.atddr,
|
|
|
- purcType:row.purcType,
|
|
|
+ branchName: row.branchName,
|
|
|
+ qtySum: row.qtySum,
|
|
|
+ spdId: this.spdId,
|
|
|
+ activeName: this.activeName,
|
|
|
+ purcAmt: row.purcAmt,
|
|
|
+ oprn: row.oprn,
|
|
|
+ oprtRoom: row.oprtRoom,
|
|
|
+ oprtTime: row.oprtTime,
|
|
|
+ atddr: row.atddr,
|
|
|
+ purcType: row.purcType,
|
|
|
},
|
|
|
});
|
|
|
},
|
|
@@ -476,12 +482,12 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-.custom-tree-node{
|
|
|
+.custom-tree-node {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
-.custom-tree-node ::v-deep .redTit{
|
|
|
+.custom-tree-node ::v-deep .redTit {
|
|
|
min-width: 30px;
|
|
|
background-color: #f56c6c;
|
|
|
min-height: 1px;
|