|
|
@@ -143,7 +143,7 @@ export default defineComponent({
|
|
|
item.children?.forEach((el) => {
|
|
|
if (el.key === id) {
|
|
|
// 品种id
|
|
|
- result.deliverygoodsid = item.key;
|
|
|
+ result.deliverygoodsid = +(item.key as string).replace('--', '');
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
@@ -177,7 +177,6 @@ export default defineComponent({
|
|
|
return result;
|
|
|
}
|
|
|
function listingAction() {
|
|
|
- debugger;
|
|
|
if (!selectedFT.value) {
|
|
|
message.warn('请选中商品!');
|
|
|
return;
|
|
|
@@ -220,6 +219,7 @@ export default defineComponent({
|
|
|
});
|
|
|
});
|
|
|
Object.assign(result, obj);
|
|
|
+
|
|
|
context.emit('buy', result, selectedGoods.value);
|
|
|
}
|
|
|
}
|