|
@@ -1200,6 +1200,7 @@ export default {
|
|
|
(pro) => pro.productNo == item.productNo
|
|
|
);
|
|
|
console.log(item.productNo, productData, this.allProductionOptions);
|
|
|
+ console.log("productData", productData);
|
|
|
item.sliceTypeLabel =
|
|
|
this.sliceTypeOptions.find((k) => k.materielCode == item.sliceType)
|
|
|
?.materielName || "";
|
|
@@ -1936,11 +1937,11 @@ export default {
|
|
|
saleDate && (this.formData.saleDate = new Date(saleDate));
|
|
|
saleOrderEstimatedTime &&
|
|
|
(this.formData.saleOrderEstimatedTime = saleOrderEstimatedTime);
|
|
|
- this.productionTableData = sale_products;
|
|
|
+ // this.productionTableData = sale_products;
|
|
|
this.productIds = sale_products.map((item) => item.saleProductNo);
|
|
|
await this.getDropDownData();
|
|
|
this.productionTableData = sale_products.map((item) => {
|
|
|
- item.productType = this.productionOptions.find(
|
|
|
+ item.productType = this.allProductionOptions.find(
|
|
|
(i) => item.productNo == i.productNo
|
|
|
)?.productType;
|
|
|
return item;
|