|
@@ -1270,15 +1270,16 @@ export default {
|
|
payTime: orderInfo.payTime,
|
|
payTime: orderInfo.payTime,
|
|
serviceAmount: res.data.serviceAmount,
|
|
serviceAmount: res.data.serviceAmount,
|
|
saleAmount: res.data.goodsAmount,
|
|
saleAmount: res.data.goodsAmount,
|
|
- schoolId: parseInt(orderInfo.musicGroupId) || " ",
|
|
|
|
|
|
+ schoolId:
|
|
|
|
+ parseInt(orderInfo.musicGroupId) || res.data.coopName || " ",
|
|
applyType: "SELL",
|
|
applyType: "SELL",
|
|
calenderId: res.data.calenderId ? res.data.calenderId : ""
|
|
calenderId: res.data.calenderId ? res.data.calenderId : ""
|
|
}),
|
|
}),
|
|
this.$set(
|
|
this.$set(
|
|
this.form,
|
|
this.form,
|
|
"goodsList",
|
|
"goodsList",
|
|
- res.data.sellOrders.map(item => {
|
|
|
|
- return { id: item.goodsId, number: item.num };
|
|
|
|
|
|
+ res.data.goodsSellDtos.map(item => {
|
|
|
|
+ return { id: item.goodsId, number: item.goodsNum };
|
|
})
|
|
})
|
|
);
|
|
);
|
|
if (orderInfo.userId && !res.data.calenderId) {
|
|
if (orderInfo.userId && !res.data.calenderId) {
|