Commit 6c8af292 authored by 张海景's avatar 张海景

update:修改申请单数据类型

parent b105c727
......@@ -134,7 +134,7 @@ export default {
itemId:item.itemId,
itemName:item.itemName,
allQuantity: 1,
nextMaintenPeriod: this.$attrs.quantity
nextMaintenPeriod: Number(this.$attrs.quantity)
}
})
this.tmToolRequestItemList = this.detailList.concat(this.addList)
......@@ -159,13 +159,13 @@ export default {
this.detailList = response.data.map(item => {
return {
...item,
allQuantity: item.AllQuantity
allQuantity: Number(item.AllQuantity)
}
});
this.addList = this.addList.map(item => {
return {
...item,
nextMaintenPeriod: this.$attrs.quantity
nextMaintenPeriod: Number(this.$attrs.quantity)
}
})
this.tmToolRequestItemList = this.detailList.concat(this.addList)
......
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