feat(mes): 添加 overflow-hidden 类以改善组件布局

pull/871/MERGE
YunaiV 2026-03-29 12:09:42 +08:00
parent dba8ef1ab5
commit 736f7d2455
42 changed files with 438 additions and 40 deletions

View File

@ -1,6 +1,6 @@
<!-- MES 设备点检记录明细列表 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 操作栏 -->
<el-row class="mb-10px" v-if="!disabled">
<el-button type="primary" plain @click="openForm('create')">

View File

@ -1,6 +1,6 @@
<!-- MES 设备保养记录明细列表 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 操作栏 -->
<el-row class="mb-10px" v-if="!disabled">
<el-button type="primary" plain @click="openForm('create')">

View File

@ -1,6 +1,6 @@
<!-- MES 维修工单行列表 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 操作栏 -->
<el-row class="mb-10px" v-if="!disabled">
<el-button type="primary" plain @click="openForm('create')">

View File

@ -0,0 +1,78 @@
<template>
<div class="overflow-hidden">
<!-- 客户详情-产品清单 tab复用 getProductSalesLinePage 分页接口 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="物料编码" align="center" prop="itemCode" width="140">
<template #default="scope">
<el-button link type="primary" @click="handleViewItem(scope.row.itemId)">
{{ scope.row.itemCode }}
</el-button>
</template>
</el-table-column>
<el-table-column label="物料名称" align="center" prop="itemName" />
<el-table-column label="规格型号" align="center" prop="specification" />
<el-table-column label="单位" align="center" prop="unitMeasureName" />
<el-table-column label="出库数量" align="center" prop="quantity" />
<el-table-column label="批次号" align="center" prop="batchCode" />
</el-table>
<Pagination
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
<!-- 物料详情弹窗 -->
<MdItemForm ref="itemFormRef" />
</div>
</template>
<script setup lang="ts">
import { WmProductSalesLineApi } from '@/api/mes/wm/productsales/line'
import MdItemForm from '@/views/mes/md/item/MdItemForm.vue'
defineOptions({ name: 'ClientProductSalesLineList' })
const props = defineProps<{
clientId: number
}>()
const loading = ref(false)
const list = ref<any[]>([])
const total = ref(0)
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
clientId: undefined as number | undefined
})
/** 查询列表 */
const getList = async () => {
if (!queryParams.clientId) return
loading.value = true
try {
const data = await WmProductSalesLineApi.getProductSalesLinePage(queryParams)
list.value = data.list
total.value = data.total
} finally {
loading.value = false
}
}
/** 查看物料详情 */
const itemFormRef = ref()
const handleViewItem = (itemId: number) => {
itemFormRef.value.open('detail', itemId)
}
/** 监听 clientId 变化,自动加载 */
watch(
() => props.clientId,
(val) => {
queryParams.clientId = val
queryParams.pageNo = 1
getList()
},
{ immediate: true }
)
</script>

View File

@ -1,4 +1,5 @@
<template>
<div class="overflow-hidden">
<!-- 客户详情-产品清单 tab复用 getProductSalesLinePage 分页接口 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="物料编码" align="center" prop="itemCode" width="140">
@ -23,6 +24,7 @@
<!-- 物料详情弹窗 -->
<MdItemForm ref="itemFormRef" />
</div>
</template>
<script setup lang="ts">

View File

@ -0,0 +1,88 @@
<template>
<div class="overflow-hidden">
<!-- 客户详情-销售记录 tab复用 getProductSalesPage 分页接口 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="出库单编号" align="center" prop="code" min-width="160">
<template #default="scope">
<el-button link type="primary" @click="handleDetail(scope.row.id)">
{{ scope.row.code }}
</el-button>
</template>
</el-table-column>
<el-table-column label="出库单名称" align="center" prop="name" min-width="150" />
<el-table-column
label="出库日期"
align="center"
prop="salesDate"
:formatter="dateFormatter2"
width="180px"
/>
<el-table-column label="单据状态" align="center" prop="status" min-width="100">
<template #default="scope">
<dict-tag :type="DICT_TYPE.MES_WM_PRODUCT_SALES_STATUS" :value="scope.row.status" />
</template>
</el-table-column>
</el-table>
<Pagination
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
<!-- 销售出库单详情弹窗 -->
<ProductSalesForm ref="formRef" />
</div>
</template>
<script setup lang="ts">
import { dateFormatter2 } from '@/utils/formatTime'
import { DICT_TYPE } from '@/utils/dict'
import { WmProductSalesApi } from '@/api/mes/wm/productsales'
import ProductSalesForm from '@/views/mes/wm/productsales/ProductSalesForm.vue'
defineOptions({ name: 'ClientProductSalesList' })
const props = defineProps<{
clientId: number
}>()
const loading = ref(false)
const list = ref<any[]>([])
const total = ref(0)
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
clientId: undefined as number | undefined
})
/** 查询列表 */
const getList = async () => {
if (!queryParams.clientId) return
loading.value = true
try {
const data = await WmProductSalesApi.getProductSalesPage(queryParams)
list.value = data.list
total.value = data.total
} finally {
loading.value = false
}
}
/** 查看详情 */
const formRef = ref()
const handleDetail = (id: number) => {
formRef.value.open('detail', id)
}
/** 监听 clientId 变化,自动加载 */
watch(
() => props.clientId,
(val) => {
queryParams.clientId = val
queryParams.pageNo = 1
getList()
},
{ immediate: true }
)
</script>

View File

@ -1,4 +1,5 @@
<template>
<div class="overflow-hidden">
<!-- 客户详情-销售记录 tab复用 getProductSalesPage 分页接口 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="出库单编号" align="center" prop="code" min-width="160">
@ -31,6 +32,7 @@
<!-- 销售出库单详情弹窗 -->
<ProductSalesForm ref="formRef" />
</div>
</template>
<script setup lang="ts">

View File

@ -153,10 +153,10 @@
<!-- 编辑/详情时显示关联数据 tab -->
<el-tabs v-if="formType !== 'create' && formData.id" v-model="activeTab" class="mt-10px">
<el-tab-pane label="产品清单" name="productSalesLine" lazy>
<ClientProductSalesLineTab :clientId="formData.id" />
<ClientProductSalesLineList :clientId="formData.id" />
</el-tab-pane>
<el-tab-pane label="销售记录" name="productSales" lazy>
<ClientProductSalesTab :clientId="formData.id" />
<ClientProductSalesList :clientId="formData.id" />
</el-tab-pane>
</el-tabs>
<template #footer>
@ -173,8 +173,8 @@ import { MdClientApi, MdClientVO } from '@/api/mes/md/client'
import { AutoCodeRecordApi } from '@/api/mes/md/autocode/record'
import { CommonStatusEnum } from '@/utils/constants'
import { MesAutoCodeRuleCode } from '@/views/mes/utils/constants'
import ClientProductSalesLineTab from './ClientProductSalesLineTab.vue'
import ClientProductSalesTab from './ClientProductSalesTab.vue'
import ClientProductSalesLineList from './ClientProductSalesLineList.vue'
import ClientProductSalesList from './ClientProductSalesList.vue'
defineOptions({ name: 'MdClientForm' })

View File

@ -162,10 +162,10 @@
<!-- 编辑/详情时显示关联数据 tab -->
<el-tabs v-if="formType !== 'create' && formData.id" v-model="activeTab" class="mt-10px">
<el-tab-pane label="物料清单" name="itemReceiptLine" lazy>
<VendorItemReceiptLineTab :vendorId="formData.id" />
<VendorItemReceiptLineList :vendorId="formData.id" />
</el-tab-pane>
<el-tab-pane label="采购入库" name="itemReceipt" lazy>
<VendorItemReceiptTab :vendorId="formData.id" />
<VendorItemReceiptList :vendorId="formData.id" />
</el-tab-pane>
</el-tabs>
<template #footer>
@ -182,8 +182,8 @@ import { MdVendorApi, MdVendorVO } from '@/api/mes/md/vendor'
import { AutoCodeRecordApi } from '@/api/mes/md/autocode/record'
import { CommonStatusEnum } from '@/utils/constants'
import { MesAutoCodeRuleCode } from '@/views/mes/utils/constants'
import VendorItemReceiptLineTab from './VendorItemReceiptLineTab.vue'
import VendorItemReceiptTab from './VendorItemReceiptTab.vue'
import VendorItemReceiptLineList from './VendorItemReceiptLineList.vue'
import VendorItemReceiptList from './VendorItemReceiptList.vue'
defineOptions({ name: 'MdVendorForm' })

