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的哪个
const list: any = await gatewayV2.store(currentStoreIds).productionOrder(match.params.listingId).all()
const saveList = list.productionOrderItems
console.log(saveList)
const saveLists = saveList.map((v: any) => ({id: v.id, listingId: v.listingId}))
4️⃣编辑计划的条数
5️⃣ 7-up出现了UOM
6️⃣ 跨域问题
7️⃣处理UOM unit_group_id
8️⃣ 设置模块,路由里面的每一个文件外面都套一层classN = "bp"
station组件的设置不生效,添加了
9️⃣丹推荐的歌单