|
|
@@ -104,7 +104,7 @@
|
|
|
<dialog-drill-dictionary-select
|
|
|
ref="DialogDrillDictionarySelect"
|
|
|
:defaultSelect=defaultSelect
|
|
|
- @select="materialsSelect"
|
|
|
+ @select="drillDictionarySelect"
|
|
|
:orgId="this.$store.getters.orgId">
|
|
|
</dialog-drill-dictionary-select>
|
|
|
</div>
|
|
|
@@ -354,10 +354,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
selectMaterials() {
|
|
|
- this.$refs["DialogDrillDictionarySelect"].show();
|
|
|
+ console.log("selectMaterials",this.formData)
|
|
|
+ this.$refs["DialogDrillDictionarySelect"].show(this.formData.type);
|
|
|
},
|
|
|
- materialsSelect(){
|
|
|
-
|
|
|
+ drillDictionarySelect(data){
|
|
|
+ this.formData.presetCase=data[0].defaultCause;
|
|
|
},
|
|
|
|
|
|
},
|