添加 Title 组件
This commit is contained in:
@@ -3,7 +3,7 @@ import { ref, onMounted } from 'vue';
|
||||
import { usePwoStore, useJobStore } from '@/store'
|
||||
import type { ColumnsType } from 'ant-design-vue/es/table/interface';
|
||||
import { message } from 'ant-design-vue'
|
||||
import { listMainMaterialEntryLog, addWaferEntryLogByCarrier, addDieEntryLogByCarrier, addWaferEntryLog, addDieEntryLog, delMainMaterialEntryLog } from '@/api/pwoManage/station/primaryMaterial'
|
||||
import { listMainMaterialEntryLog, addWaferEntryLogByCarrier, addDieEntryLogByCarrier, addWaferEntryLog, addDieEntryLog, delMainMaterialEntryLog } from '@/api/pwoManage/primaryMaterial'
|
||||
|
||||
const pwoStore = usePwoStore();
|
||||
const jobStore = useJobStore();
|
||||
@@ -133,7 +133,7 @@ fetchPrimaryMaterialList()
|
||||
|
||||
<template>
|
||||
<div class="primary-material__container">
|
||||
<div class="main-title">主材料进站</div>
|
||||
<Title name="主材料进站" showRefresh @refresh="fetchPrimaryMaterialList" />
|
||||
<a-form layout="inline" size="large">
|
||||
<a-form-item label="主材类型">
|
||||
<a-input v-model:value="materialType" disabled />
|
||||
@@ -141,15 +141,15 @@ fetchPrimaryMaterialList()
|
||||
<a-form-item label="载具 ID">
|
||||
<a-input v-model:value="carrierInput" @pressEnter="insertCarrier" placeholder="按下回车录入" allow-clear />
|
||||
</a-form-item>
|
||||
<a-form-item>
|
||||
<a-button type="primary" @click="insertCarrier">录入</a-button>
|
||||
</a-form-item>
|
||||
<a-form-item label="物料编码">
|
||||
<a-input v-model:value="materialInput" @pressEnter="insertMaterial" placeholder="按下回车录入" allow-clear />
|
||||
</a-form-item>
|
||||
<a-form-item>
|
||||
<a-button type="primary" @click="insertMaterial">录入</a-button>
|
||||
</a-form-item>
|
||||
<a-form-item>
|
||||
<a-button @click="fetchPrimaryMaterialList">刷新</a-button>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
<div class="table-wrapper" ref="customTable">
|
||||
<a-table :dataSource="materialTableData" :columns="materialColumns as ColumnsType<MaterialTableItem>"
|
||||
@@ -175,13 +175,6 @@ fetchPrimaryMaterialList()
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
|
||||
.main-title {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
border-bottom: 1px solid #c9c9c9;
|
||||
padding: 0 0 8px;
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
|
||||
Reference in New Issue
Block a user