|
@@ -3,13 +3,13 @@
|
|
|
<div style="width:100%">
|
|
|
<page-title>返回</page-title>
|
|
|
<!-- 第一部分 -->
|
|
|
- <el-form style="width:400px;margin-left:40%;margin-top:50px">
|
|
|
+ <el-form style="width:500px;margin-left:35%;margin-top:50px">
|
|
|
<el-form-item style="display:inline" label="未轧规格">
|
|
|
- <el-select filterable v-model="spectionsModel">
|
|
|
- <el-option v-for="item in models" :value="item" :key="item" :label="item"></el-option>
|
|
|
+ <el-select filterable v-model="spectionsModel" style="width:300px">
|
|
|
+ <el-option v-for="item in models" :value="item.materialId" :key="item.materialId" :label="item.materialName"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-button type="primary" @click="makeSure" style="margin:20px;margin-left:60px">修改</el-button>
|
|
|
+ <el-button type="primary" @click="makeSure" style="margin:20px;margin-left:100px">修改</el-button>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -35,7 +35,7 @@ export default {
|
|
|
console.log("resultId:"+this.$route.params.resultId);
|
|
|
console.log("spectionsModel:"+this.$route.params.spectionsModel);
|
|
|
this.resultId=this.$route.params.resultId;
|
|
|
- this.spectionsModel=this.$route.params.spectionsModel;
|
|
|
+ this.spectionsModel=parseInt(this.$route.params.spectionsModel);
|
|
|
},
|
|
|
getAllModel(){
|
|
|
this.axios
|