工艺
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
"@xkeshi/vue-barcode": "^1.0.0",
|
"@xkeshi/vue-barcode": "^1.0.0",
|
||||||
"axios": "0.18.0",
|
"axios": "0.18.0",
|
||||||
"echarts": "^4.2.0-rc.2",
|
"echarts": "^4.2.0-rc.2",
|
||||||
"element-ui": "2.4.6",
|
"element-ui": "2.8.2",
|
||||||
"file-saver": "^1.3.8",
|
"file-saver": "^1.3.8",
|
||||||
"html2canvas": "^1.0.0-alpha.12",
|
"html2canvas": "^1.0.0-alpha.12",
|
||||||
"jquery": "^3.3.1",
|
"jquery": "^3.3.1",
|
||||||
|
|||||||
@@ -51,6 +51,16 @@
|
|||||||
border
|
border
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
@row-click="click">
|
@row-click="click">
|
||||||
|
<el-table-column label="机床号" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.机床图号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="组号" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.组号 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="零件图号" align="center">
|
<el-table-column label="零件图号" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.零件图号 }}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card>
|
<el-card>
|
||||||
<span>工艺员:</span>
|
<span>工艺员:</span>
|
||||||
<el-select v-model="CraftmenValue" placeholder="工艺员" size="small" style="width:100px" @change="clearDetail();searchParts()">
|
<el-select v-model="CraftmenValue" placeholder="工艺员" size="small" style="width:100px" @change="clearDetail();">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in Craftmen"
|
v-for="item in Craftmen"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -10,16 +10,16 @@
|
|||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span>零件号:</span>
|
<span>零件号:</span>
|
||||||
<el-select v-model="partNumValue" filterable clearable placeholder="零件号" size="small" @clear="clearDetail" @change="searchDetail()">
|
<el-input v-model="partNumber" clearable placeholder="零件号" size="small" style="width:200px">
|
||||||
|
<el-button slot="append" icon="el-icon-right" @click="searchParts();partNumValue=''"/>
|
||||||
|
</el-input>
|
||||||
|
<el-select v-model="partNumValue" placeholder="选择零件编制工艺定额" size="small" @clear="clearDetail" @change="searchDetail()">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in partNum"
|
v-for="item in partNum"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-button type="success" icon="el-icon-search" style="margin: 10px;" size="small" @click="searchDetail">
|
|
||||||
查询
|
|
||||||
</el-button>
|
|
||||||
<el-checkbox v-model="checked" :disabled="isShow2" size="small" style="margin:10px">是否核准</el-checkbox>
|
<el-checkbox v-model="checked" :disabled="isShow2" size="small" style="margin:10px">是否核准</el-checkbox>
|
||||||
<el-button v-show="isShow2" type="danger" icon="el-icon-edit" size="small" @click="returnEdit">在制零件工艺调整
|
<el-button v-show="isShow2" type="danger" icon="el-icon-edit" size="small" @click="returnEdit">在制零件工艺调整
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -554,6 +554,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
partNumber: '',
|
||||||
options: [],
|
options: [],
|
||||||
weight: '',
|
weight: '',
|
||||||
dialogMateria2: false,
|
dialogMateria2: false,
|
||||||
@@ -1080,7 +1081,7 @@ export default {
|
|||||||
this.isShow1 = true
|
this.isShow1 = true
|
||||||
this.isShow2 = false
|
this.isShow2 = false
|
||||||
this.checked1 = true
|
this.checked1 = true
|
||||||
getPartnames1(this.CraftmenValue, this.partNumValue).then(response => {
|
getPartnames1(this.CraftmenValue, this.partNumber).then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
this.partNum.push({
|
this.partNum.push({
|
||||||
label: response.data[i].零件图号,
|
label: response.data[i].零件图号,
|
||||||
|
|||||||
Reference in New Issue
Block a user