This commit is contained in:
chenjianan
2019-04-18 11:51:55 +08:00
parent f989b89e10
commit 47a2ea0071

View File

@@ -2,7 +2,7 @@
<div class="app-container"> <div class="app-container">
<el-tabs type="border-card" @tab-click="searchTable11();searchTable12()"> <el-tabs type="border-card" @tab-click="searchTable11();searchTable12()">
<el-tab-pane label="标准件和外购件"> <el-tab-pane label="标准件和外购件">
<el-row style="margin-bottom: 10px"> <el-row style="margin-bottom: 5px">
<span>项目名称:</span> <span>项目名称:</span>
<el-select v-model="projectValue" style="width:200px" placeholder="项目名称" size="small" filterable clearable @change="projectChange"> <el-select v-model="projectValue" style="width:200px" placeholder="项目名称" size="small" filterable clearable @change="projectChange">
<el-option <el-option
@@ -28,7 +28,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
</el-row> </el-row>
<el-row style="margin-bottom: 10px"> <el-row style="margin-bottom: 5px">
<span style="margin-right: -10px">物料状态:</span> <span style="margin-right: -10px">物料状态:</span>
<el-cascader :options="materialStatus" v-model="materialStatusValue" size="small" change-on-select/> <el-cascader :options="materialStatus" v-model="materialStatusValue" size="small" change-on-select/>
<span>物料名称:</span> <span>物料名称:</span>
@@ -169,7 +169,7 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="基本件"> <el-tab-pane label="基本件">
<el-row style="margin-bottom: 10px"> <el-row style="margin-bottom: 5px">
<span>项目名称:</span> <span>项目名称:</span>
<el-select v-model="projectValue" style="width:200px" placeholder="项目名称" size="small" filterable clearable @change="projectChange"> <el-select v-model="projectValue" style="width:200px" placeholder="项目名称" size="small" filterable clearable @change="projectChange">
<el-option <el-option
@@ -195,7 +195,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
</el-row> </el-row>
<el-row style="margin-bottom: 10px"> <el-row style="margin-bottom: 5px">
<span style="margin-right: -10px">物料状态:</span> <span style="margin-right: -10px">物料状态:</span>
<el-cascader :options="materialStatus" v-model="materialStatusValue" size="small" change-on-select/> <el-cascader :options="materialStatus" v-model="materialStatusValue" size="small" change-on-select/>
<span>零件图号:</span> <span>零件图号:</span>
@@ -1315,7 +1315,7 @@ export default {
this.materialOldValue = row.物料流水号 this.materialOldValue = row.物料流水号
}, },
partChange(row) { // 零件变更 基本件 partChange(row) { // 零件变更 基本件
alert('没有基本件库') this.$message('没有基本件的标准库')
console.log(row) console.log(row)
}, },
searchMaterial() { searchMaterial() {