|
@@ -656,11 +656,11 @@ export default {
|
|
|
if (data) {
|
|
|
websitPurchaseInDetail({ purchaseId: data.purchaseId }).then(res => {
|
|
|
Object.assign(this.formData, {
|
|
|
- items: res.data.items.map(item => ({
|
|
|
+ items: res.data.items.map((item,index) => ({
|
|
|
...item,
|
|
|
retQty: "",
|
|
|
retValue: "",
|
|
|
- isEditRow: false
|
|
|
+ isEditRow: !index
|
|
|
}))
|
|
|
})
|
|
|
})
|