|
@@ -144,6 +144,8 @@ export default defineComponent({
|
|
|
if (el.key === id) {
|
|
if (el.key === id) {
|
|
|
// 品种id
|
|
// 品种id
|
|
|
result.deliverygoodsid = +(item.key as string).replace('--', '');
|
|
result.deliverygoodsid = +(item.key as string).replace('--', '');
|
|
|
|
|
+ result.enumdicname = el.enumdicname;
|
|
|
|
|
+ result.minivalue = el.minivalue;
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
@@ -207,19 +209,6 @@ export default defineComponent({
|
|
|
}
|
|
}
|
|
|
const result = search(false);
|
|
const result = search(false);
|
|
|
|
|
|
|
|
- const obj = {
|
|
|
|
|
- enumdicname: '',
|
|
|
|
|
- minivalue: 0,
|
|
|
|
|
- };
|
|
|
|
|
- FtDeliveryGoods.value.forEach((el) => {
|
|
|
|
|
- el.children?.forEach((e) => {
|
|
|
|
|
- e.key === selectedFT.value;
|
|
|
|
|
- obj.enumdicname = e.enumdicname;
|
|
|
|
|
- obj.minivalue = e.minivalue;
|
|
|
|
|
- });
|
|
|
|
|
- });
|
|
|
|
|
- Object.assign(result, obj);
|
|
|
|
|
-
|
|
|
|
|
context.emit('buy', result, selectedGoods.value);
|
|
context.emit('buy', result, selectedGoods.value);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|