模具 布产

This commit is contained in:
xielue 2023-09-16 13:18:28 +08:00
parent 26ead59e1c
commit 112fbaa4f5
2 changed files with 5 additions and 8 deletions

View File

@ -44,7 +44,6 @@ var dataset = {
{ field: 'update_uid', type: 'bigint' }, { field: 'update_uid', type: 'bigint' },
{ field: 'mold_id', type: 'bigint' }, { field: 'mold_id', type: 'bigint' },
{ field: 'mold_master_uid', type: 'bigint' }, { field: 'mold_master_uid', type: 'bigint' },
{ field: 'manufacture_cycle', type: 'timestamp' },
{ field: 'product_structure_uid', type: 'bigint' }, { field: 'product_structure_uid', type: 'bigint' },
{ field: 'mold_structure_uid', type: 'bigint' }, { field: 'mold_structure_uid', type: 'bigint' },
{ field: 'create_uid', type: 'bigint' } { field: 'create_uid', type: 'bigint' }

View File

@ -33,11 +33,9 @@
<vxe-column title="完成" width="160" v-if="getDataId()"> <vxe-column title="完成" width="160" v-if="getDataId()">
<template #default="{ row }"> <template #default="{ row }">
<div> <div v-if="row.id">
<a-button v-if="pageIsComplete()" @click.stop="pageComplete(row)" type="primary">完成</a-button>
<div v-if="row.complete_time">{{ $mk.getDateString(row.complete_time) }}</div> <div v-if="row.complete_time">{{ $mk.getDateString(row.complete_time) }}</div>
<a-button v-else :disabled="!(isComponentOutProduct() || pageIsComplete())" @click.stop="pageComplete(row)" type="primary">完成</a-button>
</div> </div>
</template> </template>
</vxe-column> </vxe-column>
@ -86,7 +84,7 @@
<vxe-column title="发料" width="210" v-if="getDataId()"> <vxe-column title="发料" width="210" v-if="getDataId()">
<template #default="{ row }"> <template #default="{ row }">
<div> <div v-if="row.id">
<a-button v-if="!row.is_send" @click.stop="pageSend(row)" type="primary">发料</a-button> <a-button v-if="!row.is_send" @click.stop="pageSend(row)" type="primary">发料</a-button>
<div v-if="row.is_send"> <div v-if="row.is_send">
@ -99,7 +97,7 @@
<vxe-column title="完成" width="210" v-if="getDataId()"> <vxe-column title="完成" width="210" v-if="getDataId()">
<template #default="{ row }"> <template #default="{ row }">
<div v-if="row.is_send"> <div v-if="row.id && row.is_send">
<a-button v-if="!row.is_complete" @click.stop="pageDone(row)" type="primary">完成</a-button> <a-button v-if="!row.is_complete" @click.stop="pageDone(row)" type="primary">完成</a-button>
<div v-if="row.is_complete"> <div v-if="row.is_complete">
{{ $mk.getDateString(row.complete_time) }} {{ $mk.getDateString(row.complete_time) }}