✨ feat(mes): 添加 overflow-hidden 类以改善组件布局
parent
dba8ef1ab5
commit
736f7d2455
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 设备点检记录明细列表 -->
|
<!-- MES 设备点检记录明细列表 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<el-row class="mb-10px" v-if="!disabled">
|
<el-row class="mb-10px" v-if="!disabled">
|
||||||
<el-button type="primary" plain @click="openForm('create')">
|
<el-button type="primary" plain @click="openForm('create')">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 设备保养记录明细列表 -->
|
<!-- MES 设备保养记录明细列表 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<el-row class="mb-10px" v-if="!disabled">
|
<el-row class="mb-10px" v-if="!disabled">
|
||||||
<el-button type="primary" plain @click="openForm('create')">
|
<el-button type="primary" plain @click="openForm('create')">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 维修工单行列表 -->
|
<!-- MES 维修工单行列表 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 操作栏 -->
|
<!-- 操作栏 -->
|
||||||
<el-row class="mb-10px" v-if="!disabled">
|
<el-row class="mb-10px" v-if="!disabled">
|
||||||
<el-button type="primary" plain @click="openForm('create')">
|
<el-button type="primary" plain @click="openForm('create')">
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
|
<div class="overflow-hidden">
|
||||||
<!-- 客户详情-产品清单 tab(复用 getProductSalesLinePage 分页接口) -->
|
<!-- 客户详情-产品清单 tab(复用 getProductSalesLinePage 分页接口) -->
|
||||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="物料编码" align="center" prop="itemCode" width="140">
|
<el-table-column label="物料编码" align="center" prop="itemCode" width="140">
|
||||||
|
|
@ -23,6 +24,7 @@
|
||||||
|
|
||||||
<!-- 物料详情弹窗 -->
|
<!-- 物料详情弹窗 -->
|
||||||
<MdItemForm ref="itemFormRef" />
|
<MdItemForm ref="itemFormRef" />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
|
<div class="overflow-hidden">
|
||||||
<!-- 客户详情-销售记录 tab(复用 getProductSalesPage 分页接口) -->
|
<!-- 客户详情-销售记录 tab(复用 getProductSalesPage 分页接口) -->
|
||||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="出库单编号" align="center" prop="code" min-width="160">
|
<el-table-column label="出库单编号" align="center" prop="code" min-width="160">
|
||||||
|
|
@ -31,6 +32,7 @@
|
||||||
|
|
||||||
<!-- 销售出库单详情弹窗 -->
|
<!-- 销售出库单详情弹窗 -->
|
||||||
<ProductSalesForm ref="formRef" />
|
<ProductSalesForm ref="formRef" />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
||||||
|
|
@ -153,10 +153,10 @@
|
||||||
<!-- 编辑/详情时显示关联数据 tab -->
|
<!-- 编辑/详情时显示关联数据 tab -->
|
||||||
<el-tabs v-if="formType !== 'create' && formData.id" v-model="activeTab" class="mt-10px">
|
<el-tabs v-if="formType !== 'create' && formData.id" v-model="activeTab" class="mt-10px">
|
||||||
<el-tab-pane label="产品清单" name="productSalesLine" lazy>
|
<el-tab-pane label="产品清单" name="productSalesLine" lazy>
|
||||||
<ClientProductSalesLineTab :clientId="formData.id" />
|
<ClientProductSalesLineList :clientId="formData.id" />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="销售记录" name="productSales" lazy>
|
<el-tab-pane label="销售记录" name="productSales" lazy>
|
||||||
<ClientProductSalesTab :clientId="formData.id" />
|
<ClientProductSalesList :clientId="formData.id" />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
|
@ -173,8 +173,8 @@ import { MdClientApi, MdClientVO } from '@/api/mes/md/client'
|
||||||
import { AutoCodeRecordApi } from '@/api/mes/md/autocode/record'
|
import { AutoCodeRecordApi } from '@/api/mes/md/autocode/record'
|
||||||
import { CommonStatusEnum } from '@/utils/constants'
|
import { CommonStatusEnum } from '@/utils/constants'
|
||||||
import { MesAutoCodeRuleCode } from '@/views/mes/utils/constants'
|
import { MesAutoCodeRuleCode } from '@/views/mes/utils/constants'
|
||||||
import ClientProductSalesLineTab from './ClientProductSalesLineTab.vue'
|
import ClientProductSalesLineList from './ClientProductSalesLineList.vue'
|
||||||
import ClientProductSalesTab from './ClientProductSalesTab.vue'
|
import ClientProductSalesList from './ClientProductSalesList.vue'
|
||||||
|
|
||||||
defineOptions({ name: 'MdClientForm' })
|
defineOptions({ name: 'MdClientForm' })
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -162,10 +162,10 @@
|
||||||
<!-- 编辑/详情时显示关联数据 tab -->
|
<!-- 编辑/详情时显示关联数据 tab -->
|
||||||
<el-tabs v-if="formType !== 'create' && formData.id" v-model="activeTab" class="mt-10px">
|
<el-tabs v-if="formType !== 'create' && formData.id" v-model="activeTab" class="mt-10px">
|
||||||
<el-tab-pane label="物料清单" name="itemReceiptLine" lazy>
|
<el-tab-pane label="物料清单" name="itemReceiptLine" lazy>
|
||||||
<VendorItemReceiptLineTab :vendorId="formData.id" />
|
<VendorItemReceiptLineList :vendorId="formData.id" />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="采购入库" name="itemReceipt" lazy>
|
<el-tab-pane label="采购入库" name="itemReceipt" lazy>
|
||||||
<VendorItemReceiptTab :vendorId="formData.id" />
|
<VendorItemReceiptList :vendorId="formData.id" />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
|
@ -182,8 +182,8 @@ import { MdVendorApi, MdVendorVO } from '@/api/mes/md/vendor'
|
||||||
import { AutoCodeRecordApi } from '@/api/mes/md/autocode/record'
|
import { AutoCodeRecordApi } from '@/api/mes/md/autocode/record'
|
||||||
import { CommonStatusEnum } from '@/utils/constants'
|
import { CommonStatusEnum } from '@/utils/constants'
|
||||||
import { MesAutoCodeRuleCode } from '@/views/mes/utils/constants'
|
import { MesAutoCodeRuleCode } from '@/views/mes/utils/constants'
|
||||||
import VendorItemReceiptLineTab from './VendorItemReceiptLineTab.vue'
|
import VendorItemReceiptLineList from './VendorItemReceiptLineList.vue'
|
||||||
import VendorItemReceiptTab from './VendorItemReceiptTab.vue'
|
import VendorItemReceiptList from './VendorItemReceiptList.vue'
|
||||||
|
|
||||||
defineOptions({ name: 'MdVendorForm' })
|
defineOptions({ name: 'MdVendorForm' })
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
|
<div class="overflow-hidden">
|
||||||
<!-- 供应商详情-物料清单 tab(复用 getItemReceiptLinePage 分页接口) -->
|
<!-- 供应商详情-物料清单 tab(复用 getItemReceiptLinePage 分页接口) -->
|
||||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="物料编码" align="center" prop="itemCode" width="140">
|
<el-table-column label="物料编码" align="center" prop="itemCode" width="140">
|
||||||
|
|
@ -23,6 +24,7 @@
|
||||||
|
|
||||||
<!-- 物料详情弹窗 -->
|
<!-- 物料详情弹窗 -->
|
||||||
<MdItemForm ref="itemFormRef" />
|
<MdItemForm ref="itemFormRef" />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
|
<div class="overflow-hidden">
|
||||||
<!-- 供应商详情-采购记录 tab(复用 getItemReceiptPage 分页接口) -->
|
<!-- 供应商详情-采购记录 tab(复用 getItemReceiptPage 分页接口) -->
|
||||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="入库单编号" align="center" prop="code" min-width="160">
|
<el-table-column label="入库单编号" align="center" prop="code" min-width="160">
|
||||||
|
|
@ -31,6 +32,7 @@
|
||||||
|
|
||||||
<!-- 采购入库单详情弹窗 -->
|
<!-- 采购入库单详情弹窗 -->
|
||||||
<ItemReceiptForm ref="formRef" />
|
<ItemReceiptForm ref="formRef" />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 流转卡工序记录列表子组件 -->
|
<!-- MES 流转卡工序记录列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<div class="mb-10px" v-if="!disabled">
|
<div class="mb-10px" v-if="!disabled">
|
||||||
<el-button type="primary" plain @click="openProcessForm('create')">
|
<el-button type="primary" plain @click="openProcessForm('create')">
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<!-- 物料消耗记录行列表(只读,带分页) -->
|
<!-- 物料消耗记录行列表(只读,带分页) -->
|
||||||
<!-- DONE @AI:挪到 /Users/yunai/Java/yudao-all-in-one/yudao-ui-admin-vue3/src/views/mes/pro/feedback;不作为 components -->
|
<!-- DONE @AI:挪到 /Users/yunai/Java/yudao-all-in-one/yudao-ui-admin-vue3/src/views/mes/pro/feedback;不作为 components -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-table v-loading="loading" :data="list" stripe>
|
<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="itemCode" min-width="120" />
|
||||||
<el-table-column label="物资名称" align="center" prop="itemName" min-width="140" />
|
<el-table-column label="物资名称" align="center" prop="itemName" min-width="140" />
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- 产品产出记录行列表(只读,带分页) -->
|
<!-- 产品产出记录行列表(只读,带分页) -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-table v-loading="loading" :data="list" stripe>
|
<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="itemCode" min-width="120" />
|
||||||
<el-table-column label="物资名称" align="center" prop="itemName" min-width="140" />
|
<el-table-column label="物资名称" align="center" prop="itemName" min-width="140" />
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 生产工单 BOM 列表子组件 -->
|
<!-- MES 生产工单 BOM 列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- BOM 列表 -->
|
<!-- BOM 列表 -->
|
||||||
<el-table v-loading="loading" :data="bomList" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="bomList" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="BOM 物料编码" align="center" prop="itemCode" width="120" />
|
<el-table-column label="BOM 物料编码" align="center" prop="itemCode" width="120" />
|
||||||
|
|
|
||||||
|
|
@ -43,14 +43,14 @@
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-tabs type="border-card" class="mt-10px">
|
<el-tabs type="border-card" class="mt-10px">
|
||||||
<el-tab-pane label="向前追溯">
|
<el-tab-pane label="向前追溯">
|
||||||
<BatchTraceDetailTab
|
<BatchTraceDetailList
|
||||||
:batchId="detailData.id"
|
:batchId="detailData.id"
|
||||||
:batchCode="detailData.code"
|
:batchCode="detailData.code"
|
||||||
direction="forward"
|
direction="forward"
|
||||||
/>
|
/>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="向后追溯">
|
<el-tab-pane label="向后追溯">
|
||||||
<BatchTraceDetailTab
|
<BatchTraceDetailList
|
||||||
:batchId="detailData.id"
|
:batchId="detailData.id"
|
||||||
:batchCode="detailData.code"
|
:batchCode="detailData.code"
|
||||||
direction="backward"
|
direction="backward"
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { BatchVO } from '@/api/mes/wm/batch'
|
import { BatchVO } from '@/api/mes/wm/batch'
|
||||||
import BatchTraceDetailTab from './BatchTraceDetailTab.vue'
|
import BatchTraceDetailList from './BatchTraceDetailList.vue'
|
||||||
|
|
||||||
defineOptions({ name: 'BatchTraceDetail' })
|
defineOptions({ name: 'BatchTraceDetail' })
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<!-- 缺陷记录内联编辑列表(通用组件,供 IQC/IPQC/OQC/RQC 各模块复用) -->
|
<!-- 缺陷记录内联编辑列表(通用组件,供 IQC/IPQC/OQC/RQC 各模块复用) -->
|
||||||
<template>
|
<template>
|
||||||
<Dialog title="缺陷记录" v-model="dialogVisible" width="900px">
|
<Dialog title="缺陷记录" v-model="dialogVisible" width="900px">
|
||||||
|
<div class="overflow-hidden">
|
||||||
<!-- 新增按钮 -->
|
<!-- 新增按钮 -->
|
||||||
<el-row class="mb-10px">
|
<el-row class="mb-10px">
|
||||||
<el-button type="primary" plain @click="handleAdd" v-hasPermi="['mes:qc-defect:create']">
|
<el-button type="primary" plain @click="handleAdd" v-hasPermi="['mes:qc-defect:create']">
|
||||||
|
|
@ -87,6 +88,7 @@
|
||||||
v-model:limit="queryParams.pageSize"
|
v-model:limit="queryParams.pageSize"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 检验结果列表子组件(嵌入 IQC 等质检单详情页) -->
|
<!-- MES 检验结果列表子组件(嵌入 IQC 等质检单详情页) -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 过程检验单行 子列表(只读) -->
|
<!-- MES 过程检验单行 子列表(只读) -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />
|
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 来料检验单行 子列表(只读) -->
|
<!-- MES 来料检验单行 子列表(只读) -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="检测项名称" align="center" prop="indicatorName" width="150" />
|
<el-table-column label="检测项名称" align="center" prop="indicatorName" width="150" />
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 出货检验单行 子列表(只读) -->
|
<!-- MES 出货检验单行 子列表(只读) -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />
|
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 退货检验单行 子列表(只读) -->
|
<!-- MES 退货检验单行 子列表(只读) -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />
|
<el-table-column label="检测项名称" align="center" prop="indicatorName" min-width="150" />
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 到货通知单行列表子组件 -->
|
<!-- MES 到货通知单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 采购入库单行列表子组件 -->
|
<!-- MES 采购入库单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 杂项出库单行列表子组件 -->
|
<!-- MES 杂项出库单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<!-- MES 外协发料单行列表子组件 -->
|
<!-- MES 外协发料单行列表子组件 -->
|
||||||
<!-- DONE @芋艿:未 review(AI 未修复原因:标注为后续人工 review,需人工介入) -->
|
<!-- DONE @芋艿:未 review(AI 未修复原因:标注为后续人工 review,需人工介入) -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 外协入库单行列表子组件 -->
|
<!-- MES 外协入库单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 装箱明细列表子组件 -->
|
<!-- MES 装箱明细列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isEditable" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isEditable" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加明细
|
<Icon icon="ep:plus" class="mr-5px" /> 添加明细
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 子箱列表子组件 -->
|
<!-- MES 子箱列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isEditable" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isEditable" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加子箱
|
<Icon icon="ep:plus" class="mr-5px" /> 添加子箱
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 领料出库单行列表子组件 -->
|
<!-- MES 领料出库单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 产品入库单行列表子组件 -->
|
<!-- MES 产品入库单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 销售出库单行列表子组件 -->
|
<!-- MES 销售出库单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 生产退料单行列表子组件 -->
|
<!-- MES 生产退料单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 销售退货单行列表子组件 -->
|
<!-- MES 销售退货单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 供应商退货单行列表子组件 -->
|
<!-- MES 供应商退货单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button v-if="isUpdate" type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 发货通知单行列表子组件 -->
|
<!-- MES 发货通知单行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button type="primary" plain @click="openForm('create')" class="mb-10px">
|
<el-button type="primary" plain @click="openForm('create')" class="mb-10px">
|
||||||
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
<Icon icon="ep:plus" class="mr-5px" /> 添加物料
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 盘点方案条件列表子组件 -->
|
<!-- MES 盘点方案条件列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
plain
|
plain
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 盘点任务行列表子组件 -->
|
<!-- MES 盘点任务行列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 添加物料按钮 -->
|
<!-- 添加物料按钮 -->
|
||||||
<el-button
|
<el-button
|
||||||
v-if="!isReadOnly"
|
v-if="!isReadOnly"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- MES 盘点任务结果列表子组件 -->
|
<!-- MES 盘点任务结果列表子组件 -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="overflow-hidden">
|
||||||
<!-- 新增按钮 -->
|
<!-- 新增按钮 -->
|
||||||
<el-button
|
<el-button
|
||||||
v-if="!isReadOnly"
|
v-if="!isReadOnly"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue