bug修复
This commit is contained in:
parent
6d270f4750
commit
50126b4d71
|
|
@ -173,7 +173,7 @@
|
||||||
min-width="100"
|
min-width="100"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div style="color: rgb(2, 167, 240);" @click="openAddCode(scope.row)" v-if="scope.row.manageType==0">查看编码</div>
|
<div style="color: rgb(2, 167, 240);" @click="openAddCode(scope.row)" v-if="scope.row.manageType==0">{{ scope.row.preNum }}</div>
|
||||||
<!-- <el-input
|
<!-- <el-input
|
||||||
v-if="scope.row.manageType==1"
|
v-if="scope.row.manageType==1"
|
||||||
v-model.number="scope.row.preNum"
|
v-model.number="scope.row.preNum"
|
||||||
|
|
@ -184,7 +184,7 @@
|
||||||
@input="checkNum(scope.row)"
|
@input="checkNum(scope.row)"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
/> -->
|
/> -->
|
||||||
<div>{{ scope.row.preNum }}</div>
|
<div v-if="scope.row.manageType==1">{{ scope.row.preNum }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
||||||
|
|
@ -116,6 +116,7 @@
|
||||||
@click="handleNotice(scope.row)" v-hasPermi="['purchase:person:notice']"
|
@click="handleNotice(scope.row)" v-hasPermi="['purchase:person:notice']"
|
||||||
>通知</el-button>
|
>通知</el-button>
|
||||||
<el-button size="mini" type="warning"
|
<el-button size="mini" type="warning"
|
||||||
|
v-if="scope.row.taskStatusName == '未完成'"
|
||||||
@click="handlePrint(scope.row)"
|
@click="handlePrint(scope.row)"
|
||||||
>验收单</el-button>
|
>验收单</el-button>
|
||||||
<el-button size="mini" type="danger" v-hasPermi="['purchase:info:remove']"
|
<el-button size="mini" type="danger" v-hasPermi="['purchase:info:remove']"
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -8,12 +8,16 @@
|
||||||
v-show="showSearch"
|
v-show="showSearch"
|
||||||
label-width="90px"
|
label-width="90px"
|
||||||
>
|
>
|
||||||
<el-form-item prop="dateRange">
|
<el-form-item prop="time">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="queryParams.month"
|
v-model="queryParams.time"
|
||||||
type="month"
|
range-separator="至"
|
||||||
placeholder="请选择月份">
|
start-placeholder="开始日期"
|
||||||
</el-date-picker>
|
end-placeholder="结束日期"
|
||||||
|
type="daterange"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
style="width: 240px"
|
||||||
|
></el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="keyWord">
|
<el-form-item prop="keyWord">
|
||||||
<el-input
|
<el-input
|
||||||
|
|
@ -126,7 +130,7 @@ export default {
|
||||||
|
|
||||||
// 查询参数
|
// 查询参数
|
||||||
queryParams: {
|
queryParams: {
|
||||||
month:null,
|
time:null,
|
||||||
keyWord: null,
|
keyWord: null,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
|
@ -158,8 +162,8 @@ export default {
|
||||||
const params = {
|
const params = {
|
||||||
month: this.month,
|
month: this.month,
|
||||||
keyWord: this.queryParams.keyWord,
|
keyWord: this.queryParams.keyWord,
|
||||||
startTime: this.queryParams.month && this.queryParams.month[0],
|
startTime: this.queryParams.time && this.queryParams.time[0],
|
||||||
endTime: this.queryParams.month && this.queryParams.month[1],
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum
|
pageNum: this.queryParams.pageNum
|
||||||
}
|
}
|
||||||
|
|
@ -174,7 +178,7 @@ export default {
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.queryParams.keyWord = null;
|
this.queryParams.keyWord = null;
|
||||||
this.queryParams.month = null;
|
this.queryParams.time = null;
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
},
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
|
|
@ -189,8 +193,8 @@ export default {
|
||||||
const params = {
|
const params = {
|
||||||
month: this.month,
|
month: this.month,
|
||||||
keyWord: this.queryParams.keyWord,
|
keyWord: this.queryParams.keyWord,
|
||||||
startTime: this.queryParams.month && this.queryParams.month[0],
|
startTime: this.queryParams.time && this.queryParams.time[0],
|
||||||
endTime: this.queryParams.month && this.queryParams.month[1],
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
}
|
}
|
||||||
this.download(
|
this.download(
|
||||||
"/material/scrap_apply_details/getScrapDetailsList",
|
"/material/scrap_apply_details/getScrapDetailsList",
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
<el-form-item prop="dateRange">
|
<el-form-item prop="month">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="queryParams.month"
|
v-model="queryParams.month"
|
||||||
type="month"
|
type="month"
|
||||||
placeholder="请选择月份">
|
placeholder="请选择月份"
|
||||||
|
value-format="yyyy-MM">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="keyWord">
|
<el-form-item prop="keyWord">
|
||||||
|
|
@ -87,7 +88,6 @@ import { getToken } from '@/utils/auth'
|
||||||
// 显示搜索条件
|
// 显示搜索条件
|
||||||
showSearch: true,
|
showSearch: true,
|
||||||
showHouse: false,
|
showHouse: false,
|
||||||
dateRange:[],
|
|
||||||
ids: [],
|
ids: [],
|
||||||
infos: [],
|
infos: [],
|
||||||
// 总条数
|
// 总条数
|
||||||
|
|
@ -114,6 +114,7 @@ import { getToken } from '@/utils/auth'
|
||||||
/** 查询列表 */
|
/** 查询列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
console.log(this.queryParams)
|
||||||
getScrapList(this.queryParams).then(response => {
|
getScrapList(this.queryParams).then(response => {
|
||||||
this.tableList = response.data.rows;
|
this.tableList = response.data.rows;
|
||||||
this.total = response.data.total;
|
this.total = response.data.total;
|
||||||
|
|
@ -127,8 +128,8 @@ import { getToken } from '@/utils/auth'
|
||||||
},
|
},
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
//查看
|
//查看
|
||||||
handleView(row){
|
handleView(row){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue