|
|
@ -3,13 +3,28 @@
|
|
|
|
<el-card class="el-card">
|
|
|
|
<el-card class="el-card">
|
|
|
|
<el-form :model="filterQuery" class="query-form" label-width="100px" v-show="showSearch">
|
|
|
|
<el-form :model="filterQuery" class="query-form" label-width="100px" v-show="showSearch">
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="10">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="申购单号">
|
|
|
|
<el-form-item label="申购单号">
|
|
|
|
<el-input v-model="filterQuery.billNo" style="width: 90%" placeholder="请输入单据号" clearable></el-input>
|
|
|
|
<el-input v-model="filterQuery.billNo" style="width: 90%" placeholder="请输入单据号" clearable></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="10">
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="申购部门">
|
|
|
|
|
|
|
|
<el-select v-model="filterQuery.targetDeptCode" placeholder="请选择申购部门" style="width: 90%">
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in deptList"
|
|
|
|
|
|
|
|
:key="item.code"
|
|
|
|
|
|
|
|
:label="item.name"
|
|
|
|
|
|
|
|
:value="item.code"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="申购仓库">
|
|
|
|
<el-form-item label="申购仓库">
|
|
|
|
<el-select v-model="filterQuery.targetInvCode" style="width: 90%" placeholder="请选择所属仓库">
|
|
|
|
<el-select v-model="filterQuery.targetInvCode" style="width: 90%" placeholder="请选择所属仓库">
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
@ -25,21 +40,16 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="10">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="申购部门">
|
|
|
|
<el-form-item label="紧急程度:" prop="emergency">
|
|
|
|
<el-select v-model="filterQuery.targetDeptCode" placeholder="请选择申购部门" style="width: 90%">
|
|
|
|
<el-select v-model="filterQuery.emergency" placeholder="请选择紧急程度" style="width: 90%" clearable>
|
|
|
|
<el-option
|
|
|
|
<el-option label="正常" :value=1></el-option>
|
|
|
|
v-for="item in deptList"
|
|
|
|
<el-option label="较急" :value=2></el-option>
|
|
|
|
:key="item.code"
|
|
|
|
<el-option label="特急" :value=3></el-option>
|
|
|
|
:label="item.name"
|
|
|
|
|
|
|
|
:value="item.code"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="10">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="创建时间:">
|
|
|
|
<el-form-item label="创建时间:">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
:picker-options="pickerOptions"
|
|
|
|
:picker-options="pickerOptions"
|
|
|
@ -69,9 +79,8 @@
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row @current-change="handleDetail">
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row @current-change="handleDetail">
|
|
|
|
<el-table-column label="序号" type="index" width="60"></el-table-column>
|
|
|
|
<el-table-column label="序号" type="index" width="60"></el-table-column>
|
|
|
|
<el-table-column label="申购单号" prop="billNo"></el-table-column>
|
|
|
|
<el-table-column label="申购单号" prop="billNo"></el-table-column>
|
|
|
|
<el-table-column label="创建时间" prop="createTime"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="申购部门" prop="targetDeptName"></el-table-column>
|
|
|
|
<el-table-column label="申购部门" prop="targetDeptName"></el-table-column>
|
|
|
|
<el-table-column label="申购仓库" prop="targetInvName"></el-table-column>
|
|
|
|
<el-table-column label="申购仓库" prop="targetInvName"></el-table-column>
|
|
|
|
<el-table-column label="紧急程度" prop="emergency" >
|
|
|
|
<el-table-column label="紧急程度" prop="emergency" >
|
|
|
@ -79,17 +88,15 @@
|
|
|
|
{{ emergencyMap[scope.row.emergency] }}
|
|
|
|
{{ emergencyMap[scope.row.emergency] }}
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="到货时间" prop="arrivalTime" ></el-table-column>
|
|
|
|
<el-table-column label="到货截止" prop="arrivalTime" ></el-table-column>
|
|
|
|
<el-table-column label="申购说明" prop="remark"></el-table-column>
|
|
|
|
<el-table-column label="单据状态" prop="status">
|
|
|
|
<el-table-column label="审核时间" prop="auditTime" ></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="状态" prop="status">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-tag :type="(scope.row.status) | statusFilterType">
|
|
|
|
<el-tag :type="(scope.row.status) | statusFilterType">
|
|
|
|
{{ statusMap[scope.row.status] }}
|
|
|
|
{{ statusMap[scope.row.status] }}
|
|
|
|
</el-tag>
|
|
|
|
</el-tag>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="创建时间" prop="createTime"></el-table-column>
|
|
|
|
<el-table-column label="操作" width="60px">
|
|
|
|
<el-table-column label="操作" width="60px">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button type="text" :disabled="scope.row.status!=2" @click.native="newDistributionForm(scope.$index, scope.row)">审核</el-button>
|
|
|
|
<el-button type="text" :disabled="scope.row.status!=2" @click.native="newDistributionForm(scope.$index, scope.row)">审核</el-button>
|
|
|
@ -108,15 +115,15 @@
|
|
|
|
</el-card>
|
|
|
|
</el-card>
|
|
|
|
<el-card class="el-card">
|
|
|
|
<el-card class="el-card">
|
|
|
|
<el-table v-loading="loading" :data="detailList" style="width: 100%" border highlight-current-row>
|
|
|
|
<el-table v-loading="loading" :data="detailList" style="width: 100%" border highlight-current-row>
|
|
|
|
<el-table-column label="序号" type="index" width="120"></el-table-column>
|
|
|
|
<el-table-column label="序号" type="index" width="60"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="DI/物资编码" prop="nameCode"></el-table-column>
|
|
|
|
<el-table-column label="物资名称" prop="productName" show-overflow-tooltip="true"></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="spec" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="计量单位" prop="measname" show-overflow-tooltip="true" width="100"></el-table-column>
|
|
|
|
<el-table-column label="申购数量" prop="count"></el-table-column>
|
|
|
|
<el-table-column label="申购数量" prop="count"></el-table-column>
|
|
|
|
<el-table-column label="计量单位" prop="measname"></el-table-column>
|
|
|
|
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh"></el-table-column>
|
|
|
|
<el-table-column label="供应商" prop="supName" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
<el-table-column label="生产厂家" prop="manufactory"></el-table-column>
|
|
|
|
<el-table-column label="生产企业" prop="manufactory" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
<el-table-column label="供应商" prop="supName"></el-table-column>
|
|
|
|
<el-table-column label="注册/备案号" prop="zczbhhzbapzbh" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="注册/备案人" prop="ylqxzcrbarmc" show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</el-card>
|
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
|
|
@ -170,9 +177,9 @@ export default {
|
|
|
|
4: "已拒绝"
|
|
|
|
4: "已拒绝"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
emergencyMap:{
|
|
|
|
emergencyMap:{
|
|
|
|
1: "普通",
|
|
|
|
1: "正常",
|
|
|
|
2: "紧急",
|
|
|
|
2: "较急",
|
|
|
|
3: "不紧急",
|
|
|
|
3: "特急",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
idQuery: {},
|
|
|
|
idQuery: {},
|
|
|
|
editType: 1,
|
|
|
|
editType: 1,
|
|
|
|