Commit f07e0df8 authored by renjintao's avatar renjintao

Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product-rjt

parents a8fce6f3 f5fc820d
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
<Button @click="set">赋值</Button> <Button @click="set">赋值</Button>
<ProductSelect v-model="product" @on-change="pchange"></ProductSelect> <ProductSelect v-model="product" @on-change="pchange"></ProductSelect>
<p>{{product}}</p>
<Button @click="setp">赋值</Button>
</div> </div>
</template> </template>
...@@ -30,10 +30,17 @@ ...@@ -30,10 +30,17 @@
this.text=items.map(u=>u.label).join('/'); this.text=items.map(u=>u.label).join('/');
}, },
set(){ set(){
this.model=[ "1", 91 ]; this.model=[ "1", 5 ];
}, },
pchange(v){ pchange(v,item){
// this.text=items.map(u=>u.label).join('/'); // this.text=items.map(u=>u.label).join('/');
if(item.isProduct==0){
this.$Message.error("层级不能选择")
this.product=""
}
},
setp(){
this.prodcut=8;
}, },
} }
} }
......
...@@ -22,7 +22,7 @@ window.certificateUrl = `http://${address}:10000/qms`; //质量 ...@@ -22,7 +22,7 @@ window.certificateUrl = `http://${address}:10000/qms`; //质量
window.crmUrl = `http://${address}:10000/crm`; //crm客户、合同、项目管理 window.crmUrl = `http://${address}:10000/crm`; //crm客户、合同、项目管理
window.apsUrl = `http://${systemApi.aps}:10000/aps`;//aps排产 window.apsUrl = `http://${systemApi.aps}:10000/aps`;//aps排产
window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接口 window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接口
window.iconImg = `/imgicon/`;
/* window.systemUrl = `http://${address}:10020/api/services/app`; //System-api 系统管理(基础数据) /* window.systemUrl = `http://${address}:10020/api/services/app`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证 window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment