Commit 01f09286 authored by 张海景's avatar 张海景

update:修改工装夹具领用单编辑逻辑

parent b70bda47
......@@ -470,7 +470,12 @@ export default {
getTmToolRequestUse(toolRequestUseId).then((response) => {
const tmToolRequestUseItemList = response.data.tmToolRequestUseItemList;
this.form = response.data;
this.tmToolRequestList = response.data.tmToolRequestUseItemList
this.tmToolRequestList = response.data.tmToolRequestUseItemList.map(item=> {
return {
...item,
allQuantity: item.allQuantity || 1
}
})
// 请求申请单
// this.queryToolList(this.form.toolRequestId, () => {
this.tmToolRequestList.forEach((item) => {
......
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