diff --git a/pages/stock/list.vue b/pages/stock/list.vue index cca911b..ca36028 100644 --- a/pages/stock/list.vue +++ b/pages/stock/list.vue @@ -157,7 +157,7 @@ v-if="recoveryBatch.list.length>0" label="采收批次" field="inInventoryBatch" required type="select" :columns="recoveryBatch.list" custom :tip="recoveryBatch.surplus>0?`剩余:${recoveryBatch.surplus}kg`:''" :value="recoveryBatch.value" - @select="recoveryBatch.value=[$event[0].value];recoveryBatch.number=$event[0].surplus;recoveryBatch.surplus=$event[0].surplus;formData.inInventoryBatch=recoveryBatch.value.at(-1)"> + @select="recoveryBatch.value=[$event[0].value];formData.inOutBatchNo=$event[0].batchNo;recoveryBatch.number=$event[0].surplus;recoveryBatch.surplus=$event[0].surplus;formData.inInventoryBatch=recoveryBatch.value.at(-1)"> {{row.batchNo}} {{row.substanceName}} @@ -165,13 +165,13 @@ - +