优化 产品类型显示

This commit is contained in:
袁锋 2025-11-16 08:56:43 +08:00
parent eb8d5539f9
commit 2998e828ae
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@
style="width: 100%">
<el-table-column prop="productCode" :label="t('createOrder.labelColProductCode')"/>
<el-table-column prop="productName" :label="t('createOrder.labelColProductName')"/>
<el-table-column prop="productTypeName" :label="t('createOrder.labelColProductTypeName')"/>
<el-table-column prop="producer" :label="t('createOrder.labelColProducer')"/>
<el-table-column prop="details" :label="t('createOrder.labelColProductDetails')">
<template #default="scope">
@ -150,12 +151,14 @@ const addRow = (row) => {
if (!that.isBatch) {
row.deliveryDate = that.plansenddate;
}
console.log("row",row)
// @ts-ignore
that.tableData.push({
itemKey: Math.random().toString(36).substring(2),
productId: row.id,
productCode: row.code,
productName: row.name,
productTypeName: row.productTypeName,
producer: row.producer,
cover: row.cover,
unit: row.unit || 'pcs',