Browse Source

工具的BUG

master
DouDou 1 year ago
parent
commit
9ba48d3c5c
  1. 10
      src/views/modules/tooling/components/com_tool_info_add_update.vue

10
src/views/modules/tooling/components/com_tool_info_add_update.vue

@ -20,7 +20,7 @@
<el-col :span="5"> <el-col :span="5">
<el-form-item :label=labels.site prop="site"> <el-form-item :label=labels.site prop="site">
<span slot="label" style="" @click="getBaseList(1017)"><a herf="#"></a></span> <span slot="label" style="" @click="getBaseList(1017)"><a herf="#"></a></span>
<el-input v-model="pageData.site" :disabled="!this.addFlag"></el-input>
<el-input v-model="pageData.site" :disabled="!this.addFlag"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
@ -379,7 +379,7 @@ export default {
getBaseData (val) { getBaseData (val) {
if (this.tagNo === 1017) { if (this.tagNo === 1017) {
this.pageData.site = val.SiteID; this.pageData.site = val.SiteID;
this.changeToolPrefix();
//this.changeToolPrefix();
}else if (this.tagNo === 1016) { }else if (this.tagNo === 1016) {
this.pageData.toolType = val.tool_type; this.pageData.toolType = val.tool_type;
this.pageData.toolTypeDesc = val.tool_type_desc; this.pageData.toolTypeDesc = val.tool_type_desc;
@ -491,6 +491,12 @@ export default {
}, },
}, },
watch:{
'pageData.site': function(newValue, oldValue){
//
this.changeToolPrefix();
},
},
created() { created() {
// this.factoryList() // this.factoryList()
// this.getLanguageList() // this.getLanguageList()

Loading…
Cancel
Save