View File

@ -0,0 +1,78 @@
<template>
<div class="overflow-hidden">
<!-- 供应商详情-物料清单 tab复用 getItemReceiptLinePage 分页接口 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="物料编码" align="center" prop="itemCode" width="140">
<template #default="scope">
<el-button link type="primary" @click="handleViewItem(scope.row.itemId)">
{{ scope.row.itemCode }}
</el-button>
</template>
</el-table-column>
<el-table-column label="物料名称" align="center" prop="itemName" />
<el-table-column label="规格型号" align="center" prop="specification" />
<el-table-column label="单位" align="center" prop="unitMeasureName" />
<el-table-column label="入库数量" align="center" prop="receivedQuantity" />
<el-table-column label="批次号" align="center" prop="batchCode" />
</el-table>
<Pagination
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
<!-- 物料详情弹窗 -->
<MdItemForm ref="itemFormRef" />
</div>
</template>
<script setup lang="ts">
import { WmItemReceiptLineApi } from '@/api/mes/wm/itemreceipt/line'
import MdItemForm from '@/views/mes/md/item/MdItemForm.vue'
defineOptions({ name: 'VendorItemReceiptLineList' })
const props = defineProps<{
vendorId: number
}>()
const loading = ref(false)
const list = ref<any[]>([])
const total = ref(0)
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
vendorId: undefined as number | undefined
})
/** 查询列表 */
const getList = async () => {
if (!queryParams.vendorId) return
loading.value = true
try {
const data = await WmItemReceiptLineApi.getItemReceiptLinePage(queryParams)
list.value = data.list
total.value = data.total
} finally {
loading.value = false
}
}
/** 查看物料详情 */
const itemFormRef = ref()
const handleViewItem = (itemId: number) => {
itemFormRef.value.open('detail', itemId)
}
/** 监听 vendorId 变化,自动加载 */
watch(
() => props.vendorId,
(val) => {
queryParams.vendorId = val
queryParams.pageNo = 1
getList()
},
{ immediate: true }
)
</script>

View File

@ -1,4 +1,5 @@
<template>
<div class="overflow-hidden">
<!-- 供应商详情-物料清单 tab复用 getItemReceiptLinePage 分页接口 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="物料编码" align="center" prop="itemCode" width="140">
@ -23,6 +24,7 @@
<!-- 物料详情弹窗 -->
<MdItemForm ref="itemFormRef" />
</div>
</template>
<script setup lang="ts">

View File

