基础信息下页面国际化
This commit is contained in:
@@ -625,6 +625,219 @@ export default {
|
||||
cargoSpaceStatus:'货位状态'
|
||||
|
||||
},
|
||||
|
||||
searchViewStockSecure: {
|
||||
stockId: 'Stock ID',
|
||||
cargoSpaceId: 'Cargo Space ID',
|
||||
stockStatus: 'Stock Status',
|
||||
productStatus: 'Product Status',
|
||||
lotNo: 'Lot No',
|
||||
inDate: 'In Date',
|
||||
backDate: 'Back Date',
|
||||
productGuid: 'Product GUID',
|
||||
quantity: 'Quantity',
|
||||
jobId: 'Job ID',
|
||||
trayCode: 'Tray Code',
|
||||
outQuantity: 'Out Quantity',
|
||||
stockinDetailId: 'Stock-in Detail ID',
|
||||
stockinId: 'Stock-in ID',
|
||||
inType: 'In Type',
|
||||
inputStockId: 'Please enter stock ID',
|
||||
inputCargoSpaceId: 'Please enter cargo space ID',
|
||||
selectStockStatus: 'Please select stock status',
|
||||
selectProductStatus: 'Please select product status',
|
||||
inputLotNo: 'Please enter lot No',
|
||||
inputInDate: 'Please enter in date',
|
||||
inputBackDate: 'Please enter back date',
|
||||
inputProductGuid: 'Please enter product GUID',
|
||||
inputContent: 'Please enter content',
|
||||
inputJobId: 'Please enter job ID',
|
||||
inputTrayCode: 'Please enter tray code',
|
||||
inputStockinDetailId: 'Please enter stock-in detail ID',
|
||||
inputStockinId: 'Please enter stock-in ID',
|
||||
selectInType: 'Please select in type',
|
||||
confirm: 'Confirm',
|
||||
cancel: 'Cancel',
|
||||
stockIdRequired: 'Stock ID is required',
|
||||
addTitle: 'Add Stock Secure Query',
|
||||
editTitle: 'Edit Stock Secure Query',
|
||||
addSuccess: 'Added successfully',
|
||||
editSuccess: 'Modified successfully',
|
||||
deleteSuccess: 'Deleted successfully',
|
||||
deleteConfirm: 'Are you sure you want to delete the stock secure query with ID "{stockIds}"?'
|
||||
},
|
||||
|
||||
// *************Supplier Management***************
|
||||
BasSupplier: {
|
||||
// Fields
|
||||
supplierNo: 'Supplier No.',
|
||||
supplierGroupNo: 'Supplier Group No.',
|
||||
supplierName: 'Supplier Name',
|
||||
simpleName: 'Short Name',
|
||||
useable: 'Useable',
|
||||
remark: 'Remark',
|
||||
supplierArae: 'Area Category',
|
||||
taxpayerRegistrationNumber: 'Taxpayer Registration No.',
|
||||
country: 'Country',
|
||||
timeZone: 'Time Zone',
|
||||
dataFormat: 'Data Format',
|
||||
receivingCountry: 'Receiving Country',
|
||||
taxCategory: 'Tax Category',
|
||||
legalPerson: 'Legal Person',
|
||||
registeredCapital: 'Registered Capital',
|
||||
address: 'Company Address',
|
||||
contactName: 'Contact Name',
|
||||
contactNumber: 'Contact Number',
|
||||
operation: 'Operation',
|
||||
|
||||
// Input placeholders
|
||||
inputSupplierNo: 'Please input supplier No.',
|
||||
inputSupplierGroupNo: 'Please input supplier group No.',
|
||||
inputSupplierName: 'Please input supplier name',
|
||||
inputSimpleName: 'Please input short name',
|
||||
inputUseable: 'Please input useable status',
|
||||
inputRemark: 'Please input remark',
|
||||
inputSupplierArae: 'Please input area category',
|
||||
inputTaxpayerRegistrationNumber: 'Please input taxpayer registration No.',
|
||||
inputCountry: 'Please input country',
|
||||
inputTimeZone: 'Please input time zone',
|
||||
inputDataFormat: 'Please input data format',
|
||||
inputReceivingCountry: 'Please input receiving country',
|
||||
inputTaxCategory: 'Please input tax category',
|
||||
inputLegalPerson: 'Please input legal person',
|
||||
inputRegisteredCapital: 'Please input registered capital',
|
||||
inputAddress: 'Please input company address',
|
||||
inputContactName: 'Please input contact name',
|
||||
inputContactNumber: 'Please input contact number',
|
||||
|
||||
// Button text
|
||||
search: 'Search',
|
||||
reset: 'Reset',
|
||||
add: 'Add',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
export: 'Export',
|
||||
confirm: 'Confirm',
|
||||
cancel: 'Cancel',
|
||||
|
||||
// Dialog titles
|
||||
addTitle: 'Add Supplier',
|
||||
editTitle: 'Edit Supplier',
|
||||
|
||||
// Success messages
|
||||
addSuccess: 'Added successfully',
|
||||
editSuccess: 'Modified successfully',
|
||||
deleteSuccess: 'Deleted successfully',
|
||||
|
||||
// Delete confirmation
|
||||
deleteConfirm: 'Are you sure to delete the supplier with ID {ids}?',
|
||||
|
||||
// Form validation
|
||||
fidRequired: 'FID is required',
|
||||
useableRequired: 'Useable status is required'
|
||||
},
|
||||
|
||||
// *************Material Management***************
|
||||
BasProduct: {
|
||||
productId: 'Material Code',
|
||||
inputProductId: 'Please input material code',
|
||||
productName: 'Material Name',
|
||||
inputProductName: 'Please input material name',
|
||||
spare1: 'English Description',
|
||||
inputSpare1: 'Please input English description',
|
||||
unit: 'Unit',
|
||||
inputUnit: 'Please input unit',
|
||||
spare2: 'Net Weight per Unit (KG)',
|
||||
inputSpare2: 'Please input net weight per unit',
|
||||
spare3: 'Carton No.',
|
||||
inputSpare3: 'Please input carton No.',
|
||||
spare4: 'Packing Method',
|
||||
inputSpare4: 'Please input packing method',
|
||||
spare5: 'Length (MM)',
|
||||
inputSpare5: 'Please input length',
|
||||
spare6: 'Width (MM)',
|
||||
inputSpare6: 'Please input width',
|
||||
spare7: 'Height (MM)',
|
||||
inputSpare7: 'Please input height',
|
||||
spare8: 'Volume (m³)',
|
||||
inputSpare8: 'Please input volume',
|
||||
price: 'Price',
|
||||
inputPrice: 'Please input price',
|
||||
remark: 'Description',
|
||||
inputRemark: 'Please input description',
|
||||
search: 'Search',
|
||||
reset: 'Reset',
|
||||
add: 'Add',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
export: 'Export',
|
||||
confirm: 'Confirm',
|
||||
cancel: 'Cancel',
|
||||
operation: 'Operation',
|
||||
addTitle: 'Add Material',
|
||||
editTitle: 'Edit Material',
|
||||
deleteConfirm: 'Are you sure to delete the material with ID "{productGuids}"?',
|
||||
addSuccess: 'Added successfully',
|
||||
editSuccess: 'Modified successfully',
|
||||
deleteSuccess: 'Deleted successfully',
|
||||
productIdRequired: 'Material code cannot be empty',
|
||||
productNameRequired: 'Material name cannot be empty',
|
||||
unitRequired: 'Unit cannot be empty',
|
||||
priceRequired: 'Price cannot be empty'
|
||||
},
|
||||
|
||||
// *************Supplier Management***************
|
||||
BasPort: {
|
||||
portName: 'Port Name',
|
||||
inputPortName: 'Please input port name',
|
||||
portType: 'Port Type',
|
||||
inputPortType: 'Please input port type',
|
||||
portDesc: 'Port Description',
|
||||
inputPortDesc: 'Please input port description',
|
||||
search: 'Search',
|
||||
reset: 'Reset',
|
||||
add: 'Add',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
export: 'Export',
|
||||
id: 'ID',
|
||||
createMan: 'Creator',
|
||||
createTime: 'Create Time',
|
||||
operation: 'Operation',
|
||||
confirm: 'Confirm',
|
||||
cancel: 'Cancel',
|
||||
addTitle: 'Add Base Port',
|
||||
editTitle: 'Edit Base Port',
|
||||
addSuccess: 'Added successfully',
|
||||
editSuccess: 'Modified successfully',
|
||||
deleteSuccess: 'Deleted successfully',
|
||||
deleteConfirm: 'Are you sure to delete the base port with ID "{ids}"?',
|
||||
productCode: 'Product Code',
|
||||
inputProductCode: 'Please input product code',
|
||||
productName: 'Product Name',
|
||||
inputProductName: 'Please input product name',
|
||||
bindStatus: 'Bind Status',
|
||||
selectBindStatus: 'Please select status',
|
||||
batchBind: 'Batch Bind',
|
||||
batchUnbind: 'Batch Unbind',
|
||||
productEnDesc: 'English Description',
|
||||
unit: 'Unit',
|
||||
netWeight: 'Net Weight(KG)',
|
||||
boxNo: 'Box No.',
|
||||
packWay: 'Packing Method',
|
||||
length: 'Length(MM)',
|
||||
width: 'Width(MM)',
|
||||
height: 'Height(MM)',
|
||||
volume: 'Volume(m³)',
|
||||
price: 'Price',
|
||||
description: 'Description',
|
||||
bindProduct: 'Bind Product',
|
||||
unbindProduct: 'Unbind Product',
|
||||
bindSuccess: 'Bound successfully',
|
||||
unbindSuccess: 'Unbound successfully',
|
||||
selectProduct: 'Select Product'
|
||||
},
|
||||
|
||||
// *************库存操作记录***************
|
||||
stockRecord: {
|
||||
stockId: 'Stock ID',
|
||||
@@ -830,8 +1043,19 @@ export default {
|
||||
customerManagement:'customerManagement',
|
||||
supplierManagement:'supplierManagement',
|
||||
materialManagement:'materialManagement',
|
||||
basicPointLocation:'basicPointLocation'
|
||||
|
||||
basicPointLocation:'basicPointLocation',
|
||||
//*************** 查询统计*************
|
||||
queryStatistics:'queryStatistics',
|
||||
inventoryDetailQuery:'inventoryDetailQuery',
|
||||
inventorySummaryQuery:'inventorySummaryQuery',
|
||||
inboundDocumentHistory:'inboundDocumentHistory',
|
||||
outboundDocumentHistory:'outboundDocumentHistory',
|
||||
inboundTaskFlow:'inboundTaskFlow',
|
||||
outboundTaskFlow:'outboundTaskFlow',
|
||||
flatInventoryFlow:'flatInventoryFlow',
|
||||
flatOutboundFlow:'flatOutboundFlow',
|
||||
safetyStockInquiry:'safetyStockInquiry',
|
||||
warningInventoryInquiry:'warningInventoryInquiry'
|
||||
},
|
||||
//=====================仓库(库区)管理=====================
|
||||
warehouse: {
|
||||
|
||||
@@ -632,6 +632,218 @@ export default {
|
||||
|
||||
|
||||
},
|
||||
|
||||
searchViewStockSecure: {
|
||||
stockId: '库存ID',
|
||||
cargoSpaceId: '货位ID',
|
||||
stockStatus: '库存状态',
|
||||
productStatus: '物料状态',
|
||||
lotNo: '批次号',
|
||||
inDate: '入库时间',
|
||||
backDate: '回流时间',
|
||||
productGuid: '物料GUID',
|
||||
quantity: '库存数量',
|
||||
jobId: '作业ID',
|
||||
trayCode: '托盘条码',
|
||||
outQuantity: '出库数量',
|
||||
stockinDetailId: '入库子单ID',
|
||||
stockinId: '入库主单',
|
||||
inType: '入库类型',
|
||||
inputStockId: '请输入库存ID',
|
||||
inputCargoSpaceId: '请输入货位ID',
|
||||
selectStockStatus: '请选择库存状态',
|
||||
selectProductStatus: '请选择物料状态',
|
||||
inputLotNo: '请输入批次号',
|
||||
inputInDate: '请输入入库时间',
|
||||
inputBackDate: '请输入回流时间',
|
||||
inputProductGuid: '请输入物料GUID',
|
||||
inputContent: '请输入内容',
|
||||
inputJobId: '请输入作业ID',
|
||||
inputTrayCode: '请输入托盘条码',
|
||||
inputStockinDetailId: '请输入入库子单ID',
|
||||
inputStockinId: '请输入入库主单',
|
||||
selectInType: '请选择入库类型',
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
stockIdRequired: '库存ID不能为空',
|
||||
addTitle: '添加安全库存查询',
|
||||
editTitle: '修改安全库存查询',
|
||||
addSuccess: '新增成功',
|
||||
editSuccess: '修改成功',
|
||||
deleteSuccess: '删除成功',
|
||||
deleteConfirm: '是否确认删除安全库存查询编号为"{stockIds}"的数据项?'
|
||||
},
|
||||
// *************供应商管理***************
|
||||
BasSupplier: {
|
||||
// 字段
|
||||
supplierNo: '供应商编号',
|
||||
supplierGroupNo: '供应商组编号',
|
||||
supplierName: '供应商名称',
|
||||
simpleName: '简称',
|
||||
useable: '是否可用',
|
||||
remark: '备注',
|
||||
supplierArae: '地区分类',
|
||||
taxpayerRegistrationNumber: '纳税人登记号',
|
||||
country: '国家',
|
||||
timeZone: '时区',
|
||||
dataFormat: '数据格式',
|
||||
receivingCountry: '收货国家',
|
||||
taxCategory: '税类',
|
||||
legalPerson: '法人',
|
||||
registeredCapital: '注册资金',
|
||||
address: '企业地址',
|
||||
contactName: '联系人姓名',
|
||||
contactNumber: '联系电话',
|
||||
operation: '操作',
|
||||
|
||||
// 输入框提示
|
||||
inputSupplierNo: '请输入供应商编号',
|
||||
inputSupplierGroupNo: '请输入供应商组编号',
|
||||
inputSupplierName: '请输入供应商名称',
|
||||
inputSimpleName: '请输入简称',
|
||||
inputUseable: '请输入是否可用',
|
||||
inputRemark: '请输入备注',
|
||||
inputSupplierArae: '请输入地区分类',
|
||||
inputTaxpayerRegistrationNumber: '请输入纳税人登记号',
|
||||
inputCountry: '请输入国家',
|
||||
inputTimeZone: '请输入时区',
|
||||
inputDataFormat: '请输入数据格式',
|
||||
inputReceivingCountry: '请输入收货国家',
|
||||
inputTaxCategory: '请输入税类',
|
||||
inputLegalPerson: '请输入法人',
|
||||
inputRegisteredCapital: '请输入注册资金',
|
||||
inputAddress: '请输入企业地址',
|
||||
inputContactName: '请输入联系人姓名',
|
||||
inputContactNumber: '请输入联系电话',
|
||||
|
||||
// 按钮文本
|
||||
search: '搜索',
|
||||
reset: '重置',
|
||||
add: '新增',
|
||||
edit: '修改',
|
||||
delete: '删除',
|
||||
export: '导出',
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
|
||||
// 对话框标题
|
||||
addTitle: '添加供应商管理',
|
||||
editTitle: '修改供应商管理',
|
||||
|
||||
// 成功提示
|
||||
addSuccess: '新增成功',
|
||||
editSuccess: '修改成功',
|
||||
deleteSuccess: '删除成功',
|
||||
|
||||
// 删除确认提示
|
||||
deleteConfirm: '是否确认删除供应商管理编号为{ids}的数据项?',
|
||||
|
||||
// 表单校验提示
|
||||
fidRequired: 'fid不能为空',
|
||||
useableRequired: '是否可用不能为空'
|
||||
},
|
||||
|
||||
// *************物料管理***************
|
||||
BasProduct: {
|
||||
productId: '物料编码',
|
||||
inputProductId: '请输入物料编码',
|
||||
productName: '物料名称',
|
||||
inputProductName: '请输入物料名称',
|
||||
spare1: '英文描述',
|
||||
inputSpare1: '请输入英文描述',
|
||||
unit: '单位',
|
||||
inputUnit: '请输入单位',
|
||||
spare2: '单件净重KG',
|
||||
inputSpare2: '请输入单件净重',
|
||||
spare3: '箱号',
|
||||
inputSpare3: '请输入箱号',
|
||||
spare4: '包装方式',
|
||||
inputSpare4: '请输入包装方式',
|
||||
spare5: '长MM',
|
||||
inputSpare5: '请输入长度',
|
||||
spare6: '宽MM',
|
||||
inputSpare6: '请输入宽度',
|
||||
spare7: '高MM',
|
||||
inputSpare7: '请输入高度',
|
||||
spare8: '体积m³',
|
||||
inputSpare8: '请输入体积m³',
|
||||
price: '价格',
|
||||
inputPrice: '请输入价格',
|
||||
remark: '描述',
|
||||
inputRemark: '请输入描述',
|
||||
search: '搜索',
|
||||
reset: '重置',
|
||||
add: '新增',
|
||||
edit: '修改',
|
||||
delete: '删除',
|
||||
export: '导出',
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
operation: '操作',
|
||||
addTitle: '添加物料管理',
|
||||
editTitle: '修改物料管理',
|
||||
deleteConfirm: '是否确认删除物料管理编号为"{productGuids}"的数据项?',
|
||||
addSuccess: '新增成功',
|
||||
editSuccess: '修改成功',
|
||||
deleteSuccess: '删除成功',
|
||||
productIdRequired: '物料编码不能为空',
|
||||
productNameRequired: '物料名称不能为空',
|
||||
unitRequired: '单位不能为空',
|
||||
priceRequired: '价格不能为空'
|
||||
},
|
||||
|
||||
// *************供应商管理***************
|
||||
BasPort: {
|
||||
portName: '点位名称',
|
||||
inputPortName: '请输入点位名称',
|
||||
portType: '点位分类',
|
||||
inputPortType: '请输入点位分类',
|
||||
portDesc: '点位描述',
|
||||
inputPortDesc: '请输入点位描述',
|
||||
search: '搜索',
|
||||
reset: '重置',
|
||||
add: '新增',
|
||||
edit: '修改',
|
||||
delete: '删除',
|
||||
export: '导出',
|
||||
id: 'ID',
|
||||
createMan: '创建人',
|
||||
createTime: '创建时间',
|
||||
operation: '操作',
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
addTitle: '添加基础点位',
|
||||
editTitle: '修改基础点位',
|
||||
addSuccess: '新增成功',
|
||||
editSuccess: '修改成功',
|
||||
deleteSuccess: '删除成功',
|
||||
deleteConfirm: '是否确认删除基础点位编号为"{ids}"的数据项?',
|
||||
productCode: '物料编码',
|
||||
inputProductCode: '请输入物料编码',
|
||||
productName: '物料名称',
|
||||
inputProductName: '请输入物料名称',
|
||||
bindStatus: '是否绑定',
|
||||
selectBindStatus: '请选择状态',
|
||||
batchBind: '批量绑定',
|
||||
batchUnbind: '批量解绑',
|
||||
productEnDesc: '英文描述',
|
||||
unit: '单位',
|
||||
netWeight: '单件净重KG',
|
||||
boxNo: '箱号',
|
||||
packWay: '包装方式',
|
||||
length: '长MM',
|
||||
width: '宽MM',
|
||||
height: '高MM',
|
||||
volume: '体积m³',
|
||||
price: '价格',
|
||||
description: '描述',
|
||||
bindProduct: '绑定物料',
|
||||
unbindProduct: '删除物料',
|
||||
bindSuccess: '绑定成功',
|
||||
unbindSuccess: '解绑成功',
|
||||
selectProduct: '选择物料'
|
||||
},
|
||||
|
||||
// *************库存操作记录***************
|
||||
stockRecord: {
|
||||
stockId: '库存编码',
|
||||
@@ -843,7 +1055,20 @@ export default {
|
||||
customerManagement:'客户管理',
|
||||
supplierManagement:'供应商管理',
|
||||
materialManagement:'物料管理',
|
||||
basicPointLocation:'基础点位'
|
||||
basicPointLocation:'基础点位',
|
||||
//*************** 查询统计*************
|
||||
queryStatistics:'查询统计',
|
||||
inventoryDetailQuery:'库存明细查询',
|
||||
inventorySummaryQuery:'库存汇总查询',
|
||||
inboundDocumentHistory:'入库单据历史',
|
||||
outboundDocumentHistory:'出库单据历史',
|
||||
inboundTaskFlow:'入库作业流水',
|
||||
outboundTaskFlow:'出库作业流水',
|
||||
flatInventoryFlow:'平库入库流水',
|
||||
flatOutboundFlow:'平库出库流水',
|
||||
safetyStockInquiry:'安全库存查询',
|
||||
warningInventoryInquiry:'预警库存查询'
|
||||
|
||||
|
||||
},
|
||||
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||
<el-form-item label="物料编码" prop="productId">
|
||||
<el-form-item :label="$t('BasProduct.productId')" prop="productId"> <!-- 物料编码 -->
|
||||
<el-input
|
||||
v-model="queryParams.productId"
|
||||
placeholder="请输入物料编码"
|
||||
:placeholder="$t('BasProduct.inputProductId')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="中文描述" prop="productName">
|
||||
<el-form-item :label="$t('BasProduct.productName')" prop="productName"> <!-- 中文描述 -->
|
||||
<el-input
|
||||
v-model="queryParams.productName"
|
||||
placeholder="请输入中文描述"
|
||||
:placeholder="$t('BasProduct.inputProductName')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="英文描述" prop="spare1">
|
||||
<el-form-item :label="$t('BasProduct.spare1')" prop="spare1"> <!-- 英文描述 -->
|
||||
<el-input
|
||||
v-model="queryParams.spare1"
|
||||
placeholder="请输入英文描述"
|
||||
:placeholder="$t('BasProduct.inputSpare1')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
@@ -33,10 +33,10 @@
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="单位" prop="unit">
|
||||
<el-form-item :label="$t('BasProduct.unit')" prop="unit"> <!-- 单位 -->
|
||||
<el-input
|
||||
v-model="queryParams.unit"
|
||||
placeholder="请输入单位"
|
||||
:placeholder="$t('BasProduct.inputUnit')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
@@ -59,34 +59,34 @@
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>-->
|
||||
<!-- <el-form-item label="箱号" prop="spare3">
|
||||
<el-input
|
||||
v-model="queryParams.spare3"
|
||||
placeholder="请输入箱号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="包装方式" prop="spare4">
|
||||
<el-input
|
||||
v-model="queryParams.spare4"
|
||||
placeholder="请输入包装方式"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="价格" prop="price">
|
||||
<!-- <el-form-item :label="$t('BasProduct.spare3')" prop="spare3"> <!– 箱号 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.spare3"-->
|
||||
<!-- :placeholder="$t('BasProduct.inputSpare3')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('BasProduct.spare4')" prop="spare4"> <!– 包装方式 –>-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.spare4"-->
|
||||
<!-- :placeholder="$t('BasProduct.inputSpare4')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item :label="$t('BasProduct.price')" prop="price"> <!-- 价格 -->
|
||||
<el-input
|
||||
v-model="queryParams.price"
|
||||
placeholder="请输入价格"
|
||||
:placeholder="$t('BasProduct.inputPrice')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="描述" prop="remark">
|
||||
<el-form-item :label="$t('BasProduct.remark')" prop="remark"> <!-- 描述 -->
|
||||
<el-input
|
||||
v-model="queryParams.remark"
|
||||
placeholder="请输入描述"
|
||||
:placeholder="$t('BasProduct.inputRemark')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
@@ -148,8 +148,8 @@
|
||||
/>
|
||||
</el-form-item>-->
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{$t('BasProduct.search')}}</el-button> <!-- 搜索 -->
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{$t('BasProduct.reset')}}</el-button> <!-- 重置 -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['bas:BasProduct:add']"
|
||||
>新增</el-button>
|
||||
>{{$t('BasProduct.add')}}</el-button> <!-- 新增 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -173,7 +173,7 @@
|
||||
:disabled="single"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['bas:BasProduct:edit']"
|
||||
>修改</el-button>
|
||||
>{{$t('BasProduct.edit')}}</el-button> <!-- 修改 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -184,7 +184,7 @@
|
||||
:disabled="multiple"
|
||||
@click="handleDelete"
|
||||
v-hasPermi="['bas:BasProduct:remove']"
|
||||
>删除</el-button>
|
||||
>{{$t('BasProduct.delete')}}</el-button> <!-- 删除 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -194,7 +194,7 @@
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['bas:BasProduct:export']"
|
||||
>导出</el-button>
|
||||
>{{$t('BasProduct.export')}}</el-button> <!-- 导出 -->
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
@@ -202,22 +202,22 @@
|
||||
<el-table v-loading="loading" :data="BasProductList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<!-- <el-table-column label="主键" align="center" prop="productGuid" />-->
|
||||
<el-table-column label="物料编码" align="center" prop="productId" />
|
||||
<el-table-column label="物料名称" align="center" prop="productName" />
|
||||
<el-table-column label="英文描述" align="center" prop="spare1"/>
|
||||
<el-table-column label="单位" align="center" prop="unit" />
|
||||
<el-table-column label="单件净重KG" align="center" prop="spare2" />
|
||||
<!-- <el-table-column label="箱号" align="center" prop="spare3" />-->
|
||||
<!-- <el-table-column label="包装方式" align="center" prop="spare4" />-->
|
||||
<el-table-column label="长MM" align="center" prop="spare5" />
|
||||
<el-table-column label="宽MM" align="center" prop="spare6" />
|
||||
<el-table-column label="高MM" align="center" prop="spare7" />
|
||||
<el-table-column label="体积m³" align="center" prop="spare8" />
|
||||
<el-table-column :label="$t('BasProduct.productId')" align="center" prop="productId" /> <!-- 物料编码 -->
|
||||
<el-table-column :label="$t('BasProduct.productName')" align="center" prop="productName" /> <!-- 物料名称 -->
|
||||
<el-table-column :label="$t('BasProduct.spare1')" align="center" prop="spare1"/> <!-- 英文描述 -->
|
||||
<el-table-column :label="$t('BasProduct.unit')" align="center" prop="unit" /> <!-- 单位 -->
|
||||
<el-table-column :label="$t('BasProduct.spare2')" align="center" prop="spare2" /> <!-- 单件净重KG -->
|
||||
<!-- <el-table-column :label="$t('BasProduct.spare3')" align="center" prop="spare3" /> <!– 箱号 –>-->
|
||||
<!-- <el-table-column :label="$t('BasProduct.spare4')" align="center" prop="spare4" /> <!– 包装方式 –>-->
|
||||
<el-table-column :label="$t('BasProduct.spare5')" align="center" prop="spare5" /> <!-- 长MM -->
|
||||
<el-table-column :label="$t('BasProduct.spare6')" align="center" prop="spare6" /> <!-- 宽MM -->
|
||||
<el-table-column :label="$t('BasProduct.spare7')" align="center" prop="spare7" /> <!-- 高MM -->
|
||||
<el-table-column :label="$t('BasProduct.spare8')" align="center" prop="spare8" /> <!-- 体积m³ -->
|
||||
<!-- <el-table-column label="净重KG" align="center" prop="spare8" />
|
||||
<el-table-column label="毛重KG" align="center" prop="spare9" />-->
|
||||
<el-table-column label="价格" align="center" prop="price" />
|
||||
<el-table-column label="描述" align="center" prop="remark" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<el-table-column :label="$t('BasProduct.price')" align="center" prop="price" /> <!-- 价格 -->
|
||||
<el-table-column :label="$t('BasProduct.remark')" align="center" prop="remark" /> <!-- 描述 -->
|
||||
<el-table-column :label="$t('BasProduct.operation')" align="center" class-name="small-padding fixed-width"> <!-- 操作 -->
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
@@ -225,14 +225,14 @@
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['bas:BasProduct:edit']"
|
||||
>修改</el-button>
|
||||
>{{$t('BasProduct.edit')}}</el-button> <!-- 修改 -->
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['bas:BasProduct:remove']"
|
||||
>删除</el-button>
|
||||
>{{$t('BasProduct.delete')}}</el-button> <!-- 删除 -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -248,38 +248,38 @@
|
||||
<!-- 添加或修改物料管理对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px" style="max-height: 500px; overflow-y: auto;">
|
||||
<el-form-item label="物料编码" prop="productId">
|
||||
<el-input v-model="form.productId" placeholder="请输入物料编码" />
|
||||
<el-form-item :label="$t('BasProduct.productId')" prop="productId"> <!-- 物料编码 -->
|
||||
<el-input v-model="form.productId" :placeholder="$t('BasProduct.inputProductId')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="物料名称" prop="productName">
|
||||
<el-input v-model="form.productName" placeholder="请输入物料名称" />
|
||||
<el-form-item :label="$t('BasProduct.productName')" prop="productName"> <!-- 物料名称 -->
|
||||
<el-input v-model="form.productName" :placeholder="$t('BasProduct.inputProductName')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="英文描述" prop="spare1">
|
||||
<el-input v-model="form.spare1" placeholder="请输入英文描述" />
|
||||
<el-form-item :label="$t('BasProduct.spare1')" prop="spare1"> <!-- 英文描述 -->
|
||||
<el-input v-model="form.spare1" :placeholder="$t('BasProduct.inputSpare1')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="单位" prop="unit">
|
||||
<el-input v-model="form.unit" placeholder="请输入单位" />
|
||||
<el-form-item :label="$t('BasProduct.unit')" prop="unit"> <!-- 单位 -->
|
||||
<el-input v-model="form.unit" :placeholder="$t('BasProduct.inputUnit')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="单件净重KG" prop="spare2">
|
||||
<el-input v-model="form.spare2" placeholder="请输入单件净重" />
|
||||
<el-form-item :label="$t('BasProduct.spare2')" prop="spare2"> <!-- 单件净重KG -->
|
||||
<el-input v-model="form.spare2" :placeholder="$t('BasProduct.inputSpare2')" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="箱号" prop="spare3">
|
||||
<el-input v-model="form.spare3" placeholder="请输入箱号" />
|
||||
<!-- <el-form-item :label="$t('BasProduct.spare3')" prop="spare3"> <!– 箱号 –>-->
|
||||
<!-- <el-input v-model="form.spare3" :placeholder="$t('BasProduct.inputSpare3')" />-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item :label="$t('BasProduct.spare4')" prop="spare4"> <!– 包装方式 –>-->
|
||||
<!-- <el-input v-model="form.spare4" :placeholder="$t('BasProduct.inputSpare4')" />-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item :label="$t('BasProduct.spare5')" prop="spare5"> <!-- 长MM -->
|
||||
<el-input v-model="form.spare5" :placeholder="$t('BasProduct.inputSpare5')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="包装方式" prop="spare4">
|
||||
<el-input v-model="form.spare4" placeholder="请输入包装方式" />
|
||||
</el-form-item>-->
|
||||
<el-form-item label="长MM" prop="spare5">
|
||||
<el-input v-model="form.spare5" placeholder="请输入长度" />
|
||||
<el-form-item :label="$t('BasProduct.spare6')" prop="spare6"> <!-- 宽MM -->
|
||||
<el-input v-model="form.spare6" :placeholder="$t('BasProduct.inputSpare6')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="宽MM" prop="spare6">
|
||||
<el-input v-model="form.spare6" placeholder="请输入宽度" />
|
||||
<el-form-item :label="$t('BasProduct.spare7')" prop="spare7"> <!-- 高MM -->
|
||||
<el-input v-model="form.spare7" :placeholder="$t('BasProduct.inputSpare7')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="高MM" prop="spare7">
|
||||
<el-input v-model="form.spare7" placeholder="请输入高度" />
|
||||
</el-form-item>
|
||||
<el-form-item label="体积m³" prop="spare8">
|
||||
<el-input v-model="form.spare8" placeholder="请输入体积m³" />
|
||||
<el-form-item :label="$t('BasProduct.spare8')" prop="spare8"> <!-- 体积m³ -->
|
||||
<el-input v-model="form.spare8" :placeholder="$t('BasProduct.inputSpare8')" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="净重KG" prop="spare8">
|
||||
<el-input v-model="form.spare8" placeholder="请输入净重" />
|
||||
@@ -287,16 +287,16 @@
|
||||
<el-form-item label="毛重KG" prop="spare9">
|
||||
<el-input v-model="form.spare9" placeholder="请输入毛重" />
|
||||
</el-form-item>-->
|
||||
<el-form-item label="价格" prop="price">
|
||||
<el-input v-model="form.price" placeholder="请输入价格" />
|
||||
<el-form-item :label="$t('BasProduct.price')" prop="price"> <!-- 价格 -->
|
||||
<el-input v-model="form.price" :placeholder="$t('BasProduct.inputPrice')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="描述" prop="remark">
|
||||
<el-input v-model="form.remark" placeholder="请输入描述" />
|
||||
<el-form-item :label="$t('BasProduct.remark')" prop="remark"> <!-- 描述 -->
|
||||
<el-input v-model="form.remark" :placeholder="$t('BasProduct.inputRemark')" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
<el-button type="primary" @click="submitForm">{{$t('BasProduct.confirm')}}</el-button> <!-- 确定 -->
|
||||
<el-button @click="cancel">{{$t('BasProduct.cancel')}}</el-button> <!-- 取消 -->
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -351,16 +351,16 @@ export default {
|
||||
// 表单校验
|
||||
rules: {
|
||||
productId: [
|
||||
{ required: true, message: "物料编码不能为空", trigger: "blur" }
|
||||
{ required: true, message: this.$t('BasProduct.productIdRequired'), trigger: "blur" }
|
||||
],
|
||||
productName: [
|
||||
{ required: true, message: "物料名称不能为空", trigger: "blur" }
|
||||
{ required: true, message: this.$t('BasProduct.productNameRequired'), trigger: "blur" }
|
||||
],
|
||||
unit: [
|
||||
{ required: true, message: "单位不能为空", trigger: "blur" }
|
||||
{ required: true, message: this.$t('BasProduct.unitRequired'), trigger: "blur" }
|
||||
],
|
||||
price: [
|
||||
{ required: true, message: "价格不能为空", trigger: "blur" }
|
||||
{ required: true, message: this.$t('BasProduct.priceRequired'), trigger: "blur" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -454,7 +454,7 @@ export default {
|
||||
handleAdd() {
|
||||
this.reset()
|
||||
this.open = true
|
||||
this.title = "添加物料管理"
|
||||
this.title = this.$t('BasProduct.addTitle')
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
@@ -463,7 +463,7 @@ export default {
|
||||
getBasProduct(productGuid).then(response => {
|
||||
this.form = response.data
|
||||
this.open = true
|
||||
this.title = "修改物料管理"
|
||||
this.title = this.$t('BasProduct.editTitle')
|
||||
})
|
||||
},
|
||||
/** 提交按钮 */
|
||||
@@ -472,13 +472,13 @@ export default {
|
||||
if (valid) {
|
||||
if (this.form.productGuid != null) {
|
||||
updateBasProduct(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功")
|
||||
this.$modal.msgSuccess(this.$t('BasProduct.editSuccess'))
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
} else {
|
||||
addBasProduct(this.form).then(response => {
|
||||
this.$modal.msgSuccess("新增成功")
|
||||
this.$modal.msgSuccess(this.$t('BasProduct.addSuccess'))
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
@@ -489,11 +489,11 @@ export default {
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const productGuids = row.productGuid || this.ids
|
||||
this.$modal.confirm('是否确认删除物料管理编号为"' + productGuids + '"的数据项?').then(function() {
|
||||
this.$modal.confirm(this.$t('BasProduct.deleteConfirm', { productGuids: productGuids })).then(function() {
|
||||
return delBasProduct(productGuids)
|
||||
}).then(() => {
|
||||
this.getList()
|
||||
this.$modal.msgSuccess("删除成功")
|
||||
this.$modal.msgSuccess(this.$t('BasProduct.deleteSuccess'))
|
||||
}).catch(() => {})
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
|
||||
@@ -1,145 +1,145 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||
<el-form-item label=" 供应商编号" prop="supplierNo">
|
||||
<el-form-item :label="$t('BasSupplier.supplierNo')" prop="supplierNo"> <!-- 供应商编号 -->
|
||||
<el-input
|
||||
v-model="queryParams.supplierNo"
|
||||
placeholder="请输入 供应商编号"
|
||||
:placeholder="$t('BasSupplier.inputSupplierNo')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="供应商名称" prop="supplierGroupNo">
|
||||
<el-form-item :label="$t('BasSupplier.supplierGroupNo')" prop="supplierGroupNo"> <!-- 供应商名称 -->
|
||||
<el-input
|
||||
v-model="queryParams.supplierGroupNo"
|
||||
placeholder="请输入供应商名称"
|
||||
:placeholder="$t('BasSupplier.inputSupplierGroupNo')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="供应商名称" prop="supplierName">
|
||||
<el-form-item :label="$t('BasSupplier.supplierName')" prop="supplierName"> <!-- 供应商名称 -->
|
||||
<el-input
|
||||
v-model="queryParams.supplierName"
|
||||
placeholder="请输入供应商名称"
|
||||
:placeholder="$t('BasSupplier.inputSupplierName')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="简称" prop="simpleName">
|
||||
<el-form-item :label="$t('BasSupplier.simpleName')" prop="simpleName"> <!-- 简称 -->
|
||||
<el-input
|
||||
v-model="queryParams.simpleName"
|
||||
placeholder="请输入简称"
|
||||
:placeholder="$t('BasSupplier.inputSimpleName')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否可用" prop="useable">
|
||||
<el-form-item :label="$t('BasSupplier.useable')" prop="useable"> <!-- 是否可用 -->
|
||||
<el-input
|
||||
v-model="queryParams.useable"
|
||||
placeholder="请输入是否可用"
|
||||
:placeholder="$t('BasSupplier.inputUseable')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="地区分类" prop="supplierArae">
|
||||
<el-form-item :label="$t('BasSupplier.supplierArae')" prop="supplierArae"> <!-- 地区分类 -->
|
||||
<el-input
|
||||
v-model="queryParams.supplierArae"
|
||||
placeholder="请输入地区分类"
|
||||
:placeholder="$t('BasSupplier.inputSupplierArae')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="纳税人登记号" prop="taxpayerRegistrationNumber">
|
||||
<el-form-item :label="$t('BasSupplier.taxpayerRegistrationNumber')" prop="taxpayerRegistrationNumber"> <!-- 纳税人登记号 -->
|
||||
<el-input
|
||||
v-model="queryParams.taxpayerRegistrationNumber"
|
||||
placeholder="请输入纳税人登记号"
|
||||
:placeholder="$t('BasSupplier.inputTaxpayerRegistrationNumber')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="国家" prop="country">
|
||||
<el-form-item :label="$t('BasSupplier.country')" prop="country"> <!-- 国家 -->
|
||||
<el-input
|
||||
v-model="queryParams.country"
|
||||
placeholder="请输入国家"
|
||||
:placeholder="$t('BasSupplier.inputCountry')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="时区" prop="timeZone">
|
||||
<el-form-item :label="$t('BasSupplier.timeZone')" prop="timeZone"> <!-- 时区 -->
|
||||
<el-input
|
||||
v-model="queryParams.timeZone"
|
||||
placeholder="请输入时区"
|
||||
:placeholder="$t('BasSupplier.inputTimeZone')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="数据格式" prop="dataFormat">
|
||||
<el-form-item :label="$t('BasSupplier.dataFormat')" prop="dataFormat"> <!-- 数据格式 -->
|
||||
<el-input
|
||||
v-model="queryParams.dataFormat"
|
||||
placeholder="请输入数据格式"
|
||||
:placeholder="$t('BasSupplier.inputDataFormat')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="收货国家" prop="receivingCountry">
|
||||
<el-form-item :label="$t('BasSupplier.receivingCountry')" prop="receivingCountry"> <!-- 收货国家 -->
|
||||
<el-input
|
||||
v-model="queryParams.receivingCountry"
|
||||
placeholder="请输入收货国家"
|
||||
:placeholder="$t('BasSupplier.inputReceivingCountry')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="税类" prop="taxCategory">
|
||||
<el-form-item :label="$t('BasSupplier.taxCategory')" prop="taxCategory"> <!-- 税类 -->
|
||||
<el-input
|
||||
v-model="queryParams.taxCategory"
|
||||
placeholder="请输入税类"
|
||||
:placeholder="$t('BasSupplier.inputTaxCategory')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="法人" prop="legalPerson">
|
||||
<el-form-item :label="$t('BasSupplier.legalPerson')" prop="legalPerson"> <!-- 法人 -->
|
||||
<el-input
|
||||
v-model="queryParams.legalPerson"
|
||||
placeholder="请输入法人"
|
||||
:placeholder="$t('BasSupplier.inputLegalPerson')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="注册资金" prop="registeredCapital">
|
||||
<el-form-item :label="$t('BasSupplier.registeredCapital')" prop="registeredCapital"> <!-- 注册资金 -->
|
||||
<el-input
|
||||
v-model="queryParams.registeredCapital"
|
||||
placeholder="请输入注册资金"
|
||||
:placeholder="$t('BasSupplier.inputRegisteredCapital')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="企业地址" prop="address">
|
||||
<el-form-item :label="$t('BasSupplier.address')" prop="address"> <!-- 企业地址 -->
|
||||
<el-input
|
||||
v-model="queryParams.address"
|
||||
placeholder="请输入企业地址"
|
||||
:placeholder="$t('BasSupplier.inputAddress')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="联系人姓名" prop="contactName">
|
||||
<el-form-item :label="$t('BasSupplier.contactName')" prop="contactName"> <!-- 联系人姓名 -->
|
||||
<el-input
|
||||
v-model="queryParams.contactName"
|
||||
placeholder="请输入联系人姓名"
|
||||
:placeholder="$t('BasSupplier.inputContactName')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="联系电话" prop="contactNumber">
|
||||
<el-form-item :label="$t('BasSupplier.contactNumber')" prop="contactNumber"> <!-- 联系电话 -->
|
||||
<el-input
|
||||
v-model="queryParams.contactNumber"
|
||||
placeholder="请输入联系电话"
|
||||
:placeholder="$t('BasSupplier.inputContactNumber')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{$t('BasSupplier.search')}}</el-button> <!-- 搜索 -->
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{$t('BasSupplier.reset')}}</el-button> <!-- 重置 -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['bas:BasSupplier:add']"
|
||||
>新增</el-button>
|
||||
>{{$t('BasSupplier.add')}}</el-button> <!-- 新增 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -163,7 +163,7 @@
|
||||
:disabled="single"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['bas:BasSupplier:edit']"
|
||||
>修改</el-button>
|
||||
>{{$t('BasSupplier.edit')}}</el-button> <!-- 修改 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -174,7 +174,7 @@
|
||||
:disabled="multiple"
|
||||
@click="handleDelete"
|
||||
v-hasPermi="['bas:BasSupplier:remove']"
|
||||
>删除</el-button>
|
||||
>{{$t('BasSupplier.delete')}}</el-button> <!-- 删除 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -184,32 +184,32 @@
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['bas:BasSupplier:export']"
|
||||
>导出</el-button>
|
||||
>{{$t('BasSupplier.export')}}</el-button> <!-- 导出 -->
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="BasSupplierList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label=" 供应商编号" align="center" prop="supplierNo" />
|
||||
<el-table-column label="供应商名称" align="center" prop="supplierGroupNo" />
|
||||
<el-table-column label="供应商名称" align="center" prop="supplierName" />
|
||||
<el-table-column label="简称" align="center" prop="simpleName" />
|
||||
<el-table-column label="是否可用" align="center" prop="useable" />
|
||||
<el-table-column label="备注" align="center" prop="remark" />
|
||||
<el-table-column label="地区分类" align="center" prop="supplierArae" />
|
||||
<el-table-column label="纳税人登记号" align="center" prop="taxpayerRegistrationNumber" />
|
||||
<el-table-column label="国家" align="center" prop="country" />
|
||||
<el-table-column label="时区" align="center" prop="timeZone" />
|
||||
<el-table-column label="数据格式" align="center" prop="dataFormat" />
|
||||
<el-table-column label="收货国家" align="center" prop="receivingCountry" />
|
||||
<el-table-column label="税类" align="center" prop="taxCategory" />
|
||||
<el-table-column label="法人" align="center" prop="legalPerson" />
|
||||
<el-table-column label="注册资金" align="center" prop="registeredCapital" />
|
||||
<el-table-column label="企业地址" align="center" prop="address" />
|
||||
<el-table-column label="联系人姓名" align="center" prop="contactName" />
|
||||
<el-table-column label="联系电话" align="center" prop="contactNumber" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<el-table-column :label="$t('BasSupplier.supplierNo')" align="center" prop="supplierNo" /> <!-- 供应商编号 -->
|
||||
<el-table-column :label="$t('BasSupplier.supplierGroupNo')" align="center" prop="supplierGroupNo" /> <!-- 供应商名称 -->
|
||||
<el-table-column :label="$t('BasSupplier.supplierName')" align="center" prop="supplierName" /> <!-- 供应商名称 -->
|
||||
<el-table-column :label="$t('BasSupplier.simpleName')" align="center" prop="simpleName" /> <!-- 简称 -->
|
||||
<el-table-column :label="$t('BasSupplier.useable')" align="center" prop="useable" /> <!-- 是否可用 -->
|
||||
<el-table-column :label="$t('BasSupplier.remark')" align="center" prop="remark" /> <!-- 备注 -->
|
||||
<el-table-column :label="$t('BasSupplier.supplierArae')" align="center" prop="supplierArae" /> <!-- 地区分类 -->
|
||||
<el-table-column :label="$t('BasSupplier.taxpayerRegistrationNumber')" align="center" prop="taxpayerRegistrationNumber" /> <!-- 纳税人登记号 -->
|
||||
<el-table-column :label="$t('BasSupplier.country')" align="center" prop="country" /> <!-- 国家 -->
|
||||
<el-table-column :label="$t('BasSupplier.timeZone')" align="center" prop="timeZone" /> <!-- 时区 -->
|
||||
<el-table-column :label="$t('BasSupplier.dataFormat')" align="center" prop="dataFormat" /> <!-- 数据格式 -->
|
||||
<el-table-column :label="$t('BasSupplier.receivingCountry')" align="center" prop="receivingCountry" /> <!-- 收货国家 -->
|
||||
<el-table-column :label="$t('BasSupplier.taxCategory')" align="center" prop="taxCategory" /> <!-- 税类 -->
|
||||
<el-table-column :label="$t('BasSupplier.legalPerson')" align="center" prop="legalPerson" /> <!-- 法人 -->
|
||||
<el-table-column :label="$t('BasSupplier.registeredCapital')" align="center" prop="registeredCapital" /> <!-- 注册资金 -->
|
||||
<el-table-column :label="$t('BasSupplier.address')" align="center" prop="address" /> <!-- 企业地址 -->
|
||||
<el-table-column :label="$t('BasSupplier.contactName')" align="center" prop="contactName" /> <!-- 联系人姓名 -->
|
||||
<el-table-column :label="$t('BasSupplier.contactNumber')" align="center" prop="contactNumber" /> <!-- 联系电话 -->
|
||||
<el-table-column :label="$t('BasSupplier.operation')" align="center" class-name="small-padding fixed-width"><!-- 操作 -->
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
@@ -217,14 +217,14 @@
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['bas:BasSupplier:edit']"
|
||||
>修改</el-button>
|
||||
>{{$t('BasSupplier.edit')}}</el-button> <!-- 修改 -->
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['bas:BasSupplier:remove']"
|
||||
>删除</el-button>
|
||||
>{{$t('BasSupplier.delete')}}</el-button> <!-- 删除 -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -243,64 +243,64 @@
|
||||
<!-- <el-form-item label="fid" prop="id">-->
|
||||
<!-- <el-input v-model="form.id" placeholder="请输入fid" />-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label=" 供应商编号" prop="supplierNo">
|
||||
<el-input v-model="form.supplierNo" placeholder="请输入 供应商编号" />
|
||||
<el-form-item :label="$t('BasSupplier.supplierNo')" prop="supplierNo"> <!-- 供应商编号 -->
|
||||
<el-input v-model="form.supplierNo" :placeholder="$t('BasSupplier.inputSupplierNo')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="供应商名称" prop="supplierGroupNo">
|
||||
<el-input v-model="form.supplierGroupNo" placeholder="请输入供应商名称" />
|
||||
<el-form-item :label="$t('BasSupplier.supplierGroupNo')" prop="supplierGroupNo"> <!-- 供应商名称 -->
|
||||
<el-input v-model="form.supplierGroupNo" :placeholder="$t('BasSupplier.inputSupplierGroupNo')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="供应商名称" prop="supplierName">
|
||||
<el-input v-model="form.supplierName" placeholder="请输入供应商名称" />
|
||||
<el-form-item :label="$t('BasSupplier.supplierName')" prop="supplierName"> <!-- 供应商名称 -->
|
||||
<el-input v-model="form.supplierName" :placeholder="$t('BasSupplier.inputSupplierName')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="简称" prop="simpleName">
|
||||
<el-input v-model="form.simpleName" placeholder="请输入简称" />
|
||||
<el-form-item :label="$t('BasSupplier.simpleName')" prop="simpleName"> <!-- 简称 -->
|
||||
<el-input v-model="form.simpleName" :placeholder="$t('BasSupplier.inputSimpleName')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="是否可用" prop="useable">
|
||||
<el-input v-model="form.useable" placeholder="请输入是否可用" />
|
||||
<el-form-item :label="$t('BasSupplier.useable')" prop="useable"> <!-- 是否可用 -->
|
||||
<el-input v-model="form.useable" :placeholder="$t('BasSupplier.inputUseable')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" placeholder="请输入备注" />
|
||||
<el-form-item :label="$t('BasSupplier.remark')" prop="remark"> <!-- 备注 -->
|
||||
<el-input v-model="form.remark" :placeholder="$t('BasSupplier.inputRemark')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="地区分类" prop="supplierArae">
|
||||
<el-input v-model="form.supplierArae" placeholder="请输入地区分类" />
|
||||
<el-form-item :label="$t('BasSupplier.supplierArae')" prop="supplierArae"> <!-- 地区分类 -->
|
||||
<el-input v-model="form.supplierArae" :placeholder="$t('BasSupplier.inputSupplierArae')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="纳税人登记号" prop="taxpayerRegistrationNumber">
|
||||
<el-input v-model="form.taxpayerRegistrationNumber" placeholder="请输入纳税人登记号" />
|
||||
<el-form-item :label="$t('BasSupplier.taxpayerRegistrationNumber')" prop="taxpayerRegistrationNumber"> <!-- 纳税人登记号 -->
|
||||
<el-input v-model="form.taxpayerRegistrationNumber" :placeholder="$t('BasSupplier.inputTaxpayerRegistrationNumber')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="国家" prop="country">
|
||||
<el-input v-model="form.country" placeholder="请输入国家" />
|
||||
<el-form-item :label="$t('BasSupplier.country')" prop="country"> <!-- 国家 -->
|
||||
<el-input v-model="form.country" :placeholder="$t('BasSupplier.inputCountry')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="时区" prop="timeZone">
|
||||
<el-input v-model="form.timeZone" placeholder="请输入时区" />
|
||||
<el-form-item :label="$t('BasSupplier.timeZone')" prop="timeZone"> <!-- 时区 -->
|
||||
<el-input v-model="form.timeZone" :placeholder="$t('BasSupplier.inputTimeZone')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="数据格式" prop="dataFormat">
|
||||
<el-input v-model="form.dataFormat" placeholder="请输入数据格式" />
|
||||
<el-form-item :label="$t('BasSupplier.dataFormat')" prop="dataFormat"> <!-- 数据格式 -->
|
||||
<el-input v-model="form.dataFormat" :placeholder="$t('BasSupplier.inputDataFormat')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="收货国家" prop="receivingCountry">
|
||||
<el-input v-model="form.receivingCountry" placeholder="请输入收货国家" />
|
||||
<el-form-item :label="$t('BasSupplier.receivingCountry')" prop="receivingCountry"> <!-- 收货国家 -->
|
||||
<el-input v-model="form.receivingCountry" :placeholder="$t('BasSupplier.inputReceivingCountry')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="税类" prop="taxCategory">
|
||||
<el-input v-model="form.taxCategory" placeholder="请输入税类" />
|
||||
<el-form-item :label="$t('BasSupplier.taxCategory')" prop="taxCategory"> <!-- 税类 -->
|
||||
<el-input v-model="form.taxCategory" :placeholder="$t('BasSupplier.inputTaxCategory')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="法人" prop="legalPerson">
|
||||
<el-input v-model="form.legalPerson" placeholder="请输入法人" />
|
||||
<el-form-item :label="$t('BasSupplier.legalPerson')" prop="legalPerson"> <!-- 法人 -->
|
||||
<el-input v-model="form.legalPerson" :placeholder="$t('BasSupplier.inputLegalPerson')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="注册资金" prop="registeredCapital">
|
||||
<el-input v-model="form.registeredCapital" placeholder="请输入注册资金" />
|
||||
<el-form-item :label="$t('BasSupplier.registeredCapital')" prop="registeredCapital"> <!-- 注册资金 -->
|
||||
<el-input v-model="form.registeredCapital" :placeholder="$t('BasSupplier.inputRegisteredCapital')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="企业地址" prop="address">
|
||||
<el-input v-model="form.address" placeholder="请输入企业地址" />
|
||||
<el-form-item :label="$t('BasSupplier.address')" prop="address"> <!-- 企业地址 -->
|
||||
<el-input v-model="form.address" :placeholder="$t('BasSupplier.inputAddress')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="联系人姓名" prop="contactName">
|
||||
<el-input v-model="form.contactName" placeholder="请输入联系人姓名" />
|
||||
<el-form-item :label="$t('BasSupplier.contactName')" prop="contactName"> <!-- 联系人姓名 -->
|
||||
<el-input v-model="form.contactName" :placeholder="$t('BasSupplier.inputContactName')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="联系电话" prop="contactNumber">
|
||||
<el-input v-model="form.contactNumber" placeholder="请输入联系电话" />
|
||||
<el-form-item :label="$t('BasSupplier.contactNumber')" prop="contactNumber"> <!-- 联系电话 -->
|
||||
<el-input v-model="form.contactNumber" :placeholder="$t('BasSupplier.inputContactNumber')" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
<el-button type="primary" @click="submitForm">{{$t('BasSupplier.confirm')}}</el-button> <!-- 确定 -->
|
||||
<el-button @click="cancel">{{$t('BasSupplier.cancel')}}</el-button> <!-- 取消 -->
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -358,10 +358,10 @@ export default {
|
||||
// 表单校验
|
||||
rules: {
|
||||
id: [
|
||||
{ required: true, message: "fid不能为空", trigger: "blur" }
|
||||
{ required: true, message: this.$t('BasSupplier.fidRequired'), trigger: "blur" } // fid不能为空
|
||||
],
|
||||
useable: [
|
||||
{ required: true, message: "是否可用不能为空", trigger: "blur" }
|
||||
{ required: true, message: this.$t('BasSupplier.useableRequired'), trigger: "blur" } // 是否可用不能为空
|
||||
],
|
||||
}
|
||||
}
|
||||
@@ -429,7 +429,7 @@ export default {
|
||||
handleAdd() {
|
||||
this.reset()
|
||||
this.open = true
|
||||
this.title = "添加供应商管理"
|
||||
this.title = this.$t('BasSupplier.addTitle') // 添加供应商管理
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
@@ -438,7 +438,7 @@ export default {
|
||||
getBasSupplier(id).then(response => {
|
||||
this.form = response.data
|
||||
this.open = true
|
||||
this.title = "修改供应商管理"
|
||||
this.title = this.$t('BasSupplier.editTitle') // 修改供应商管理
|
||||
})
|
||||
},
|
||||
/** 提交按钮 */
|
||||
@@ -447,13 +447,13 @@ export default {
|
||||
if (valid) {
|
||||
if (this.form.id != null) {
|
||||
updateBasSupplier(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功")
|
||||
this.$modal.msgSuccess(this.$t('BasSupplier.editSuccess')) // 修改成功
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
} else {
|
||||
addBasSupplier(this.form).then(response => {
|
||||
this.$modal.msgSuccess("新增成功")
|
||||
this.$modal.msgSuccess(this.$t('BasSupplier.addSuccess')) // 新增成功
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
@@ -464,11 +464,11 @@ export default {
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids
|
||||
this.$modal.confirm('是否确认删除供应商管理编号为"' + ids + '"的数据项?').then(function() {
|
||||
this.$modal.confirm(this.$t('BasSupplier.deleteConfirm', { ids: ids })).then(function() { // 是否确认删除供应商管理编号为xxx的数据项?
|
||||
return delBasSupplier(ids)
|
||||
}).then(() => {
|
||||
this.getList()
|
||||
this.$modal.msgSuccess("删除成功")
|
||||
this.$modal.msgSuccess(this.$t('BasSupplier.deleteSuccess')) // 删除成功
|
||||
}).catch(() => {})
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||
<el-form-item label="点位名称" prop="portName">
|
||||
<el-form-item :label="$t('BasPort.portName')" prop="portName"> <!-- 点位名称 -->
|
||||
<el-input
|
||||
v-model="queryParams.portName"
|
||||
placeholder="请输入点位名称"
|
||||
:placeholder="$t('BasPort.inputPortName')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="点位分类" prop="portType">
|
||||
<el-form-item :label="$t('BasPort.portType')" prop="portType"> <!-- 点位分类 -->
|
||||
<el-input
|
||||
v-model="queryParams.portType"
|
||||
placeholder="请输入点位分类"
|
||||
:placeholder="$t('BasPort.inputPortType')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="点位描述" prop="portDesc">
|
||||
<el-form-item :label="$t('BasPort.portDesc')" prop="portDesc"> <!-- 点位描述 -->
|
||||
<el-input
|
||||
v-model="queryParams.portDesc"
|
||||
placeholder="请输入点位描述"
|
||||
:placeholder="$t('BasPort.inputPortDesc')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ $t('BasPort.search') }}</el-button> <!-- 搜索 -->
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ $t('BasPort.reset') }}</el-button> <!-- 重置 -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['bas:port:add']"
|
||||
>新增</el-button>
|
||||
>{{ $t('BasPort.add') }}</el-button> <!-- 新增 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -51,7 +51,7 @@
|
||||
:disabled="single"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['bas:port:edit']"
|
||||
>修改</el-button>
|
||||
>{{ $t('BasPort.edit') }}</el-button> <!-- 修改 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -62,7 +62,7 @@
|
||||
:disabled="multiple"
|
||||
@click="handleDelete"
|
||||
v-hasPermi="['bas:port:remove']"
|
||||
>删除</el-button>
|
||||
>{{ $t('BasPort.delete') }}</el-button> <!-- 删除 -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
@@ -72,7 +72,7 @@
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['bas:port:export']"
|
||||
>导出</el-button>
|
||||
>{{ $t('BasPort.export') }}</el-button> <!-- 导出 -->
|
||||
</el-col>
|
||||
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
@@ -80,13 +80,13 @@
|
||||
|
||||
<el-table v-loading="loading" :data="portList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="id" align="center" prop="id" />
|
||||
<el-table-column label="点位名称" align="center" prop="portName" />
|
||||
<el-table-column label="点位分类" align="center" prop="portType" />
|
||||
<el-table-column label="点位描述" align="center" prop="portDesc" />
|
||||
<el-table-column label="创建人" align="center" prop="createMan" />
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<el-table-column :label="$t('BasPort.id')" align="center" prop="id" /> <!-- id -->
|
||||
<el-table-column :label="$t('BasPort.portName')" align="center" prop="portName" /> <!-- 点位名称 -->
|
||||
<el-table-column :label="$t('BasPort.portType')" align="center" prop="portType" /> <!-- 点位分类 -->
|
||||
<el-table-column :label="$t('BasPort.portDesc')" align="center" prop="portDesc" /> <!-- 点位描述 -->
|
||||
<el-table-column :label="$t('BasPort.createMan')" align="center" prop="createMan" /> <!-- 创建人 -->
|
||||
<el-table-column :label="$t('BasPort.createTime')" align="center" prop="createTime" /> <!-- 创建时间 -->
|
||||
<el-table-column :label="$t('BasPort.operation')" align="center" class-name="small-padding fixed-width"> <!-- 操作 -->
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
@@ -94,14 +94,14 @@
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['bas:port:edit']"
|
||||
>修改</el-button>
|
||||
>{{ $t('BasPort.edit') }}</el-button> <!-- 修改 -->
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['bas:port:remove']"
|
||||
>删除</el-button>
|
||||
>{{ $t('BasPort.delete') }}</el-button> <!-- 删除 -->
|
||||
|
||||
<el-button
|
||||
size="mini"
|
||||
@@ -109,7 +109,7 @@
|
||||
icon="el-icon-plus"
|
||||
@click="handleBindProduct(scope.row)"
|
||||
v-hasPermi="['bas:portProductRel:list']"
|
||||
>绑定物料</el-button>
|
||||
>{{ $t('BasPort.bindProduct') }}</el-button> <!-- 绑定物料 -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -125,43 +125,43 @@
|
||||
<!-- 添加或修改基础点位对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form-item label="点位名称" prop="portName">
|
||||
<el-input v-model="form.portName" placeholder="请输入点位名称" />
|
||||
<el-form-item :label="$t('BasPort.portName')" prop="portName"> <!-- 点位名称 -->
|
||||
<el-input v-model="form.portName" :placeholder="$t('BasPort.inputPortName')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="点位分类" prop="portDesc">
|
||||
<el-input v-model="form.portType" placeholder="请输入点位分类" />
|
||||
<el-form-item :label="$t('BasPort.portType')" prop="portType"> <!-- 点位分类 -->
|
||||
<el-input v-model="form.portType" :placeholder="$t('BasPort.inputPortType')" />
|
||||
</el-form-item>
|
||||
<el-form-item label="点位描述" prop="portDesc">
|
||||
<el-input v-model="form.portDesc" placeholder="请输入点位描述" />
|
||||
<el-form-item :label="$t('BasPort.portDesc')" prop="portDesc"> <!-- 点位描述 -->
|
||||
<el-input v-model="form.portDesc" :placeholder="$t('BasPort.inputPortDesc')" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
<el-button type="primary" @click="submitForm">{{ $t('BasPort.confirm') }}</el-button> <!-- 确定 -->
|
||||
<el-button @click="cancel">{{ $t('BasPort.cancel') }}</el-button> <!-- 取消 -->
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 选择物料对话框 -->
|
||||
<el-dialog :title="$t('receiveStockinAdd.selectProduct')" :visible.sync="productSelectVisible" width="1300px" append-to-body>
|
||||
<el-dialog :title="$t('BasPort.selectProduct')" :visible.sync="productSelectVisible" width="1300px" append-to-body>
|
||||
<el-form :model="queryProductParams" :inline="true" label-width="80px">
|
||||
<el-form-item label="物料编码" prop="productId">
|
||||
<el-form-item :label="$t('BasPort.productCode')" prop="productId">
|
||||
<el-input
|
||||
v-model="queryProductParams.productId"
|
||||
placeholder="请输入物料编码"
|
||||
:placeholder="$t('BasPort.inputProductCode')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="物料名称" prop="productName">
|
||||
<el-form-item :label="$t('BasPort.productName')" prop="productName">
|
||||
<el-input
|
||||
v-model="queryProductParams.productName"
|
||||
placeholder="请输入物料名称"
|
||||
:placeholder="$t('BasPort.inputProductName')"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否绑定" prop="bindStatus">
|
||||
<el-select v-model="queryProductParams.bindStatus" placeholder="请选择状态" clearable @change="handleProductQuery">
|
||||
<el-form-item :label="$t('BasPort.bindStatus')" prop="bindStatus">
|
||||
<el-select v-model="queryProductParams.bindStatus" :placeholder="$t('BasPort.selectBindStatus')" clearable @change="handleProductQuery">
|
||||
<el-option
|
||||
v-for="dict in dict.type.product_port_rel_status"
|
||||
:key="dict.value"
|
||||
@@ -171,54 +171,53 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" v-hasPermi="['bas:portProdcutRel:list']" @click="handleProductQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetProductQuery">重置</el-button>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" v-hasPermi="['bas:portProdcutRel:list']" @click="handleProductQuery">{{ $t('BasPort.search') }}</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetProductQuery">{{ $t('BasPort.reset') }}</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
v-if="queryProductParams.bindStatus === '0'"
|
||||
:disabled="selectedProducts.length === 0"
|
||||
@click="handleBatchBindProduct"
|
||||
v-hasPermi="['bas:portProductRel:add']"
|
||||
>批量绑定</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
size="mini"
|
||||
v-if="queryProductParams.bindStatus === '1'"
|
||||
:disabled="selectedProducts.length === 0"
|
||||
@click="handleBatchUnbindProduct"
|
||||
v-hasPermi="['bas:portProductRel:remove']"
|
||||
>批量删除</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-table :data="productOptions" border @selection-change="handleProductSelectionChange">
|
||||
<el-table-column type="selection" width="55"/>
|
||||
<el-table-column label="物料编码" align="center" prop="productId" />
|
||||
<el-table-column label="物料名称" align="center" prop="productName" />
|
||||
<el-table-column label="英文描述" align="center" prop="spare1"/>
|
||||
<el-table-column label="单位" align="center" prop="unit" />
|
||||
<el-table-column label="单件净重KG" align="center" prop="spare2" />
|
||||
<el-table-column label="箱号" align="center" prop="spare3" />
|
||||
<el-table-column label="包装方式" align="center" prop="spare4" />
|
||||
<el-table-column label="长MM" align="center" prop="spare5" />
|
||||
<el-table-column label="宽MM" align="center" prop="spare6" />
|
||||
<el-table-column label="高MM" align="center" prop="spare7" />
|
||||
<el-table-column label="体积m³" align="center" prop="spare8" />
|
||||
<!-- <el-table-column label="净重KG" align="center" prop="spare8" />
|
||||
<el-table-column label="毛重KG" align="center" prop="spare9" />-->
|
||||
<el-table-column label="价格" align="center" prop="price" />
|
||||
<el-table-column label="描述" align="center" prop="remark" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
v-if="queryProductParams.bindStatus === '0'"
|
||||
:disabled="selectedProducts.length === 0"
|
||||
@click="handleBatchBindProduct"
|
||||
v-hasPermi="['bas:portProductRel:add']"
|
||||
>{{ $t('BasPort.batchBind') }}</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
size="mini"
|
||||
v-if="queryProductParams.bindStatus === '1'"
|
||||
:disabled="selectedProducts.length === 0"
|
||||
@click="handleBatchUnbindProduct"
|
||||
v-hasPermi="['bas:portProductRel:remove']"
|
||||
>{{ $t('BasPort.batchUnbind') }}</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table :data="productOptions" border @selection-change="handleProductSelectionChange">
|
||||
<el-table-column type="selection" width="55"/>
|
||||
<el-table-column :label="$t('BasPort.productCode')" align="center" prop="productId" />
|
||||
<el-table-column :label="$t('BasPort.productName')" align="center" prop="productName" />
|
||||
<el-table-column :label="$t('BasPort.productEnDesc')" align="center" prop="spare1"/>
|
||||
<el-table-column :label="$t('BasPort.unit')" align="center" prop="unit" />
|
||||
<el-table-column :label="$t('BasPort.netWeight')" align="center" prop="spare2" />
|
||||
<el-table-column :label="$t('BasPort.boxNo')" align="center" prop="spare3" />
|
||||
<el-table-column :label="$t('BasPort.packWay')" align="center" prop="spare4" />
|
||||
<el-table-column :label="$t('BasPort.length')" align="center" prop="spare5" />
|
||||
<el-table-column :label="$t('BasPort.width')" align="center" prop="spare6" />
|
||||
<el-table-column :label="$t('BasPort.height')" align="center" prop="spare7" />
|
||||
<el-table-column :label="$t('BasPort.volume')" align="center" prop="spare8" />
|
||||
<el-table-column :label="$t('BasPort.price')" align="center" prop="price" />
|
||||
<el-table-column :label="$t('BasPort.description')" align="center" prop="remark" />
|
||||
<el-table-column :label="$t('BasPort.operation')" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
@@ -227,7 +226,7 @@
|
||||
@click="handleBatchBindProduct(scope.row)"
|
||||
v-hasPermi="['bas:portProductRel:add']"
|
||||
v-if="queryProductParams.bindStatus === '0'"
|
||||
>绑定物料</el-button>
|
||||
>{{ $t('BasPort.bindProduct') }}</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@@ -235,7 +234,7 @@
|
||||
@click="handleBatchUnbindProduct(scope.row)"
|
||||
v-hasPermi="['bas:portProductRel:remove']"
|
||||
v-if="queryProductParams.bindStatus === '1'"
|
||||
>删除物料</el-button>
|
||||
>{{ $t('BasPort.unbindProduct') }}</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -339,18 +338,20 @@ export default {
|
||||
portName: null,
|
||||
portType: null,
|
||||
portDesc: null,
|
||||
}
|
||||
this.resetForm("form")
|
||||
createMan: null,
|
||||
createTime: null
|
||||
};
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1
|
||||
this.getList()
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm")
|
||||
this.handleQuery()
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
@@ -360,19 +361,19 @@ export default {
|
||||
},
|
||||
/** 新增按钮操作 */
|
||||
handleAdd() {
|
||||
this.reset()
|
||||
this.open = true
|
||||
this.title = "添加基础点位"
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = this.$t('BasPort.addTitle');
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
this.reset()
|
||||
this.reset();
|
||||
const id = row.id || this.ids
|
||||
getPort(id).then(response => {
|
||||
this.form = response.data
|
||||
this.open = true
|
||||
this.title = "修改基础点位"
|
||||
})
|
||||
this.form = response.data;
|
||||
this.open = true;
|
||||
this.title = this.$t('BasPort.editTitle');
|
||||
});
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
@@ -380,29 +381,29 @@ export default {
|
||||
if (valid) {
|
||||
if (this.form.id != null) {
|
||||
updatePort(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功")
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
this.$modal.msgSuccess(this.$t('BasPort.editSuccess'));
|
||||
this.open = false;
|
||||
this.getList();
|
||||
});
|
||||
} else {
|
||||
addPort(this.form).then(response => {
|
||||
this.$modal.msgSuccess("新增成功")
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
this.$modal.msgSuccess(this.$t('BasPort.addSuccess'));
|
||||
this.open = false;
|
||||
this.getList();
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids
|
||||
this.$modal.confirm('是否确认删除基础点位编号为"' + ids + '"的数据项?').then(function() {
|
||||
return delPort(ids)
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal.confirm(this.$t('BasPort.deleteConfirm', { ids: ids })).then(function() {
|
||||
return delPort(ids);
|
||||
}).then(() => {
|
||||
this.getList()
|
||||
this.$modal.msgSuccess("删除成功")
|
||||
}).catch(() => {})
|
||||
this.getList();
|
||||
this.$modal.msgSuccess(this.$t('BasPort.deleteSuccess'));
|
||||
}).catch(() => {});
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
@@ -447,7 +448,7 @@ export default {
|
||||
productIds: ids
|
||||
}
|
||||
addPortProductRel(data).then(response => {
|
||||
this.$modal.msgSuccess("绑定成功")
|
||||
this.$modal.msgSuccess(this.$t('BasPort.bindSuccess'))
|
||||
this.getProductList()
|
||||
});
|
||||
},
|
||||
@@ -465,7 +466,7 @@ export default {
|
||||
productIds: ids
|
||||
}
|
||||
delPortProductRel(data).then(response => {
|
||||
this.$modal.msgSuccess("解绑成功")
|
||||
this.$modal.msgSuccess(this.$t('BasPort.unbindSuccess'))
|
||||
this.getProductList()
|
||||
});
|
||||
},
|
||||
|
||||
@@ -370,7 +370,7 @@ export default {
|
||||
// 表单校验
|
||||
rules: {
|
||||
stockId: [
|
||||
{ required: true, message: "库存ID不能为空", trigger: "blur" }
|
||||
{ required: true, message: this.$t('searchViewStockSecure.stockIdRequired'), trigger: "blur" }
|
||||
],
|
||||
}
|
||||
}
|
||||
@@ -472,7 +472,7 @@ export default {
|
||||
handleAdd() {
|
||||
this.reset()
|
||||
this.open = true
|
||||
this.title = "添加安全库存查询"
|
||||
this.title = this.$t('searchViewStockSecure.addTitle')
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
@@ -481,7 +481,7 @@ export default {
|
||||
getViewStockSecure(stockId).then(response => {
|
||||
this.form = response.data
|
||||
this.open = true
|
||||
this.title = "修改安全库存查询"
|
||||
this.title = this.$t('searchViewStockSecure.editTitle')
|
||||
})
|
||||
},
|
||||
/** 提交按钮 */
|
||||
@@ -490,13 +490,13 @@ export default {
|
||||
if (valid) {
|
||||
if (this.form.stockId != null) {
|
||||
updateViewStockSecure(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功")
|
||||
this.$modal.msgSuccess(this.$t('searchViewStockSecure.editSuccess'))
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
} else {
|
||||
addViewStockSecure(this.form).then(response => {
|
||||
this.$modal.msgSuccess("新增成功")
|
||||
this.$modal.msgSuccess(this.$t('searchViewStockSecure.addSuccess'))
|
||||
this.open = false
|
||||
this.getList()
|
||||
})
|
||||
@@ -507,11 +507,11 @@ export default {
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const stockIds = row.stockId || this.ids
|
||||
this.$modal.confirm('是否确认删除安全库存查询编号为"' + stockIds + '"的数据项?').then(function() {
|
||||
this.$modal.confirm(this.$t('searchViewStockSecure.deleteConfirm', { stockIds: stockIds })).then(function() {
|
||||
return delViewStockSecure(stockIds)
|
||||
}).then(() => {
|
||||
this.getList()
|
||||
this.$modal.msgSuccess("删除成功")
|
||||
this.$modal.msgSuccess(this.$t('searchViewStockSecure.deleteSuccess'))
|
||||
}).catch(() => {})
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
|
||||
Reference in New Issue
Block a user