Commit e9e09ba7 authored by renjintao's avatar renjintao

api

parent dd423425
......@@ -36,5 +36,15 @@ export default {
},
moveintoai(){////跳转进入智能排产池前判断
return Api.post(`${PlanUrl}/messchedule/moveintoai`);
}
},
//配套相关
matchlist(params){//申请配套列表
return Api.get(`${technologyUrl}materiallist/matchlist`, params);
},
supportmainPaged(params){////配套记录
return Api.post(`${technologyUrl}supportmain/paged`, params);
},
supportmainCreate(params){////保存配套
return Api.post(`${technologyUrl}supportmain/create`, params);
},
}
\ No newline at end of file
......@@ -127,11 +127,12 @@
</Modal>
<Modal v-model="modalAccessory" :title="title" fullscreen footer-hide>
<component
:is="details"
:eid="curId"
:uid="uId"
:title="title"
:headid="hid"
:is="detail"
:eid="orderId"
:mesCode="mesCode"
:productName="productName"
:drawnNumber="drawnNumber"
:count="count"
@on-close="cancel"
@on-ok="ok"
/>
......@@ -177,10 +178,15 @@ export default {
this.$store.getters.dictionaryByKey("aps.plan.supportingStatus") || [],
name: "",
item: null,
title:'',
details: null,
title: "",
detail: null,
uId: "",
hid: 0,
orderId: 0,
mesCode:"",
productName: "",
drawnNumber: "",
count: 0,
modalAccessory: false,
columns: [
{
......@@ -797,11 +803,14 @@ export default {
}
return this.item;
},
openAccessory(row)
{
this.curId = 0;
openAccessory(row) {
this.orderId = row.id;
this.mesCode=row.mesCode;
this.productName = row.productName;
this.drawnNumber = row.drawnNumber;
this.count = row.quantity;
this.title = "申请配套";
this.details = () => import("./addAccessory");
this.detail = () => import("./addAccessory");
this.modalAccessory = true;
},
cancel() {
......
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