Merge branch 'master' of http://123.56.95.229:10010/r/高精
This commit is contained in:
@@ -17,6 +17,20 @@ export function initApproval(pageCurrent, pageSize, haha) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 查询审核/审批/付款
|
||||||
|
export function initApproval_noPage(haha) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
UserID: state.state.user.id,
|
||||||
|
ModularID: router.currentRoute.path,
|
||||||
|
type: '1',
|
||||||
|
name: '采购管理_采购合同_审批付款_查询数据',
|
||||||
|
param: `审批_付款状态=${haha}`
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
// 执行审核/审批/付款
|
// 执行审核/审批/付款
|
||||||
export function execApproval(num1, num2, reason, person, haha) {
|
export function execApproval(num1, num2, reason, person, haha) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@@ -89,15 +89,24 @@ export default {
|
|||||||
Type: [
|
Type: [
|
||||||
{
|
{
|
||||||
value: 1,
|
value: 1,
|
||||||
label: '采购部采购合同'
|
label: '采购合同(采购)'
|
||||||
}, {
|
}, {
|
||||||
value: 3,
|
value: 3,
|
||||||
label: '车间采购合同'
|
label: '采购合同(制造)'
|
||||||
}, {
|
|
||||||
value: 4,
|
|
||||||
label: '车间离线合同'
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
// Type: [
|
||||||
|
// {
|
||||||
|
// value: 1,
|
||||||
|
// label: '采购部采购合同'
|
||||||
|
// }, {
|
||||||
|
// value: 3,
|
||||||
|
// label: '车间采购合同'
|
||||||
|
// }, {
|
||||||
|
// value: 4,
|
||||||
|
// label: '车间离线合同'
|
||||||
|
// }
|
||||||
|
// ],
|
||||||
TypeValue: 1,
|
TypeValue: 1,
|
||||||
supplierValue: '', // 供应商
|
supplierValue: '', // 供应商
|
||||||
supplier: [],
|
supplier: [],
|
||||||
|
|||||||
@@ -2,27 +2,20 @@
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-row>
|
<el-row>
|
||||||
<!-- <el-select v-model="entryNameValue" placeholder="项目名称" style="width:150px;margin: 10px 10px 0px 10px" size="small" clearable filterable @change="SearchMachine">-->
|
<el-select v-model="machineToolValue" placeholder="机床号" size="small" filterable clearable style="width: 150px" @change="searchGroupList">
|
||||||
<!-- <el-option-->
|
<el-option
|
||||||
<!-- v-for="item in entryName"-->
|
v-for="item in machineTool"
|
||||||
<!-- :key="item.value"-->
|
:key="item.value"
|
||||||
<!-- :label="item.label"-->
|
:label="item.label"
|
||||||
<!-- :value="item.value"/>-->
|
:value="item.value"/>
|
||||||
<!-- </el-select>-->
|
</el-select>
|
||||||
<!-- <el-select v-model="machineToolValue" placeholder="机床号" size="small" clearable style="width: 150px;margin: 10px 10px 0px 10px" @change="searchGroupList">-->
|
<el-select v-model="groupNumberValue" placeholder="组号" size="small" clearable style="width: 100px;">
|
||||||
<!-- <el-option-->
|
<el-option
|
||||||
<!-- v-for="item in machineTool"-->
|
v-for="item in groupNumber"
|
||||||
<!-- :key="item.value"-->
|
:key="item.value"
|
||||||
<!-- :label="item.label"-->
|
:label="item.label"
|
||||||
<!-- :value="item.value"/>-->
|
:value="item.value"/>
|
||||||
<!-- </el-select>-->
|
</el-select>
|
||||||
<!-- <el-select v-model="groupNumberValue" placeholder="组号" size="small" clearable style="width: 100px;margin: 10px 10px 0px 10px">-->
|
|
||||||
<!-- <el-option-->
|
|
||||||
<!-- v-for="item in groupNumber"-->
|
|
||||||
<!-- :key="item.value"-->
|
|
||||||
<!-- :label="item.label"-->
|
|
||||||
<!-- :value="item.value"/>-->
|
|
||||||
<!-- </el-select>-->
|
|
||||||
<el-input v-model="partNumber" placeholder="零件号" size="small" clearable style="width: 180px;margin-left: 0px"/>
|
<el-input v-model="partNumber" placeholder="零件号" size="small" clearable style="width: 180px;margin-left: 0px"/>
|
||||||
<el-button type="primary" icon="el-icon-search" size="small" plain style="margin: 15px 0 0 10px" @click="pageCurrent=1;pageSize=20;total=0;searchData()">查询</el-button>
|
<el-button type="primary" icon="el-icon-search" size="small" plain style="margin: 15px 0 0 10px" @click="pageCurrent=1;pageSize=20;total=0;searchData()">查询</el-button>
|
||||||
<el-button type="warning" size="small" style="margin: 15px 0 0 10px" plain @click="wareHousing">出库</el-button>
|
<el-button type="warning" size="small" style="margin: 15px 0 0 10px" plain @click="wareHousing">出库</el-button>
|
||||||
@@ -125,8 +118,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// import { url } from '@/utils/request'
|
|
||||||
// import axios from 'axios'
|
|
||||||
import { initProject, searchmachine, searchgroup, searchdata, warehousing, selectdepartment, selectleaders } from '@/api/Inventory/SelfMadePartsWarehouseOut'
|
import { initProject, searchmachine, searchgroup, searchdata, warehousing, selectdepartment, selectleaders } from '@/api/Inventory/SelfMadePartsWarehouseOut'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@@ -162,8 +153,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.fetchData()
|
this.SearchMachine()
|
||||||
this.searchData()
|
// this.searchData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
searchData() {
|
searchData() {
|
||||||
@@ -173,6 +164,7 @@ export default {
|
|||||||
const groupNumberValue_check = this.groupNumberValue === '' ? 0 : 1
|
const groupNumberValue_check = this.groupNumberValue === '' ? 0 : 1
|
||||||
const partNumber_check = this.partNumber === '' || this.partNumber === null ? 0 : 1
|
const partNumber_check = this.partNumber === '' || this.partNumber === null ? 0 : 1
|
||||||
searchdata(entryNameValue_check, this.entryNameValue, machineToolValue_check, this.machineToolValue, groupNumberValue_check, this.groupNumberValue, partNumber_check, this.partNumber, this.pageCurrent, this.pageSize).then(response => {
|
searchdata(entryNameValue_check, this.entryNameValue, machineToolValue_check, this.machineToolValue, groupNumberValue_check, this.groupNumberValue, partNumber_check, this.partNumber, this.pageCurrent, this.pageSize).then(response => {
|
||||||
|
console.log(response.data)
|
||||||
if (response.data.rows.length !== 0) {
|
if (response.data.rows.length !== 0) {
|
||||||
for (let i = 0; i < response.data.rows.length; i++) {
|
for (let i = 0; i < response.data.rows.length; i++) {
|
||||||
this.tableData.push({
|
this.tableData.push({
|
||||||
@@ -227,8 +219,7 @@ export default {
|
|||||||
this.machineTool = []
|
this.machineTool = []
|
||||||
this.groupNumberValue = ''
|
this.groupNumberValue = ''
|
||||||
this.groupNumber = []
|
this.groupNumber = []
|
||||||
if (this.entryNameValue) {
|
searchmachine(0, 0).then(response => {
|
||||||
searchmachine(this.entryNameValue, 1).then(response => {
|
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
this.machineTool.push({
|
this.machineTool.push({
|
||||||
label: response.data[i].机床图号,
|
label: response.data[i].机床图号,
|
||||||
@@ -236,7 +227,6 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
|
||||||
},
|
},
|
||||||
// 查询组号
|
// 查询组号
|
||||||
searchGroupList() {
|
searchGroupList() {
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
<el-card>
|
<el-card>
|
||||||
<el-tabs v-model="PartType2" type="border-card" style="margin-top: 10px">
|
<el-tabs v-model="PartType2" type="border-card" style="margin-top: 10px">
|
||||||
<el-tab-pane label="车间生产" name="车间生产">
|
<el-tab-pane label="车间生产" name="车间生产">
|
||||||
<!--<h3 style="text-align: center;">车间生产</h3>-->
|
|
||||||
<el-table v-loading="loading" :data="tableData" :summary-method="getSummaries" style="width: 100%;margin-top: 6px" highlight-current-row height="600" size="mini" show-summary border stripe>
|
<el-table v-loading="loading" :data="tableData" :summary-method="getSummaries" style="width: 100%;margin-top: 6px" highlight-current-row height="600" size="mini" show-summary border stripe>
|
||||||
<el-table-column align="center" label="零件图号">
|
<el-table-column align="center" label="零件图号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -86,7 +85,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="采购部采购" name="采购部采购">
|
<el-tab-pane label="采购部采购" name="采购部采购">
|
||||||
<!--<h3 style="text-align: center;">采购部采购</h3>-->
|
|
||||||
<el-tabs v-model="PartType" type="border-card" style="margin-top: 10px" @tab-click="searchTable()">
|
<el-tabs v-model="PartType" type="border-card" style="margin-top: 10px" @tab-click="searchTable()">
|
||||||
<el-tab-pane label="标准件" name="标准件">
|
<el-tab-pane label="标准件" name="标准件">
|
||||||
<el-table :data="tableData00" size="mini" height="530px" border stripe>
|
<el-table :data="tableData00" size="mini" height="530px" border stripe>
|
||||||
@@ -276,7 +274,6 @@
|
|||||||
</el-tabs>
|
</el-tabs>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="制造部采购" name="制造部采购">
|
<el-tab-pane label="制造部采购" name="制造部采购">
|
||||||
<!--<h3 style="text-align: center;">制造部采购</h3>-->
|
|
||||||
<el-table :data="tableData1" border style="width: 100%;margin-top: 6px;" height="600">
|
<el-table :data="tableData1" border style="width: 100%;margin-top: 6px;" height="600">
|
||||||
<el-table-column label="机床图号" align="center" min-width="80">
|
<el-table-column label="机床图号" align="center" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -512,14 +509,6 @@ export default {
|
|||||||
this.total = parseInt(response.data.output[0].ItemCount)
|
this.total = parseInt(response.data.output[0].ItemCount)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
// searchTable22(this.check1, this.Machine, this.check2, this.Group, this.check3, this.year, this.check4, this.month, this.check5, this.time, this.pageCurrent, this.pageSize).then(response => {
|
|
||||||
// console.log(response.data, 123243)
|
|
||||||
// for (let i = 0; i < response.data.length; i++) {
|
|
||||||
// if (response.data[i].入库时间 !== null) {
|
|
||||||
// this.totalNum += 1
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
searchTable1(this.check1, this.Machine, this.check2, this.Group, this.pageCurrent, this.pageSize).then(response => {
|
searchTable1(this.check1, this.Machine, this.check2, this.Group, this.pageCurrent, this.pageSize).then(response => {
|
||||||
this.tableData1 = response.data.rows
|
this.tableData1 = response.data.rows
|
||||||
this.total5 = parseInt(response.data.total)
|
this.total5 = parseInt(response.data.total)
|
||||||
@@ -529,7 +518,6 @@ export default {
|
|||||||
this.dialogFormVisible4 = true
|
this.dialogFormVisible4 = true
|
||||||
this.titleaa = row.零件图号
|
this.titleaa = row.零件图号
|
||||||
processingStatus(row.工艺计划流水号).then(response => {
|
processingStatus(row.工艺计划流水号).then(response => {
|
||||||
console.log(response.data, 1123)
|
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
if (response.data[i].计划日期 !== '' && response.data[i].计划日期 !== null) {
|
if (response.data[i].计划日期 !== '' && response.data[i].计划日期 !== null) {
|
||||||
response.data[i].计划日期 = response.data[i].计划日期.split(' ')[0]
|
response.data[i].计划日期 = response.data[i].计划日期.split(' ')[0]
|
||||||
@@ -598,7 +586,6 @@ export default {
|
|||||||
this.Group ? check2 = 1 : check2 = 0
|
this.Group ? check2 = 1 : check2 = 0
|
||||||
searchTable02(check1, this.Machine, check2, this.Group, this.pageCurrent02, this.pageSize02).then(response => {
|
searchTable02(check1, this.Machine, check2, this.Group, this.pageCurrent02, this.pageSize02).then(response => {
|
||||||
this.tableData02 = response.data.rows
|
this.tableData02 = response.data.rows
|
||||||
console.log(response, 999)
|
|
||||||
this.total02 = response.data.total
|
this.total02 = response.data.total
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -55,42 +55,41 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col style="width: 700px">
|
<el-col style="width: 1240px">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
size="mini"
|
size="mini"
|
||||||
height="740"
|
height="740"
|
||||||
style="width: 750px"
|
style="width: 1240px"
|
||||||
border
|
border
|
||||||
stripe
|
stripe
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
@sort-change="sortChange"
|
@sort-change="sortChange"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange">
|
||||||
@row-click="click">
|
|
||||||
<el-table-column type="selection" align="center" width="50"/>
|
<el-table-column type="selection" align="center" width="50"/>
|
||||||
<el-table-column label="进程" prop="进程" align="center" width="95px" sortable>
|
<el-table-column label="进程" prop="进程" align="center" width="95px" sortable>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.进程 }}
|
{{ scope.row.进程 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="机床号" prop="机床图号" align="center" width="95px">
|
<el-table-column label="机床号" prop="机床图号" align="center" width="110px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.机床图号 }}
|
{{ scope.row.机床图号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="组号" prop="组号" align="center" width="50px">
|
<el-table-column label="组号" prop="组号" align="center" width="90px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.组号 }}
|
{{ scope.row.组号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="零件图号" prop="零件图号" show-overflow-tooltip align="center" width="175px">
|
<el-table-column label="零件图号" prop="零件图号" show-overflow-tooltip align="center" width="150px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.零件图号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="零件名称" prop="零件名称" show-overflow-tooltip align="center" width="130px">
|
<el-table-column label="零件名称" prop="零件名称" show-overflow-tooltip align="center" min-width="130px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件名称 }}
|
{{ scope.row.零件名称 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -105,21 +104,26 @@
|
|||||||
{{ scope.row.工艺员 }}
|
{{ scope.row.工艺员 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="编制时间" prop="工艺完成" align="center" width="85px">
|
<el-table-column label="编制时间" prop="工艺完成" align="center" width="100px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.工艺完成 }}
|
{{ scope.row.工艺完成 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="分配时间" prop="分配时间" align="center" width="85px">
|
<el-table-column label="分配时间" prop="分配时间" align="center" width="100px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.工艺分配时间 ? scope.row.工艺分配时间.split( ' ')[0] : '' }}
|
{{ scope.row.工艺分配时间 ? scope.row.工艺分配时间.split( ' ')[0] : '' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="下达时间" prop="下达时间" align="center" width="85px">
|
<el-table-column label="下达时间" prop="下达时间" align="center" width="100px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.操作时间 .split( ' ')[0] }}
|
{{ scope.row.操作时间 .split( ' ')[0] }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="操作" align="center" width="120">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button :disabled="scope.row.进程 === '编制中'" type="primary" size="mini" icon="el-icon-search" plain @click="viewDetails(scope.row)">查看工单</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
@@ -134,7 +138,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col style="width: 680px">
|
<!-- <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>
|
||||||
@@ -202,8 +206,81 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col> -->
|
||||||
</el-row>
|
</el-row>
|
||||||
|
<el-dialog
|
||||||
|
:visible.sync="centerDialogVisible"
|
||||||
|
title=""
|
||||||
|
width="680px"
|
||||||
|
center>
|
||||||
|
<el-card v-if="tableData2.length">
|
||||||
|
<table class="tg">
|
||||||
|
<tr>
|
||||||
|
<td class="tg-x61c" colspan="4" rowspan="2">江苏高精</td>
|
||||||
|
<td class="tg-c3ow" colspan="2" rowspan="2">零件条码</td>
|
||||||
|
<td class="tg-c3ow" colspan="3">零件图号</td>
|
||||||
|
<td class="tg-c3ow" colspan="2">{{ tableData2[0] ? tableData2[0].零件图号 : '' }}</td>
|
||||||
|
<td class="tg-c3ow">数量</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tg-c3ow" colspan="3">零件名称</td>
|
||||||
|
<td class="tg-c3ow" colspan="2">{{ tableData2[0] ? tableData2[0].零件名称 : '' }}</td>
|
||||||
|
<td class="tg-c3ow" rowspan="3">{{ tableData2[0] ? tableData2[0].投产数量 : '' }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tg-c3ow" colspan="2">项目名称</td>
|
||||||
|
<td class="tg-c3ow" colspan="2">{{ tableData2[0] ? tableData2[0].项目名称 : '' }}</td>
|
||||||
|
<td class="tg-c3ow" colspan="2" rowspan="2">{{ tableData2[0] ? 'P' + tableData2[0].工艺计划流水号 : '' }}</td>
|
||||||
|
<td class="tg-c3ow" colspan="3">机床</td>
|
||||||
|
<td class="tg-c3ow" colspan="2">{{ tableData2[0] ? tableData2[0].机床图号 : '' }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tg-c3ow">材质</td>
|
||||||
|
<td class="tg-c3ow">{{ tableData2[0] ? tableData2[0].材料 : '' }}</td>
|
||||||
|
<td class="tg-c3ow">规格</td>
|
||||||
|
<td class="tg-c3ow">{{ tableData2[0] ? tableData2[0].原材料规格 : '' }}</td>
|
||||||
|
<td class="tg-c3ow" colspan="3">组号</td>
|
||||||
|
<td class="tg-c3ow" colspan="2">{{ tableData2[0] ? tableData2[0].组号 : '' }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tg-c3ow">序次</td>
|
||||||
|
<td class="tg-c3ow">工艺名称</td>
|
||||||
|
<td class="tg-c3ow" colspan="3">工艺要求</td>
|
||||||
|
<td class="tg-c3ow">难度系数</td>
|
||||||
|
<td class="tg-c3ow">工作者</td>
|
||||||
|
<td class="tg-c3ow">单件</td>
|
||||||
|
<td class="tg-c3ow">准结</td>
|
||||||
|
<td class="tg-c3ow">检查结果</td>
|
||||||
|
<td class="tg-c3ow">计划完成日期</td>
|
||||||
|
<td class="tg-c3ow">工序条码</td>
|
||||||
|
</tr>
|
||||||
|
<tr v-for="(value,key) in tableData2" :id="key" :key="key">
|
||||||
|
<td class="tg-c3ow">{{ key + 1 }}</td>
|
||||||
|
<td class="tg-c3ow">{{ value.工艺名称 }}</td>
|
||||||
|
<td class="tg-c3ow" colspan="3">{{ value.工艺要求 }}</td>
|
||||||
|
<td class="tg-c3ow">{{ value.工艺难度等级 }}</td>
|
||||||
|
<td class="tg-c3ow"/>
|
||||||
|
<td class="tg-c3ow">{{ value.单件定额工时 }}</td>
|
||||||
|
<td class="tg-c3ow">{{ value.准结定额工时 }}</td>
|
||||||
|
<td class="tg-c3ow"/>
|
||||||
|
<td class="tg-c3ow">{{ value.计划日期 }}</td>
|
||||||
|
<td class="tg-c3ow">2{{ value.工序流水号 }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tg-c3ow">工艺员</td>
|
||||||
|
<td class="tg-c3ow">{{ tableData2[0] ? tableData2[0].工艺员 : '' }}</td>
|
||||||
|
<td class="tg-c3ow">定额员</td>
|
||||||
|
<td class="tg-c3ow">{{ tableData2[0] ? tableData2[0].定额员 : '' }}</td>
|
||||||
|
<td class="tg-c3ow">工艺完成</td>
|
||||||
|
<td class="tg-c3ow">{{ tableData2[0].工艺实际完成时间 ? tableData2[0].工艺实际完成时间.split(' ')[0] : '' }}</td>
|
||||||
|
<td class="tg-c3ow">计划开始</td>
|
||||||
|
<td class="tg-c3ow" colspan="2">{{ tableData2[0] ? tableData2[0].机加工开始时间.split(' ')[0] : '' }}</td>
|
||||||
|
<td class="tg-c3ow">计划结束</td>
|
||||||
|
<td class="tg-c3ow" colspan="2">{{ tableData2[0] ? tableData2[0].机加工结束时间.split(' ')[0] : '' }}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</el-card>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -213,6 +290,7 @@ import { initMachineProject, searchgroup, initPerson, search, searchtable1, retu
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
centerDialogVisible: false,
|
||||||
order: '',
|
order: '',
|
||||||
finishTime: '',
|
finishTime: '',
|
||||||
partNumValue: [],
|
partNumValue: [],
|
||||||
@@ -253,6 +331,10 @@ export default {
|
|||||||
// this.searchData()
|
// this.searchData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
viewDetails(row) {
|
||||||
|
this.centerDialogVisible = true
|
||||||
|
this.click(row)
|
||||||
|
},
|
||||||
tiaozheng() {
|
tiaozheng() {
|
||||||
if (this.partNumValue.length !== 0) {
|
if (this.partNumValue.length !== 0) {
|
||||||
if (this.PersonValue1) {
|
if (this.PersonValue1) {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="block" style="margin-top: 10px;">
|
<!-- <div class="block" style="margin-top: 10px;">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
:current-page="pageCurrent1"
|
:current-page="pageCurrent1"
|
||||||
:page-sizes="[10, 20, 30, 40]"
|
:page-sizes="[10, 20, 30, 40]"
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
@size-change="handleSizeChange1"
|
@size-change="handleSizeChange1"
|
||||||
@current-change="handleCurrentChange1"/>
|
@current-change="handleCurrentChange1"/>
|
||||||
</div>
|
</div> -->
|
||||||
</el-card>
|
</el-card>
|
||||||
<h3 style="">合同明细</h3>
|
<h3 style="">合同明细</h3>
|
||||||
<el-row>
|
<el-row>
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { initApproval, execApproval, initApprovalOffline, searchRequsetFundDetail1, searchRequsetFundDetail2, execApprovalOffline, searchContactDetail, searchMateriel } from '@/api/PurchasingCenter/FundApproval'
|
import { initApproval_noPage, execApproval, initApprovalOffline, searchRequsetFundDetail1, searchRequsetFundDetail2, execApprovalOffline, searchContactDetail, searchMateriel } from '@/api/PurchasingCenter/FundApproval'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -218,9 +218,9 @@ export default {
|
|||||||
this.searchTable2()
|
this.searchTable2()
|
||||||
},
|
},
|
||||||
searchTable1() {
|
searchTable1() {
|
||||||
initApproval(this.pageCurrent1, this.pageSize1, 2).then(response => {
|
initApproval_noPage(2).then(response => {
|
||||||
this.tableData1 = response.data.rows
|
this.tableData1 = response.data
|
||||||
this.total1 = response.data.total
|
// this.total1 = response.data.total
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSizeChange1(val) {
|
handleSizeChange1(val) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card>
|
<el-card style="width: 1050px;">
|
||||||
<div slot="header">
|
<div slot="header">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-input v-model="supplierName" placeholder="供应商/合同编号" size="small" clearable style="width:180px;margin: 0px 10px"/>
|
<el-input v-model="supplierName" placeholder="供应商/合同编号" size="small" clearable style="width:180px;margin: 0px 10px"/>
|
||||||
@@ -16,18 +16,18 @@
|
|||||||
range-separator="~"
|
range-separator="~"
|
||||||
start-placeholder="开始日期"
|
start-placeholder="开始日期"
|
||||||
end-placeholder="结束日期"/>
|
end-placeholder="结束日期"/>
|
||||||
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left:10px" @click="total1=0;pageCurrent1=1;pageSize1=30;searchTable1()">查询</el-button>
|
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left:10px" @click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
|
||||||
<el-tooltip :open-delay="200" effect="dark" content="打回重新编制" placement="top">
|
<el-tooltip :open-delay="200" effect="dark" content="打回重新编制" placement="top">
|
||||||
<div style="display: inline-block">
|
<div style="display: inline-block">
|
||||||
<el-button type="danger" size="small" icon="el-icon-back" plain style="margin-left:10px" @click="back">打回</el-button>
|
<el-button type="danger" size="small" icon="el-icon-back" plain style="margin-left:10px" @click="back">打回</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-button type="success" size="small" icon="el-icon-download" plain style="float: right; margin-right: 130px;" @click="exportExcel">导出</el-button>
|
<el-button type="success" size="small" icon="el-icon-download" plain style="float: right;margin-right: 20px;text-align: right;" @click="exportExcel">导出</el-button>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-card style="width: 45%; float: left">
|
<el-card style="width: 1050px; float: left">
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="loading1"
|
v-loading="loading1"
|
||||||
id="expandTable"
|
id="expandTable"
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
border
|
border
|
||||||
stripe
|
stripe
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
height="700px"
|
height="350px"
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
@sort-change="sortChange"
|
@sort-change="sortChange"
|
||||||
@row-click="searchTable2">
|
@row-click="searchTable2">
|
||||||
@@ -93,7 +93,9 @@
|
|||||||
@current-change="handleCurrentChange1"/>
|
@current-change="handleCurrentChange1"/>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card style="width: 55%">
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-card style="width: 1050px;padding-bottom: 50px;">
|
||||||
<table v-show="contractDetail.length > 0" class="offlineContract" cellspacing="0px" align="center" border="1 solid black" width="500px">
|
<table v-show="contractDetail.length > 0" class="offlineContract" cellspacing="0px" align="center" border="1 solid black" width="500px">
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="14"><h1>离线合同</h1></th>
|
<th colspan="14"><h1>离线合同</h1></th>
|
||||||
@@ -150,7 +152,7 @@ export default {
|
|||||||
total1: 0,
|
total1: 0,
|
||||||
number: '',
|
number: '',
|
||||||
pageCurrent1: 1,
|
pageCurrent1: 1,
|
||||||
pageSize1: 30,
|
pageSize1: 10,
|
||||||
tableData1: [],
|
tableData1: [],
|
||||||
loading1: false,
|
loading1: false,
|
||||||
contractDetail: [],
|
contractDetail: [],
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<el-button type="primary" size="small" plain icon="el-icon-search" style="margin-left:10px" @click="searchTable1()">查询</el-button>
|
<el-button type="primary" size="small" plain icon="el-icon-search" style="margin-left:10px" @click="searchTable1()">查询</el-button>
|
||||||
<el-button v-positive="'loading'" :disabled="false" type="primary" size="small" plain icon="el-icon-download" style="margin-left:10px" @click="exportExcel()">导出</el-button>
|
<el-button v-positive="'loading'" :disabled="false" type="primary" size="small" plain icon="el-icon-download" style="margin-left:10px" @click="exportExcel()">导出</el-button>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card style="width: 800px">
|
<el-card style="width: 850px">
|
||||||
<el-table v-loading="" :data="tableData2" :summary-method="getSummaries1" show-summary border style="width: 100%;max-height: 700px;" height="700px">
|
<el-table v-loading="" :data="tableData2" :summary-method="getSummaries1" show-summary border style="width: 100%;max-height: 700px;" height="700px">
|
||||||
<el-table-column label="机床图号" align="center" width="100">
|
<el-table-column label="机床图号" align="center" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|||||||
@@ -27,32 +27,32 @@
|
|||||||
{{ scope.row.采购合同编号 }}
|
{{ scope.row.采购合同编号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="机床图号" width="120px">
|
<el-table-column align="center" label="机床图号" width="90px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.机床图号 }}
|
{{ scope.row.机床图号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="组号" width="120px">
|
<el-table-column align="center" label="组号" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.组号 }}
|
{{ scope.row.组号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="零件名称" width="130px" show-overflow-tooltip>
|
<el-table-column align="center" label="零件名称" width="100px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.物料名称 }}
|
{{ scope.row.物料名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="图号或型号" width="150px" show-overflow-tooltip>
|
<el-table-column align="center" label="图号或型号" width="140px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.零件图号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="材料或规格" width="150px">
|
<el-table-column align="center" label="材料或规格" width="140px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.物料规格 ? scope.row.物料规格 : scope.row.物料型号 }}
|
{{ scope.row.物料规格 ? scope.row.物料规格 : scope.row.物料型号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="采购时间" width="80px">
|
<el-table-column align="center" label="采购时间" width="85px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.采购时间 ? scope.row.采购时间.split(' ')[0] : '' }}
|
{{ scope.row.采购时间 ? scope.row.采购时间.split(' ')[0] : '' }}
|
||||||
</template>
|
</template>
|
||||||
@@ -62,12 +62,12 @@
|
|||||||
{{ scope.row.采购员 }}
|
{{ scope.row.采购员 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="采购数量" width="80px">
|
<el-table-column align="center" label="采购数" width="65px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件数量 }}
|
{{ scope.row.零件数量 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="到货数量" width="80px">
|
<el-table-column align="center" label="到货数" width="65px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.已到货数量 }}
|
{{ scope.row.已到货数量 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
{{ scope.row.到货时间 ? scope.row.到货时间.split(' ')[0] : '' }}
|
{{ scope.row.到货时间 ? scope.row.到货时间.split(' ')[0] : '' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column align="center" label="供应商" width="270px" show-overflow-tooltip>
|
<el-table-column align="center" label="供应商" width="200px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.供应商名称 }}
|
{{ scope.row.供应商名称 }}
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user