模具 布产
This commit is contained in:
parent
26ead59e1c
commit
112fbaa4f5
|
|
@ -43,8 +43,7 @@ var dataset = {
|
||||||
{ field: 'inlay_deep_hole_time', type: 'timestamp' },
|
{ field: 'inlay_deep_hole_time', type: 'timestamp' },
|
||||||
{ 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' }
|
||||||
|
|
|
||||||
|
|
@ -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) }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue