调整首页初始参数
This commit is contained in:
@@ -182,17 +182,15 @@ const handleSseMessage = (data: string) => {
|
||||
console.log('收到SSE消息:', data);
|
||||
};
|
||||
|
||||
// Status handlers are now managed by individual modal components
|
||||
|
||||
// 检测设备表单数据
|
||||
const detectForm = reactive({
|
||||
workOrderCode: 'SKT202507220001',
|
||||
productCode: 'JH1008611',
|
||||
employeeCode: 'ZDXTEST',
|
||||
processName: 'T-自动组装测试',
|
||||
resourceName: 'T-A自动组装测试',
|
||||
equipmentCode: 'JH.02.101.13-219',
|
||||
fixtureCode: 'JH0001',
|
||||
workOrderCode: '',
|
||||
productCode: '',
|
||||
employeeCode: '',
|
||||
processName: '',
|
||||
resourceName: '',
|
||||
equipmentCode: '',
|
||||
fixtureCode: '',
|
||||
confirmSequence: '',
|
||||
detectionData: '',
|
||||
sequenceCount: 1
|
||||
@@ -200,18 +198,18 @@ const detectForm = reactive({
|
||||
|
||||
// 包装设备表单数据
|
||||
const packageForm = reactive({
|
||||
customerSelection: '上海电子科技有限公司',
|
||||
productModel: 'A538-09-高精度传感器',
|
||||
employeeCode: 'OP-7853',
|
||||
processName: '自动包装',
|
||||
resourceName: '包装台2号',
|
||||
equipmentCode: 'EQ-PK-002',
|
||||
fixtureCode: 'FX-PK-002-B',
|
||||
packingResult: '正常',
|
||||
sequenceNumber: 'SN-A538-09-2023-00018',
|
||||
passStationCount: 18,
|
||||
fullBoxCount: 25,
|
||||
passStationSequence: 'SN-A538-09-2023-00018'
|
||||
customerSelection: '',
|
||||
productModel: '',
|
||||
employeeCode: '',
|
||||
processName: '',
|
||||
resourceName: '',
|
||||
equipmentCode: '',
|
||||
fixtureCode: '',
|
||||
packingResult: '',
|
||||
sequenceNumber: '',
|
||||
passStationCount: '',
|
||||
fullBoxCount: '',
|
||||
passStationSequence: ''
|
||||
});
|
||||
|
||||
// 编辑模式切换
|
||||
@@ -473,22 +471,10 @@ onBeforeUnmount(() => {
|
||||
</div>
|
||||
</div>
|
||||
<a-form :model="packageForm" :rules="packageRules" class="device-info" ref="packageFormRef" :colon="false"
|
||||
hideRequiredMark :labelCol="{ span: 4 }" :wrapperCol="{ span: 20 }">
|
||||
hideRequiredMark :labelCol="{ span: 4 }" :wrapperCol="{ span: 20 }">
|
||||
<a-row :gutter="32">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="客户选择" name="customerSelection">
|
||||
<a-input v-model:value="packageForm.customerSelection" class="edit-input"
|
||||
:disabled="!isPackageEditMode" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="产品型号" name="productModel">
|
||||
<a-input v-model:value="packageForm.productModel" class="edit-input"
|
||||
:disabled="!isPackageEditMode" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="工号" name="employeeCode">
|
||||
<a-form-item label="员工工号" name="employeeCode">
|
||||
<a-input v-model:value="packageForm.employeeCode" class="edit-input"
|
||||
:disabled="!isPackageEditMode" />
|
||||
</a-form-item>
|
||||
|
||||
Reference in New Issue
Block a user