-
-
上一页
-
销售退货-入库
-
🏠首页
+
+
+
+
+
+
-
-
+
选择RMA明细行号
-
-
- {{ rmaDetail.partNo }}
-
-
- {{ rmaDetail.batchNo }}
-
-
- {{ rmaDetail.processQty }}
-
+
- 添加到退货明细
+
+
+ {{ rmaDetail.partNo }}
+ 批号:{{ rmaDetail.batchNo }} | 数量:{{ rmaDetail.processQty }}
+
+
+
+
+
@@ -37,34 +52,85 @@
明细{{ dIdx + 1 }}
-
-
-
-
-
-
-
-
-
+
+
+ 物料:
+ {{ detail.partNo }}
+
+
+ 数量:
+ {{ detail.processQty }}
+
+
+ 批号:
+ {{ detail.batchNo }}
+
+
+
-
包装单元
-
-
-
-
-
-
-
-
-
-
+
+
+
+
创建包装单元
+
+
+
+
+
+
+
+
+ 创建
+
+
+
+
+
+
+
扫描包装单元
+
+
+
+
+
+ 扫描
+
+
+
+
+
+
+
+
+
+
+
+ {{ pack.code }} ({{ pack.qty }})
+
+ {{ pack.scanned ? '✓' : '○' }}
+
+ 删除
+
-
添加包装单元
-
- 提交
+
+ 确认入库
@@ -78,9 +144,21 @@ export default {
return {
scanRma: "",
rmaList: [],
- returnList: [] // 退货明细列表
+ returnList: [], // 退货明细列表
+ selectedDetail: null, // 当前选择的RMA明细
+ processType: "inbound" // 固定为入库处理
};
},
+ computed: {
+ processTypeText() {
+ const typeMap = {
+ 'inbound': '入库',
+ 'scrap': '报废',
+ 'repair': '返修'
+ };
+ return typeMap[this.processType] || '处理';
+ }
+ },
methods: {
handleBack() {
this.$router.back();
@@ -91,6 +169,15 @@ export default {
if (data.code === 0) this.rmaList = data.rows;
});
},
+ // 选择RMA明细
+ selectRmaDetail(rmaDetail) {
+ this.selectedDetail = rmaDetail;
+ // 自动添加到退货明细列表
+ if (!this.isInReturnList(rmaDetail)) {
+ this.addToReturnList(rmaDetail);
+ }
+ this.$message.success(`已选择物料: ${rmaDetail.partNo}`);
+ },
addToReturnList(rmaDetail) {
// 避免重复添加
if (this.isInReturnList(rmaDetail)) return;
@@ -101,7 +188,10 @@ export default {
batchNo: rmaDetail.batchNo,
locationNo: "",
warehouseId: "",
- packUnitList: []
+ packUnitList: [],
+ newPackCode: "",
+ newPackQty: "",
+ scanPackCode: ""
});
},
isInReturnList(rmaDetail) {
@@ -112,6 +202,82 @@ export default {
removeDetail(idx) {
this.returnList.splice(idx, 1);
},
+ // 创建包装单元
+ createPackUnit(detail) {
+ if (!detail.newPackCode || !detail.newPackQty) {
+ this.$message.warning('请输入包装编码和数量');
+ return;
+ }
+
+ // 检查编码是否重复
+ const exists = detail.packUnitList.find(pack => pack.code === detail.newPackCode);
+ if (exists) {
+ this.$message.error('包装编码已存在');
+ return;
+ }
+
+ detail.packUnitList.push({
+ code: detail.newPackCode,
+ qty: parseFloat(detail.newPackQty),
+ scanned: false,
+ createTime: new Date()
+ });
+
+ // 清空输入框
+ detail.newPackCode = "";
+ detail.newPackQty = "";
+
+ this.$message.success('包装单元创建成功');
+ },
+
+ // 打印标签
+ printLabel(detail) {
+ const unPrintedPacks = detail.packUnitList.filter(pack => !pack.printed);
+ if (unPrintedPacks.length === 0) {
+ this.$message.warning('没有需要打印的标签');
+ return;
+ }
+
+ this.$message.success(`正在打印 ${unPrintedPacks.length} 个标签...`);
+
+ // 这里可以调用打印API
+ // printLabel({
+ // rmaNo: this.scanRma,
+ // partNo: detail.partNo,
+ // packCodes: unPrintedPacks.map(p => p.code)
+ // });
+
+ // 标记为已打印
+ unPrintedPacks.forEach(pack => {
+ pack.printed = true;
+ });
+ },
+
+ // 扫描包装单元
+ scanPackUnit(detail) {
+ if (!detail.scanPackCode) {
+ this.$message.warning('请输入要扫描的包装单元条码');
+ return;
+ }
+
+ const pack = detail.packUnitList.find(p => p.code === detail.scanPackCode);
+ if (!pack) {
+ this.$message.error('未找到对应的包装单元');
+ return;
+ }
+
+ if (pack.scanned) {
+ this.$message.warning('该包装单元已经扫描过了');
+ return;
+ }
+
+ pack.scanned = true;
+ pack.scanTime = new Date();
+ detail.scanPackCode = "";
+
+ this.$message.success('扫描成功');
+ },
+
addPackUnit(detail) {
detail.packUnitList.push({code: "", qty: '', perQty: '', packageQty: ''});
},
@@ -123,18 +289,66 @@ export default {
this.$message.error("请先扫描RMA号并选择退货明细");
return;
}
- processReturn({
+
+ // 验证每个明细都必须指定库位
+ const missingLocation = this.returnList.some(detail => !detail.locationNo || !detail.locationNo.trim());
+ if (missingLocation) {
+ this.$message.error("请为每个明细指定库位");
+ return;
+ }
+
+ // 验证是否有包装单元且已扫描
+ const hasUnscannedPacks = this.returnList.some(detail =>
+ detail.packUnitList.length > 0 && detail.packUnitList.some(pack => !pack.scanned)
+ );
+
+ if (hasUnscannedPacks) {
+ this.$message.error("请先扫描所有包装单元");
+ return;
+ }
+
+ const submitData = {
rmaNo: this.scanRma,
- processType: "inbound",
- detailList: this.returnList
- }).then(({data}) => {
- if (data.code === 0) {
- this.$message.success("操作成功");
- this.scanRma = "";
- this.rmaList = [];
- this.returnList = [];
- } else {
- this.$message.error(data.msg);
+ processType: this.processType,
+ detailList: this.returnList.map(detail => ({
+ ...detail,
+ packUnitList: detail.packUnitList.filter(pack => pack.scanned)
+ }))
+ };
+
+ this.$confirm(`确认执行${this.processTypeText}操作吗?`, '提示', {
+ confirmButtonText: '确认',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ processReturn(submitData).then(({data}) => {
+ if (data.code === 0) {
+ this.$message.success(`${this.processTypeText}成功`);
+ this.resetForm();
+ } else {
+ this.$message.error(data.msg || `${this.processTypeText}失败`);
+ }
+ }).catch(error => {
+ console.error('提交失败:', error);
+ this.$message.error(`${this.processTypeText}失败`);
+ });
+ }).catch(() => {
+ // 用户取消
+ });
+ },
+
+ // 重置表单
+ resetForm() {
+ this.scanRma = "";
+ this.rmaList = [];
+ this.returnList = [];
+ this.selectedDetail = null;
+ this.processType = "inbound";
+
+ // 聚焦搜索框
+ this.$nextTick(() => {
+ if (this.$refs.scanRmaRef) {
+ this.$refs.scanRmaRef.focus();
}
});
}
@@ -149,24 +363,118 @@ export default {
.pda-container {
background: #f5f5f5;
min-height: 100vh;
+ padding-bottom: 20px;
}
-.status-bar {
+/* 头部栏 - 参考原有样式 */
+.header-bar {
display: flex;
justify-content: space-between;
align-items: center;
background: #17b3a3;
color: #fff;
- padding: 8px 12px;
+ padding: 12px 16px;
+ font-size: 16px;
}
-.return-list-title {
+.header-left {
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+}
+
+.header-left i {
+ margin-right: 8px;
+ font-size: 18px;
+}
+
+.header-right {
+ cursor: pointer;
+}
+
+/* 搜索容器 */
+.search-container {
+ padding: 12px 16px;
+ background: white;
+}
+
+.search-container .el-input {
+ font-size: 16px;
+}
+
+/* RMA明细选择 */
+.rma-list {
+ padding: 0 16px;
+}
+
+.list-title {
font-size: 16px;
font-weight: bold;
color: #17b3a3;
margin: 12px 0 8px 0;
}
+.rma-row {
+ margin-bottom: 8px;
+}
+
+.rma-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 16px;
+ background: white;
+ border-radius: 6px;
+ cursor: pointer;
+ border: 1px solid #e0e0e0;
+ min-height: 60px;
+}
+
+.rma-item.selected {
+ border-color: #17b3a3;
+ background: #f0f9ff;
+}
+
+.rma-item:active {
+ background: #e6f7ff;
+}
+
+.item-info {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+}
+
+.part-no {
+ font-size: 16px;
+ font-weight: bold;
+ color: #333;
+ margin-bottom: 4px;
+}
+
+.batch-qty {
+ font-size: 14px;
+ color: #666;
+}
+
+.item-status {
+ font-size: 20px;
+ color: #17b3a3;
+}
+
+/* 退货明细列表 */
+.return-list-title {
+ font-size: 16px;
+ font-weight: bold;
+ color: #17b3a3;
+ margin: 12px 16px 8px 16px;
+}
+
+.detail-card {
+ margin: 0 16px 12px 16px;
+}
+
.detail-header {
font-weight: bold;
font-size: 15px;
@@ -175,11 +483,182 @@ export default {
padding-left: 8px;
}
+/* 明细信息显示 */
+.detail-info {
+ margin-bottom: 12px;
+}
+
+.info-row {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 6px 0;
+ border-bottom: 1px solid #f0f0f0;
+}
+
+.info-row:last-child {
+ border-bottom: none;
+}
+
+.info-label {
+ font-size: 14px;
+ color: #666;
+ font-weight: 500;
+}
+
+.info-value {
+ font-size: 14px;
+ color: #333;
+ font-weight: 500;
+}
+
+/* 包装单元区域 */
+.pack-unit-area {
+ margin-top: 0;
+ padding: 12px;
+ background: #f8f9fa;
+ border-radius: 6px;
+}
+
+.pack-actions {
+ margin-bottom: 8px;
+}
+
+.action-group {
+ margin-bottom: 10px;
+}
+
+.action-group:last-child {
+ margin-bottom: 0;
+}
+
+.action-title {
+ font-size: 13px;
+ color: #17b3a3;
+ font-weight: 500;
+ margin-bottom: 6px;
+}
+
+.action-group .el-input {
+ height: 32px;
+}
+
+.action-group .el-button {
+ height: 32px;
+ font-size: 12px;
+ padding: 8px 12px;
+}
+
+.pack-list {
+ margin-top: 8px;
+}
+
+.pack-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 8px;
+ margin-bottom: 6px;
+ background: white;
+ border-radius: 4px;
+ border: 1px solid #e0e0e0;
+ font-size: 13px;
+}
+
+.status-ok {
+ color: #67C23A;
+ font-weight: bold;
+ font-size: 16px;
+}
+
+.status-wait {
+ color: #E6A23C;
+ font-weight: bold;
+ font-size: 16px;
+}
+
+.delete-btn {
+ color: #F56C6C;
+ padding: 0;
+ font-size: 12px;
+}
+
+/* 库位区域 */
+.location-section {
+ margin: 16px;
+ padding: 16px;
+ background: white;
+ border-radius: 6px;
+}
+
+.section-label {
+ font-size: 16px;
+ font-weight: bold;
+ color: #17b3a3;
+ margin-bottom: 12px;
+}
+
+.location-input {
+ font-size: 16px;
+}
+
+.location-input .el-input__inner {
+ height: 44px;
+ font-size: 16px;
+}
+
+/* 提交按钮 */
.submit-btn {
- width: 100%;
+ width: calc(100% - 32px);
+ margin: 16px 16px 12px 16px;
+ height: 44px;
font-size: 16px;
- margin-top: 18px;
background: #17b3a3;
- color: #fff;
+ border-color: #17b3a3;
+ border-radius: 6px;
+}
+
+.submit-btn:hover {
+ background: #15a093;
+ border-color: #15a093;
+}
+
+/* PDA适配 - 增大触摸目标 */
+.el-input__inner {
+ height: 44px;
+ font-size: 16px;
+ padding: 0 15px;
+}
+
+.el-button {
+ min-height: 40px;
+ padding: 10px 16px;
+ font-size: 14px;
+}
+
+.el-button--primary {
+ background-color: #17b3a3;
+ border-color: #17b3a3;
+}
+
+.el-button--primary:hover {
+ background-color: #15a093;
+ border-color: #15a093;
+}
+
+/* 表单项间距优化 */
+.el-form-item {
+ margin-bottom: 12px;
+}
+
+.el-form-item__label {
+ font-size: 14px;
+ color: #333;
+ font-weight: 500;
+}
+
+/* 主内容区域 */
+.main-content {
+ padding-bottom: 12px;
}
diff --git a/src/views/modules/sales-return/sales-return-scrap.vue b/src/views/modules/sales-return/sales-return-scrap.vue
index 3dc80b0..a547c11 100644
--- a/src/views/modules/sales-return/sales-return-scrap.vue
+++ b/src/views/modules/sales-return/sales-return-scrap.vue
@@ -1,24 +1,45 @@
-
-
上一页
-
销售退货-报废
-
🏠首页
+
+
+
+
+
+
+
-
-
+
选择RMA明细行号
-
- {{ rmaDetail.partNo }}
- {{ rmaDetail.batchNo }}
- {{ rmaDetail.processQty }}
- {{ rmaDetail.desc }}
+
- 添加到退货明细
+
+
+ {{ rmaDetail.partNo }}
+ 批号:{{ rmaDetail.batchNo }} | 数量:{{ rmaDetail.processQty }}
+
+
+
+
+
@@ -32,18 +53,86 @@
明细{{ dIdx + 1 }}
-
-
-
-
-
-
-
-
-
+
+
+ 物料:
+ {{ detail.partNo }}
+
+
+ 数量:
+ {{ detail.processQty }}
+
+
+ 批号:
+ {{ detail.batchNo }}
+
+
+
+
+
+
+
+
+
创建包装单元
+
+
+
+
+
+
+
+
+ 创建
+
+
+
+
+
+
+
扫描包装单元
+
+
+
+
+
+ 扫描
+
+
+
+
+
+
+
+
+
+
+
+ {{ pack.code }} ({{ pack.qty }})
+
+ {{ pack.scanned ? '✓' : '○' }}
+
+ 删除
+
+
+
-
提交
+
确认报废
@@ -57,7 +146,9 @@ export default {
return {
scanRma: "",
rmaList: [],
- returnList: []
+ returnList: [], // 退货明细列表
+ selectedDetail: null, // 当前选择的RMA明细
+ processType: "scrap" // 固定为报废处理
};
},
methods: {
@@ -70,6 +161,15 @@ export default {
if (data.code === 0) this.rmaList = data.rows;
});
},
+ // 选择RMA明细
+ selectRmaDetail(rmaDetail) {
+ this.selectedDetail = rmaDetail;
+ // 自动添加到退货明细列表
+ if (!this.isInReturnList(rmaDetail)) {
+ this.addToReturnList(rmaDetail);
+ }
+ this.$message.success(`已选择物料: ${rmaDetail.partNo}`);
+ },
addToReturnList(rmaDetail) {
if (this.isInReturnList(rmaDetail)) return;
this.returnList.push({
@@ -77,8 +177,11 @@ export default {
partNo: rmaDetail.partNo,
processQty: rmaDetail.processQty,
batchNo: rmaDetail.batchNo,
- locationNo: "",
- warehouseId: ""
+ scrapReason: "",
+ packUnitList: [],
+ newPackCode: "",
+ newPackQty: "",
+ scanPackCode: ""
});
},
isInReturnList(rmaDetail) {
@@ -89,23 +192,130 @@ export default {
removeDetail(idx) {
this.returnList.splice(idx, 1);
},
+
+ // 创建包装单元
+ createPackUnit(detail) {
+ if (!detail.newPackCode || !detail.newPackQty) {
+ this.$message.warning('请输入包装编码和数量');
+ return;
+ }
+
+ // 检查编码是否重复
+ const exists = detail.packUnitList.find(pack => pack.code === detail.newPackCode);
+ if (exists) {
+ this.$message.error('包装编码已存在');
+ return;
+ }
+
+ detail.packUnitList.push({
+ code: detail.newPackCode,
+ qty: parseFloat(detail.newPackQty),
+ scanned: false,
+ createTime: new Date()
+ });
+
+ // 清空输入框
+ detail.newPackCode = "";
+ detail.newPackQty = "";
+
+ this.$message.success('包装单元创建成功');
+ },
+
+ // 扫描包装单元
+ scanPackUnit(detail) {
+ if (!detail.scanPackCode) {
+ this.$message.warning('请输入要扫描的包装单元条码');
+ return;
+ }
+
+ const pack = detail.packUnitList.find(p => p.code === detail.scanPackCode);
+ if (!pack) {
+ this.$message.error('未找到对应的包装单元');
+ return;
+ }
+
+ if (pack.scanned) {
+ this.$message.warning('该包装单元已经扫描过了');
+ return;
+ }
+
+ pack.scanned = true;
+ pack.scanTime = new Date();
+ detail.scanPackCode = "";
+
+ this.$message.success('扫描成功');
+ },
+
+ // 移除包装单元
+ removePackUnit(detail, idx) {
+ detail.packUnitList.splice(idx, 1);
+ this.$message.success('包装单元已移除');
+ },
submitReturn() {
if (!this.scanRma || this.returnList.length === 0) {
this.$message.error("请先扫描RMA号并选择退货明细");
return;
}
- processReturn({
+
+ // 验证每个明细都必须选择报废原因
+ const missingReason = this.returnList.some(detail => !detail.scrapReason);
+ if (missingReason) {
+ this.$message.error("请为每个明细选择报废原因");
+ return;
+ }
+
+ // 验证是否有包装单元且已扫描
+ const hasUnscannedPacks = this.returnList.some(detail =>
+ detail.packUnitList.length > 0 && detail.packUnitList.some(pack => !pack.scanned)
+ );
+
+ if (hasUnscannedPacks) {
+ this.$message.error("请先扫描所有包装单元");
+ return;
+ }
+
+ const submitData = {
rmaNo: this.scanRma,
- processType: "scrap",
- detailList: this.returnList
- }).then(({ data }) => {
- if (data.code === 0) {
- this.$message.success("操作成功");
- this.scanRma = "";
- this.rmaList = [];
- this.returnList = [];
- } else {
- this.$message.error(data.msg);
+ processType: this.processType,
+ detailList: this.returnList.map(detail => ({
+ ...detail,
+ packUnitList: detail.packUnitList.filter(pack => pack.scanned)
+ }))
+ };
+
+ this.$confirm('确认执行报废操作吗?', '提示', {
+ confirmButtonText: '确认',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ processReturn(submitData).then(({ data }) => {
+ if (data.code === 0) {
+ this.$message.success('报废成功');
+ this.resetForm();
+ } else {
+ this.$message.error(data.msg || '报废失败');
+ }
+ }).catch(error => {
+ console.error('提交失败:', error);
+ this.$message.error('报废失败');
+ });
+ }).catch(() => {
+ // 用户取消
+ });
+ },
+
+ // 重置表单
+ resetForm() {
+ this.scanRma = "";
+ this.rmaList = [];
+ this.returnList = [];
+ this.selectedDetail = null;
+ this.processType = "scrap";
+
+ // 聚焦搜索框
+ this.$nextTick(() => {
+ if (this.$refs.scanRmaRef) {
+ this.$refs.scanRmaRef.focus();
}
});
}
@@ -120,24 +330,118 @@ export default {
.pda-container {
background: #f5f5f5;
min-height: 100vh;
+ padding-bottom: 20px;
}
-.status-bar {
+/* 头部栏 */
+.header-bar {
display: flex;
justify-content: space-between;
align-items: center;
background: #17b3a3;
color: #fff;
- padding: 8px 12px;
+ padding: 12px 16px;
+ font-size: 16px;
}
-.return-list-title {
+.header-left {
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+}
+
+.header-left i {
+ margin-right: 8px;
+ font-size: 18px;
+}
+
+.header-right {
+ cursor: pointer;
+}
+
+/* 搜索容器 */
+.search-container {
+ padding: 12px 16px;
+ background: white;
+}
+
+.search-container .el-input {
+ font-size: 16px;
+}
+
+/* RMA明细选择 */
+.rma-list {
+ padding: 0 16px;
+}
+
+.list-title {
font-size: 16px;
font-weight: bold;
color: #17b3a3;
margin: 12px 0 8px 0;
}
+.rma-row {
+ margin-bottom: 8px;
+}
+
+.rma-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 16px;
+ background: white;
+ border-radius: 6px;
+ cursor: pointer;
+ border: 1px solid #e0e0e0;
+ min-height: 60px;
+}
+
+.rma-item.selected {
+ border-color: #17b3a3;
+ background: #f0f9ff;
+}
+
+.rma-item:active {
+ background: #e6f7ff;
+}
+
+.item-info {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+}
+
+.part-no {
+ font-size: 16px;
+ font-weight: bold;
+ color: #333;
+ margin-bottom: 4px;
+}
+
+.batch-qty {
+ font-size: 14px;
+ color: #666;
+}
+
+.item-status {
+ font-size: 20px;
+ color: #17b3a3;
+}
+
+/* 退货明细列表 */
+.return-list-title {
+ font-size: 16px;
+ font-weight: bold;
+ color: #17b3a3;
+ margin: 12px 16px 8px 16px;
+}
+
+.detail-card {
+ margin: 0 16px 12px 16px;
+}
+
.detail-header {
font-weight: bold;
font-size: 15px;
@@ -146,11 +450,168 @@ export default {
padding-left: 8px;
}
+/* 明细信息显示 */
+.detail-info {
+ margin-bottom: 12px;
+}
+
+.info-row {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 6px 0;
+ border-bottom: 1px solid #f0f0f0;
+}
+
+.info-row:last-child {
+ border-bottom: none;
+}
+
+.info-label {
+ font-size: 14px;
+ color: #666;
+ font-weight: 500;
+}
+
+.info-value {
+ font-size: 14px;
+ color: #333;
+ font-weight: 500;
+}
+
+/* 包装单元区域 */
+.pack-unit-area {
+ margin-top: 0;
+ padding: 12px;
+ background: #f8f9fa;
+ border-radius: 6px;
+}
+
+.pack-actions {
+ margin-bottom: 8px;
+}
+
+.action-group {
+ margin-bottom: 10px;
+}
+
+.action-group:last-child {
+ margin-bottom: 0;
+}
+
+.action-title {
+ font-size: 13px;
+ color: #17b3a3;
+ font-weight: 500;
+ margin-bottom: 6px;
+}
+
+.action-group .el-input {
+ height: 32px;
+}
+
+.action-group .el-button {
+ height: 32px;
+ font-size: 12px;
+ padding: 8px 12px;
+}
+
+.pack-list {
+ margin-top: 8px;
+}
+
+.pack-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 8px;
+ margin-bottom: 6px;
+ background: white;
+ border-radius: 4px;
+ border: 1px solid #e0e0e0;
+ font-size: 13px;
+}
+
+.status-ok {
+ color: #67C23A;
+ font-weight: bold;
+ font-size: 16px;
+}
+
+.status-wait {
+ color: #E6A23C;
+ font-weight: bold;
+ font-size: 16px;
+}
+
+.delete-btn {
+ color: #F56C6C;
+ padding: 0;
+ font-size: 12px;
+}
+
+/* 提交按钮 */
.submit-btn {
- width: 100%;
+ width: calc(100% - 32px);
+ margin: 16px 16px 12px 16px;
+ height: 44px;
font-size: 16px;
- margin-top: 18px;
background: #17b3a3;
- color: #fff;
+ border-color: #17b3a3;
+ border-radius: 6px;
+}
+
+.submit-btn:hover {
+ background: #15a093;
+ border-color: #15a093;
+}
+
+/* PDA适配 - 增大触摸目标 */
+.el-input__inner {
+ height: 44px;
+ font-size: 16px;
+ padding: 0 15px;
+}
+
+.el-button {
+ min-height: 40px;
+ padding: 10px 16px;
+ font-size: 14px;
+}
+
+.el-button--primary {
+ background-color: #17b3a3;
+ border-color: #17b3a3;
+}
+
+.el-button--primary:hover {
+ background-color: #15a093;
+ border-color: #15a093;
+}
+
+.el-button--danger {
+ background-color: #17b3a3;
+ border-color: #17b3a3;
+}
+
+.el-button--danger:hover {
+ background-color: #15a093;
+ border-color: #15a093;
+}
+
+/* 表单项间距优化 */
+.el-form-item {
+ margin-bottom: 12px;
+}
+
+.el-form-item__label {
+ font-size: 14px;
+ color: #333;
+ font-weight: 500;
+}
+
+/* 主内容区域 */
+.main-content {
+ padding-bottom: 12px;
}