Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

feat: POS Support Dialog Summary Return Product #836

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ along with this program. If not, see <https:www.gnu.org/licenses/>.
size="mini"
@click="deleteLine(scope.row)"
/>
<el-button
type="success"
icon="el-icon-edit"
size="mini"
/>
</template>
</el-table-column>
</el-table>
Expand Down Expand Up @@ -467,15 +462,15 @@ export default defineComponent({
} else if (columnName === 'QtyEntered') {
if (isEmptyValue(row.uom.uom)) {
return formatQuantity({
value: row.quantityOrdered
value: row.quantity
})
}
let precision = row.uom.uom.starndard_precision
if (isEmptyValue(precision)) {
precision = 0
}
return formatQuantity({
value: row.quantityOrdered,
value: row.quantity,
precision
})
} else if (columnName === 'UOM') {
Expand Down
Loading