|
|
|
@ -8,10 +8,9 @@
|
|
|
|
|
<el-input v-model="filterQuery.billNo" style="width: 90%" placeholder="请输入单据号" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="采购部门">
|
|
|
|
|
<el-select v-model="filterQuery.invCode" style="width: 90%" placeholder="请选择所属仓库">
|
|
|
|
|
<el-select v-model="filterQuery.invCode" style="width: 90%" placeholder="请选择采购部门">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in invList"
|
|
|
|
|
:key="item.name"
|
|
|
|
@ -22,8 +21,6 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="收货仓库">
|
|
|
|
|
<el-select v-model="filterQuery.deptCode" placeholder="请选择收货仓库" style="width: 90%">
|
|
|
|
@ -39,27 +36,10 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="创建时间:">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
:picker-options="pickerOptions"
|
|
|
|
|
v-model="createTimes"
|
|
|
|
|
type="daterange"
|
|
|
|
|
format="yyyy 年 MM 月 dd 日"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
range-separator="至"
|
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="审核时间:">
|
|
|
|
|
<el-form-item label="发布时间:">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
:picker-options="pickerUpOptions"
|
|
|
|
|
v-model="auditTimes"
|
|
|
|
@ -76,8 +56,6 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="top-right-btn">
|
|
|
|
|
<el-button-group style="display:flex;">
|
|
|
|
|
<el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏</el-button>
|
|
|
|
@ -92,23 +70,28 @@
|
|
|
|
|
@current-change="handleDetail">
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column label="采购订单号" prop="billNo" width="150" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="创建时间" prop="createTime" width="180" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="采购部门" prop="invName" width="150" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="收货仓库" prop="deptName" width="150" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="发布时间" prop="auditTime" width="180" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="处理状态" prop="emergency" width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ dealStatus[scope.row.emergency] }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column label="创建时间" prop="createTime" width="180" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<el-table-column label="紧急程度" prop="emergency" width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ emergencyMap[scope.row.emergency] }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="到货时间" prop="arrivalTime" width="150" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="采购说明" prop="remark" width="180" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="审核时间" prop="auditTime" width="180" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="操作">
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-button type="text" size="small" @click.native.stop="deleteDialog(scope.row)"-->
|
|
|
|
|
<!-- >删除-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<el-table-column label="订单说明" prop="remark" width="180" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="采购部门" prop="deptName" width="150" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="收货仓库" prop="invName" width="150" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="操作" fixed="right" width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button type="text" size="small" @click.native.stop="newDistributionForm(scope.row)"
|
|
|
|
|
>处理
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
@ -123,16 +106,16 @@
|
|
|
|
|
<el-card class="el-card">
|
|
|
|
|
<el-table v-loading="loading" :data="detailList" style="width: 100%" border highlight-current-row="true">
|
|
|
|
|
<el-table-column label="序号" type="index" width="50"></el-table-column>
|
|
|
|
|
<!-- <el-table-column label="产品编码" prop="productId"></el-table-column> -->
|
|
|
|
|
<el-table-column label="物资名称" prop="productName" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column label="规格型号" prop="spec" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column label="申购数量" prop="count"></el-table-column>
|
|
|
|
|
<el-table-column label="计划数量" prop="planCount"></el-table-column>
|
|
|
|
|
<el-table-column label="计量单位" prop="spec" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column label="供应商" prop="supName" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column label="生产企业" prop="manufactory" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column label="物资名称" prop="productName" show-overflow-tooltip width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="规格型号" prop="spec" show-overflow-tooltip width="160"></el-table-column>
|
|
|
|
|
<el-table-column label="计量单位" prop="measname" show-overflow-tooltip width="100"></el-table-column>
|
|
|
|
|
<el-table-column label="计划数量" prop="planCount" width="100"></el-table-column>
|
|
|
|
|
<el-table-column label="订单数量" prop="count" width="100"></el-table-column>
|
|
|
|
|
<el-table-column label="计量单位" prop="spec" show-overflow-tooltip="true" width="100"></el-table-column>
|
|
|
|
|
<!-- <el-table-column label="供应商" prop="supName" show-overflow-tooltip="true"></el-table-column>-->
|
|
|
|
|
<el-table-column label="生产企业" prop="manufactory" show-overflow-tooltip="true" width="160"></el-table-column>
|
|
|
|
|
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh" show-overflow-tooltip="true" width="160"></el-table-column>
|
|
|
|
|
<el-table-column label="注册/备案人" prop="ylqxzcrbarmc" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<!-- <el-table-column label="注册/备案人" prop="ylqxzcrbarmc" show-overflow-tooltip="true"></el-table-column>-->
|
|
|
|
|
</el-table>
|
|
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
@ -197,6 +180,13 @@ export default {
|
|
|
|
|
2: "紧急",
|
|
|
|
|
3: "不紧急",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
dealStatus: {
|
|
|
|
|
1: "已处理",
|
|
|
|
|
2: "未处理",
|
|
|
|
|
3: "作废",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
invList: {},
|
|
|
|
|
deptList: {},
|
|
|
|
|
idQuery: {},
|
|
|
|
@ -411,7 +401,7 @@ export default {
|
|
|
|
|
this.deptList = res.data || [];
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
newDistributionForm(index, row) {
|
|
|
|
|
newDistributionForm(row) {
|
|
|
|
|
this.idQuery.id = '';
|
|
|
|
|
if (this.$isNotBlank(row) && this.$isNotBlank(row.id)) {
|
|
|
|
|
this.idQuery.id = row.id;
|
|
|
|
|