refactor: update 'good' field assignment in StockVerifyDialog to use 'original_outside_sample' for accurate data representation
This commit is contained in:
parent
2895ebff02
commit
1c9c5661ae
@ -51,7 +51,7 @@ const verifyForm = useForm({
|
||||
cutting_result: res.cutting_result,
|
||||
original_sample: res.sample,
|
||||
original_outside_sample: res.original_outside_sample,
|
||||
good: res.cutting_result,
|
||||
good: res.original_outside_sample,
|
||||
reject: 0,
|
||||
})),
|
||||
variant_prices: [] as VariantPriceRow[],
|
||||
@ -67,7 +67,7 @@ watch(open, (isOpen) => {
|
||||
cutting_result: res.cutting_result,
|
||||
original_sample: res.sample,
|
||||
original_outside_sample: res.original_outside_sample,
|
||||
good: res.cutting_result,
|
||||
good: res.original_outside_sample,
|
||||
reject: 0,
|
||||
}));
|
||||
verifyForm.variant_prices = props.cutting.results.map(res => ({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user