Commit f5fc820d authored by 周远喜's avatar 周远喜

ok

parent 219db335
......@@ -8,8 +8,8 @@
<Button @click="set">赋值</Button>
<ProductSelect v-model="product" @on-change="pchange"></ProductSelect>
<p>{{product}}</p>
<Button @click="setp">赋值</Button>
</div>
</template>
......@@ -30,10 +30,17 @@
this.text=items.map(u=>u.label).join('/');
},
set(){
this.model=[ "1", 91 ];
this.model=[ "1", 5 ];
},
pchange(v){
pchange(v,item){
// 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`; //质量
window.crmUrl = `http://${address}:10000/crm`; //crm客户、合同、项目管理
window.apsUrl = `http://${systemApi.aps}:10000/aps`;//aps排产
window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接口
window.iconImg = `/imgicon/`;
/* window.systemUrl = `http://${address}:10020/api/services/app`; //System-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