Commit 5bbb1b8c authored by renjintao's avatar renjintao

配套清单ing

parent 6d4133a0
...@@ -23,14 +23,14 @@ ...@@ -23,14 +23,14 @@
> >
<template slot-scope="{ row, index }" slot="counts"> <template slot-scope="{ row, index }" slot="counts">
<InputNumber <InputNumber
:max="row.materialCount" :max="row.totalCount"
:min="0" :min="0"
v-model="row.count" v-model="row.count"
@on-blur="inputChange1(i,row,index)" @on-blur="inputChange1(i,row,index)"
/> />
</template> </template>
<template slot-scope="{ row, index }" slot="remarks"> <template slot-scope="{ row, index }" slot="remarks">
<Input type="text" v-model="row.remarks" @on-blur="inputChange1(i,row,index)" /> <Input type="text" v-model="row.remark" @on-blur="inputChange1(i,row,index)" />
</template> </template>
</Table> </Table>
</div> </div>
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
align: "left", align: "left",
}, },
{ {
key: "materialCount", key: "totalCount",
title: "需求数量", title: "需求数量",
align: "left", align: "left",
}, },
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
r.result.forEach((e) => { r.result.forEach((e) => {
let i = 0; let i = 0;
e.suport.forEach((el) => { e.suport.forEach((el) => {
el.count = el.materialCount; el.count = el.totalCount;
el._checked = true; el._checked = true;
el._index = i++; el._index = i++;
//el._disabled=true //el._disabled=true
...@@ -317,7 +317,7 @@ export default { ...@@ -317,7 +317,7 @@ export default {
materialId: ele.materialId, materialId: ele.materialId,
materialName: ele.nameMaterial, materialName: ele.nameMaterial,
materialNumber: ele.materialNumber, materialNumber: ele.materialNumber,
needCount: ele.materialCount, needCount: ele.totalCount,
count: ele.count, // count: ele.count, //
remark: ele.remark ? ele.remark : "", remark: ele.remark ? ele.remark : "",
}; };
......
...@@ -53,5 +53,9 @@ export default { ...@@ -53,5 +53,9 @@ export default {
batchdelete(params){//批量撤回 batchdelete(params){//批量撤回
return Api.post(`${technologyUrl}supportitem/batchdelete`, params); return Api.post(`${technologyUrl}supportitem/batchdelete`, params);
}, },
matchdetaillist(params){//配套审核单列表
return Api.get(`${technologyUrl}materiallist/matchdetaillist`, params);
},
} }
\ No newline at end of file
...@@ -148,6 +148,7 @@ export default { ...@@ -148,6 +148,7 @@ export default {
if(res.success&&res.result) if(res.success&&res.result)
{ {
this.$Message.success("撤销成功"); this.$Message.success("撤销成功");
this.load(this.eid);
this.$emit('on-ok') this.$emit('on-ok')
} }
}) })
......
This diff is collapsed.
...@@ -244,8 +244,8 @@ export default { ...@@ -244,8 +244,8 @@ export default {
}, },
}, },
this.setName(params.row.isSupportingFinish).name this.setName(params.row.isSupportingFinish).name
); )
}, }
}, },
{ {
key: "projectNumber", key: "projectNumber",
...@@ -805,7 +805,7 @@ export default { ...@@ -805,7 +805,7 @@ export default {
}; };
} }
} }
return outPar; return outPar
}, },
openAccessory(row) { openAccessory(row) {
this.orderId = row.id; this.orderId = row.id;
...@@ -817,8 +817,8 @@ export default { ...@@ -817,8 +817,8 @@ export default {
this.title = "申请配套"; this.title = "申请配套";
this.details = () => import("./addAccessory"); this.details = () => import("./addAccessory");
} else { } else {
this.title = "申请单"; this.title = "配套清单";
this.details = () => import("./detailAccessory"); this.details = () => import("./editAccessory");
} }
this.modalAccessory = true; this.modalAccessory = true;
......
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