This commit is contained in:
liushuai
2019-07-24 09:38:04 +08:00
parent 5b29bf5f1a
commit 78963ec5ae
8 changed files with 156 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="app-container">
<el-card>
<el-radio-group v-model="radio" size="small" style="margin: 10px;" @change="checked = false;partNum=[];partNumValue = '';typeValue = '';partName = '';material = '';materialName = '';prepareMateriel = '';spec = '';batchNum = '';searchPartsByMachineGroup();">
<el-radio-group v-model="radio" size="small" style="margin: 10px;" @change="checked = false;partNum=[];partNumValue = '';typeValue = '';Specifications = '';partName = '';material = '';materialName = '';prepareMateriel = '';spec = '';batchNum = '';searchPartsByMachineGroup();">
<el-radio v-model="radio" :label="1">未编制</el-radio>
<el-radio v-model="radio" :label="2">已编制</el-radio>
</el-radio-group>
@@ -40,6 +40,8 @@
<el-input v-model="typeValue" placeholder="种类" size="small" readonly style="width:100px"/>
<span>零件名称:</span>
<el-input v-model="partName" placeholder="零件名称" size="small" readonly style="width:115px"/>
<span>规格:</span>
<el-input v-model="Specifications" placeholder="规格" size="small" readonly style="width:115px"/>
<span>投产总数量:</span>
<el-input v-model="batchNum" readonly size="small" style="width:80px;margin-top:10px;"/>
<span>物料:</span>
@@ -560,6 +562,7 @@ export default {
height2: '',
OppositeSideWidth: '',
length2: '',
Specifications: '',
biankuan: '',
bianhou: '',
changdu: '',
@@ -986,6 +989,7 @@ export default {
this.checked = false
this.weight = ''
this.partNumValue = ''
this.Specifications = ''
this.typeValue = ''
this.partName = ''
this.material = ''
@@ -1187,6 +1191,7 @@ export default {
detailInfo(this.partNumValue).then(response => {
if (response.data.length !== 0) {
this.typeValue = response.data[0].零件类型名称
this.Specifications = response.data[0].规格
this.partName = response.data[0].零件名称
this.batchNum = response.data[0].批次数量
this.material = response.data[0].材料流水号
@@ -1518,6 +1523,7 @@ export default {
this.checked = false
this.partNumValue = ''
this.typeValue = ''
this.Specifications = ''
this.partName = ''
this.batchNum = ''
this.material = ''