工艺定额查询

This commit is contained in:
Vergil
2020-03-31 15:26:19 +08:00
parent 0c0608bb99
commit 3fdd766ebd
2 changed files with 6 additions and 7 deletions

View File

@@ -53,8 +53,7 @@ export function search(pageCurrent, pageSize, check1, val1, check2, val2, check3
ModularID: router.currentRoute.path, ModularID: router.currentRoute.path,
type: '1', type: '1',
name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_按机床分组图号人员查', name: '车间生产管理工艺_零件工序_查询数据_已编制工序的全部零件及工序_按机床分组图号人员查',
param: `机床流水号_check=${check1}&机床流水号=${val1}&组件流水号_check=${check2}&组件流水号=${val2}&零件图号_check=${check3}&零件图号=${val3}&人员编号_check=${check4}&人员编号=${val4}&编制时间_check=${val5}&编制开始时间=${val5}&编制结束时间=${val6}`, param: `机床流水号_check=${check1}&机床流水号=${val1}&组件流水号_check=${check2}&组件流水号=${val2}&零件图号_check=${check3}&零件图号=${val3}&人员编号_check=${check4}&人员编号=${val4}&编制时间_check=${val5}&编制开始时间=${val5}&编制结束时间=${val6}&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
Pagination: pageCurrent + '&' + pageSize
} }
}) })
} }

View File

@@ -47,7 +47,7 @@
</div> </div>
</el-card> </el-card>
<el-row> <el-row>
<el-col style="width: 750px"> <el-col style="width: 700px">
<el-card> <el-card>
<el-table v-loading="loading" :data="tableData" size="mini" height="740" style="width: 750px" border stripe highlight-current-row @selection-change="handleSelectionChange" @row-click="click"> <el-table v-loading="loading" :data="tableData" size="mini" height="740" style="width: 750px" border stripe highlight-current-row @selection-change="handleSelectionChange" @row-click="click">
<el-table-column type="selection" align="center" width="50"/> <el-table-column type="selection" align="center" width="50"/>
@@ -81,7 +81,7 @@
{{ scope.row.批次数量 }} {{ scope.row.批次数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="工艺员" prop="工艺员" align="center" width="67px"> <el-table-column label="工艺员" prop="工艺员" align="center" width="90px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.工艺员 }} {{ scope.row.工艺员 }}
</template> </template>
@@ -115,7 +115,7 @@
</div> </div>
</el-card> </el-card>
</el-col> </el-col>
<el-col style="width: 1000px"> <el-col style="width: 680px">
<el-card v-if="tableData2.length"> <el-card v-if="tableData2.length">
<table class="tg"> <table class="tg">
<tr> <tr>
@@ -296,8 +296,8 @@ export default {
this.personValue ? check4 = 1 : check4 = 0 this.personValue ? check4 = 1 : check4 = 0
this.finishTime ? check5 = 1 : (check5 = 0, this.finishTime = '') this.finishTime ? check5 = 1 : (check5 = 0, this.finishTime = '')
search(this.pageCurrent, this.pageSize, check1, this.machineNumberValue, check2, this.groupNumberValue, check3, this.PrNum, check4, this.personValue, check5, this.finishTime[0], this.finishTime[1]).then(response => { search(this.pageCurrent, this.pageSize, check1, this.machineNumberValue, check2, this.groupNumberValue, check3, this.PrNum, check4, this.personValue, check5, this.finishTime[0], this.finishTime[1]).then(response => {
this.tableData = response.data.rows this.tableData = response.data.result
this.total = response.data.total this.total = parseInt(response.data.output[0].ItemCount)
this.loading = false this.loading = false
}) })
}, },