@ -0,0 +1,88 @@
<template>
<div class="overflow-hidden">
<!-- 供应商详情-采购记录 tab复用 getItemReceiptPage 分页接口 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="入库单编号" align="center" prop="code" min-width="160">
<template #default="scope">
<el-button link type="primary" @click="handleDetail(scope.row.id)">
{{ scope.row.code }}
</el-button>
</template>
</el-table-column>
<el-table-column label="入库单名称" align="center" prop="name" min-width="150" />
<el-table-column
label="入库日期"
align="center"
prop="receiptDate"
:formatter="dateFormatter2"
width="180px"
/>
<el-table-column label="单据状态" align="center" prop="status" min-width="100">
<template #default="scope">
<dict-tag :type="DICT_TYPE.MES_WM_ITEM_RECEIPT_STATUS" :value="scope.row.status" />
</template>
</el-table-column>
</el-table>
<Pagination
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
<!-- 采购入库单详情弹窗 -->
<ItemReceiptForm ref="formRef" />
</div>
</template>
<script setup lang="ts">
import { dateFormatter2 } from '@/utils/formatTime'
import { DICT_TYPE } from '@/utils/dict'
import { WmItemReceiptApi } from '@/api/mes/wm/itemreceipt'
import ItemReceiptForm from '@/views/mes/wm/itemreceipt/ItemReceiptForm.vue'
defineOptions({ name: 'VendorItemReceiptList' })
const props = defineProps<{
vendorId: number
}>()
const loading = ref(false)
const list = ref<any[]>([])
const total = ref(0)
const queryParams = reactive({
pageNo: 1,
pageSize: 10,
vendorId: undefined as number | undefined
})
/** 查询列表 */
const getList = async () => {
if (!queryParams.vendorId) return
loading.value = true
try {
const data = await WmItemReceiptApi.getItemReceiptPage(queryParams)
list.value = data.list
total.value = data.total
} finally {
loading.value = false
}
}
/** 查看详情 */
const formRef = ref()
const handleDetail = (id: number) => {
formRef.value.open('detail', id)
}
/** 监听 vendorId 变化,自动加载 */
watch(
() => props.vendorId,
(val) => {
queryParams.vendorId = val
queryParams.pageNo = 1
getList()
},
{ immediate: true }
)
</script>

View File

@ -1,4 +1,5 @@
<template>
<div class="overflow-hidden">
<!-- 供应商详情-采购记录 tab复用 getItemReceiptPage 分页接口 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="入库单编号" align="center" prop="code" min-width="160">
@ -31,6 +32,7 @@
<!-- 采购入库单详情弹窗 -->
<ItemReceiptForm ref="formRef" />
</div>
</template>
<script setup lang="ts">

View File

@ -1,6 +1,6 @@
<!-- MES 流转卡工序记录列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 操作按钮 -->
<div class="mb-10px" v-if="!disabled">
<el-button type="primary" plain @click="openProcessForm('create')">

View File

@ -1,7 +1,7 @@
<!-- 物料消耗记录行列表只读带分页 -->
<!-- DONE @AI挪到 /Users/yunai/Java/yudao-all-in-one/yudao-ui-admin-vue3/src/views/mes/pro/feedback不作为 components -->
<template>
<div>
<div class="overflow-hidden">
<el-table v-loading="loading" :data="list" stripe>
<el-table-column label="物资编码" align="center" prop="itemCode" min-width="120" />
<el-table-column label="物资名称" align="center" prop="itemName" min-width="140" />

View File

@ -1,6 +1,6 @@
<!-- 产品产出记录行列表只读带分页 -->
<template>
<div>
<div class="overflow-hidden">
<el-table v-loading="loading" :data="list" stripe>
<el-table-column label="物资编码" align="center" prop="itemCode" min-width="120" />
<el-table-column label="物资名称" align="center" prop="itemName" min-width="140" />

View File

@ -1,6 +1,6 @@
<!-- MES 生产工单 BOM 列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<!-- BOM 列表 -->
<el-table v-loading="loading" :data="bomList" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="BOM 物料编码" align="center" prop="itemCode" width="120" />

View File

@ -43,14 +43,14 @@
</el-descriptions>
<el-tabs type="border-card" class="mt-10px">
<el-tab-pane label="向前追溯">
<BatchTraceDetailTab
<BatchTraceDetailList
:batchId="detailData.id"
:batchCode="detailData.code"
direction="forward"
/>
</el-tab-pane>
<el-tab-pane label="向后追溯">
<BatchTraceDetailTab
<BatchTraceDetailList
:batchId="detailData.id"
:batchCode="detailData.code"
direction="backward"
@ -62,7 +62,7 @@
<script lang="ts" setup>
import { BatchVO } from '@/api/mes/wm/batch'
import BatchTraceDetailTab from './BatchTraceDetailTab.vue'
import BatchTraceDetailList from './BatchTraceDetailList.vue'
defineOptions({ name: 'BatchTraceDetail' })

