|
|
|
@ -11,8 +11,8 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="单据号:">
|
|
|
|
|
<el-input v-model="filterQuery.orderIdFk" placeholder="请输入单据号" clearable></el-input>
|
|
|
|
|
<el-form-item label="产品DI:">
|
|
|
|
|
<el-input v-model="filterQuery.relIdFk" placeholder="请输入产品DI" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
@ -20,11 +20,6 @@
|
|
|
|
|
<el-input v-model="filterQuery.mark" placeholder="请输入标记" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="产品DI:">
|
|
|
|
|
<el-input v-model="filterQuery.relIdFk" placeholder="请输入产品DI" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
@ -64,7 +59,6 @@
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list" style="width: 100%" @current-change="handleDetail" border highlight-current-row>
|
|
|
|
|
<el-table-column label="序号" type="index" width="60"></el-table-column>
|
|
|
|
|
<el-table-column label="单据号" prop="orderIdFk"></el-table-column>
|
|
|
|
|
<el-table-column label="UDI码" prop="udiCode"></el-table-column>
|
|
|
|
|
<el-table-column label="标记" prop="mark"></el-table-column>
|
|
|
|
|
<el-table-column label="物资名称" prop="cpmctymc"></el-table-column>
|
|
|
|
@ -77,6 +71,11 @@
|
|
|
|
|
<el-table-column label="失效日期" prop="expireDate"></el-table-column>
|
|
|
|
|
<el-table-column label="创建人" prop="createUserName"></el-table-column>
|
|
|
|
|
<el-table-column label="创建时间" prop="createTime"></el-table-column>
|
|
|
|
|
<el-table-column label="状态" prop="status">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag :type="statusFilterType(scope.row.status)">{{ statusMap[scope.row.status] }}</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="120px">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button type="text" size="small" @click.native.stop="editDialog(scope.row)">编辑</el-button>
|
|
|
|
@ -164,6 +163,11 @@ export default {
|
|
|
|
|
1: "新增使用出库",
|
|
|
|
|
2: "编辑使用出库",
|
|
|
|
|
},
|
|
|
|
|
statusMap: {
|
|
|
|
|
0: "草稿",
|
|
|
|
|
1: "已提交",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
orderMutiVisible: false,
|
|
|
|
|
actDateRange: [],
|
|
|
|
|
detailList: [],
|
|
|
|
@ -201,6 +205,15 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
statusFilterType(status) {
|
|
|
|
|
const statusMap = {
|
|
|
|
|
0: "warning",
|
|
|
|
|
1: "warning",
|
|
|
|
|
2: "danger",
|
|
|
|
|
3: "success",
|
|
|
|
|
};
|
|
|
|
|
return statusMap[status];
|
|
|
|
|
},
|
|
|
|
|
onReset(){
|
|
|
|
|
this.filterQuery={
|
|
|
|
|
udiCode: null,
|
|
|
|
|