Commit 5bbb1b8c authored by renjintao's avatar renjintao

配套清单ing

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