1️⃣namalizer的数据变化注意: data = data.listing
2️⃣ 处理每行表格的数据
<Col
header="Processed Quantity"
render={(v: any) =>
<div>
<Input
value={processedQty}
placeholder={v.qtyFulfilledInDisplayUnit}
disabled={false}
onChange={(e) => {
const val = e
this.setState(({listings}) => {
listings.filter((v: any) => v.id === id)[0].qtyFulfilledInDisplayUnit = +val
return { listings }
})
}}
/>
</div>
}
/>
3️⃣保存process 数据,这个ID看是Listing的哪个
屏幕快照 2017-12-21 11.47.35.png
const list: any = await gatewayV2.store(currentStoreIds).productionOrder(match.params.listingId).all()
const saveList = list.productionOrderItems
console.log(saveList)
屏幕快照 2017-12-21 11.56.18.png
const saveLists = saveList.map((v: any) => ({id: v.id, listingId: v.listingId}))
屏幕快照 2017-12-21 12.03.43.png
4️⃣编辑计划的条数
edit.png
5️⃣ 7-up出现了UOM
UOM.png
6️⃣ 跨域问题
屏幕快照 2017-12-21 15.39.32.png
7️⃣处理UOM unit_group_id
8️⃣ 设置模块,路由里面的每一个文件外面都套一层classN = "bp"
屏幕快照 2017-12-21 16.28.59.png
station组件的设置不生效,添加了
屏幕快照 2017-12-21 17.33.59.png
9️⃣丹推荐的歌单
DRgw2DvW0AAtDpJ.jpg
网友评论