View File

@ -0,0 +1,56 @@
<template>
<div class="app-container">
<el-table v-loading="loading" :data="batchList">
<el-table-column label="生产工单号" width="150px" align="center" prop="workOrderCode" />
<el-table-column label="批次编号" align="center" prop="code" />
<el-table-column label="产品物料编码" align="center" prop="itemCode" />
<el-table-column label="产品物料名称" align="center" prop="itemName" />
<el-table-column label="规格型号" align="center" prop="itemSpecification" />
<el-table-column label="单位" align="center" prop="unitName" />
</el-table>
</div>
</template>
<script lang="ts" setup>
import { BatchApi, BatchVO } from '@/api/mes/wm/batch'
defineOptions({ name: 'BatchTraceDetailList' })
const props = defineProps<{
batchId?: number
batchCode?: string
direction: 'forward' | 'backward' // forward=backward=
}>()
const loading = ref(true) //
const batchList = ref<BatchVO[]>([]) //
watch(
() => props.batchCode,
(val) => {
if (val) {
getList()
}
}
)
/** 查询列表 */
const getList = async () => {
if (!props.batchCode) {
return
}
loading.value = true
try {
batchList.value =
props.direction === 'forward'
? await BatchApi.getForwardList(props.batchCode)
: await BatchApi.getBackwardList(props.batchCode)
} finally {
loading.value = false
}
}
/** 初始化 */
onMounted(() => {
getList()
})
</script>

View File

@ -1,6 +1,7 @@
<!-- 缺陷记录内联编辑列表通用组件 IQC/IPQC/OQC/RQC 各模块复用 -->
<template>
<Dialog title="缺陷记录" v-model="dialogVisible" width="900px">
<div class="overflow-hidden">
<!-- 新增按钮 -->
<el-row class="mb-10px">
<el-button type="primary" plain @click="handleAdd" v-hasPermi="['mes:qc-defect:create']">
@ -87,6 +88,7 @@
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
</div>
</Dialog>
</template>

View File

@ -1,6 +1,6 @@
<!-- MES 检验结果列表子组件嵌入 IQC 等质检单详情页 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 操作按钮 -->
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">

View File

@ -1,6 +1,6 @@
<!-- MES 过程检验单行 子列表只读 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 列表 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />

View File

@ -1,6 +1,6 @@
<!-- MES 来料检验单行 子列表只读 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 列表 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="检测项名称" align="center" prop="indicatorName" width="150" />

View File

@ -1,6 +1,6 @@
<!-- MES 出货检验单行 子列表只读 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 列表 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />

View File

@ -1,6 +1,6 @@
<!-- MES 退货检验单行 子列表只读 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 列表 -->
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />

View File

@ -1,6 +1,6 @@
<!-- MES 到货通知单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 采购入库单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 杂项出库单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,7 +1,7 @@
<!-- MES 外协发料单行列表子组件 -->
<!-- DONE @芋艿 reviewAI 未修复原因标注为后续人工 review需人工介入 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 外协入库单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 装箱明细列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isEditable" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加明细
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 子箱列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isEditable" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加子箱
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 领料出库单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 产品入库单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 销售出库单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 生产退料单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 销售退货单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 供应商退货单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 发货通知单行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button type="primary" plain @click="openForm('create')" class="mb-10px">
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
</el-button>

View File

@ -1,6 +1,6 @@
<!-- MES 盘点方案条件列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<el-button
type="primary"
plain

View File

@ -1,6 +1,6 @@
<!-- MES 盘点任务行列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 添加物料按钮 -->
<el-button
v-if="!isReadOnly"

View File

@ -1,6 +1,6 @@
<!-- MES 盘点任务结果列表子组件 -->
<template>
<div>
<div class="overflow-hidden">
<!-- 新增按钮 -->
<el-button
v-if="!isReadOnly"