|
@@ -109,6 +109,12 @@
|
|
|
<!-- </el-form-item>-->
|
|
|
<!-- </el-col>-->
|
|
|
<!-- </el-row>-->
|
|
|
+ <el-row>
|
|
|
+ <el-form-item label="关联物料" prop="materialId">
|
|
|
+ <el-input v-model="dataForm.materialId" :disabled="display" placeholder="请选择物料"></el-input>
|
|
|
+ <el-button @click="selectMaterial">选择</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
<el-row>
|
|
|
<el-col>
|
|
|
<el-form-item label="备注" prop="notes">
|
|
@@ -242,6 +248,7 @@ export default {
|
|
|
productListVisible: false,
|
|
|
materialListVisible: false,
|
|
|
drawListVisible: false,
|
|
|
+ materialCompVisible: false,
|
|
|
visible: false,
|
|
|
display: false,
|
|
|
optionsType: [],
|
|
@@ -461,6 +468,13 @@ export default {
|
|
|
},
|
|
|
removeDrawingItem (index) {
|
|
|
this.drawingList.splice(index, 1)
|
|
|
+ },
|
|
|
+ // 选择物料
|
|
|
+ selectMaterial () {
|
|
|
+ this.materialCompVisible = true
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // this.$refs.materialComp.init()
|
|
|
+ // })
|
|
|
}
|
|
|
}
|
|
|
}
|