fix: 修复和完善 Excel 功能。

This commit is contained in:
c
2026-03-19 16:58:10 +08:00
parent bf83b5e3b6
commit d88701f4ee
15 changed files with 546 additions and 220 deletions

View File

@@ -80,6 +80,11 @@ export default {
yes: "Yes",
no: "No",
},
_component: {
baseFormWithTable: {
uploadTip: "Only xlsx/xls/csv files are allowed, max 10MB",
},
},
_prop: {
common: {
tel: "Tel",
@@ -339,6 +344,8 @@ export default {
formStatus: "Audit Status",
customerName: "Customer Name",
customerId: "Customer",
storeNo: "Warehouse",
storeName: "Warehouse",
partNumber: "Part Number",
productSpecs: "Product Specs",
saleCount: "Sale Count",
@@ -754,6 +761,27 @@ export default {
},
sale: {
saleorder: {
select_customerId: "Please select customer",
select_storeNo: "Please select warehouse",
input_formName: "Please enter form name",
input_formMark: "Please enter form remark",
input_formCode: "Please enter form code",
input_partNumber: "Please enter part number",
input_saleCount: "Please enter sale count",
input_price: "Please enter price",
input_saleMark: "Please enter remark",
approve_confirm: "Confirm approval",
approve_success: "Approval success",
approve_fail: "Approval failed",
reject_confirm: "Confirm reject",
reject_success: "Reject success",
reject_fail: "Reject failed",
already_approved: "Sale order already approved",
not_approved: "Sale order not approved",
no_sale_order_items: "Sale order has no items",
cannot_unapprove_with_shipped: "Sale order already shipped, cannot unapprove",
import_success: "Import success",
import_fail: "Import failed",
delete_message: "Delete Order",
},
},
@@ -830,14 +858,17 @@ export default {
add: "Add Transfer",
edit: "Edit Transfer",
stock_check_failed: "Stock check failed",
templateFileName: "Transfer Order Template",
},
warehousereceipt: {
add: "Add Receipt",
edit: "Edit Receipt",
templateFileName: "Warehouse Receipt Template",
},
inventorycount: {
add: "Add Count",
edit: "Edit Count",
templateFileName: "Inventory Count Template",
},
},
production: {
@@ -847,6 +878,7 @@ export default {
showItem: "BOM Items",
baseTitle: "BOM Info",
tableTitle: "BOM Details",
templateFileName: "BOM Template",
},
production_plan: {
add: "Add Plan",
@@ -868,10 +900,12 @@ export default {
baseTitle: "Receipt Basic Info",
tableTitle: "Product Details",
outstockDialog: "Product Outstock",
templateFileName: "Finished Product Receipt Template",
},
finishedproductshipment: {
add: "Add Shipment",
edit: "Edit Shipment",
templateFileName: "Finished Product Shipment Template",
},
},
purchase: {
@@ -881,6 +915,7 @@ export default {
showItem: "Plan Items",
baseTitle: "Purchase Plan Basic Info",
tableTitle: "Purchase Details",
templateFileName: "Purchase Plan Template",
},
purchaseorder: {
add: "Add Purchase Order",
@@ -888,6 +923,7 @@ export default {
showItem: "Order Items",
baseTitle: "Purchase Order Basic Info",
tableTitle: "Order Details",
templateFileName: "Purchase Order Template",
},
},
sale: {
@@ -897,6 +933,7 @@ export default {
showItem: "Sale Details",
baseTitle: "Sale Order Basic Info",
tableTitle: "Sale Details",
templateFileName: "Sale Order Template",
},
repairrecord: {
add: "Add Repair Record",

View File

@@ -80,6 +80,11 @@ export default {
yes: "是",
no: "否",
},
_component: {
baseFormWithTable: {
uploadTip: "只能上传 xlsx/xls/csv 文件,且不超过 10MB",
},
},
_prop: {
common: {
tel: "电话",
@@ -339,6 +344,8 @@ export default {
formStatus: "审核状态",
customerName: "客户名称",
customerId: "客户",
storeNo: "出货仓库",
storeName: "出货仓库",
partNumber: "物料编号",
productSpecs: "物料型号",
saleCount: "销售数量",
@@ -809,6 +816,7 @@ export default {
sale: {
saleorder: {
select_customerId: "请选择客户",
select_storeNo: "请选择出货仓库",
input_formName: "请输入单据名称",
input_formMark: "请输入单据备注",
input_formCode: "请输入单据编号",
@@ -928,6 +936,7 @@ export default {
baseTitle: "调拨单基本信息",
tableTitle: "调拨明细",
stock_check_failed: "库存检测失败",
templateFileName: "调拨单模板",
},
warehousereceipt: {
add: "添加入库单",
@@ -935,6 +944,7 @@ export default {
showItem: "入库明细",
baseTitle: "入库单基本信息",
tableTitle: "入库明细",
templateFileName: "入库单模板",
},
inventorycount: {
add: "添加盘点单",
@@ -942,6 +952,7 @@ export default {
showItem: "盘点明细",
baseTitle: "盘点单基本信息",
tableTitle: "盘点明细",
templateFileName: "盘点单模板",
},
},
production: {
@@ -951,6 +962,7 @@ export default {
showItem: "BOM 明细",
baseTitle: "BOM 基本信息",
tableTitle: "BOM 明细",
templateFileName: "BOM模板",
},
production_plan: {
add: "新增生产计划",
@@ -972,6 +984,7 @@ export default {
baseTitle: "成品入库单基本信息",
tableTitle: "成品明细",
outstockDialog: "成品出货",
templateFileName: "成品入库单模板",
},
finishedproductshipment: {
add: "添加成品出货单",
@@ -979,6 +992,7 @@ export default {
showItem: "成品明细",
baseTitle: "成品出货单基本信息",
tableTitle: "成品明细",
templateFileName: "成品出货单模板",
},
saleorder: {
add: "添加销售订单",
@@ -986,6 +1000,7 @@ export default {
showItem: "销售明细",
baseTitle: "销售订单基本信息",
tableTitle: "销售明细",
templateFileName: "销售订单模板",
},
},
purchase: {
@@ -1001,6 +1016,7 @@ export default {
unitPrice: "单价",
totalPrice: "总价",
purchaseStatus: "采购状态",
templateFileName: "采购计划模板",
},
purchase_order: {
add: "新建采购订单",
@@ -1009,6 +1025,7 @@ export default {
qrcode: "二维码打印",
baseTitle: "采购订单基本信息",
tableTitle: "采购明细",
templateFileName: "采购订单模板",
},
},
sale: {
@@ -1018,6 +1035,7 @@ export default {
showItem: "销售明细",
baseTitle: "销售订单基本信息",
tableTitle: "销售明细",
templateFileName: "销售订单模板",
},
repairrecord: {
add: "添加维修记录",