xiugai
This commit is contained in:
parent
6388c63f3f
commit
2b2f275402
|
@ -28,7 +28,7 @@
|
|||
<el-card style="margin-top: 2px">
|
||||
<div style="margin-top: 2px">
|
||||
<el-button type="primary" icon="el-icon-plus" @click="handleCreate"
|
||||
>新增物料</el-button
|
||||
>新增出入库记录</el-button
|
||||
>
|
||||
</div>
|
||||
<el-table
|
||||
|
@ -47,15 +47,15 @@
|
|||
}}</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="出库入人员">
|
||||
<el-table-column label="出/入库人员">
|
||||
<template slot-scope="scope">{{
|
||||
scope.row.operator_.username
|
||||
}}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="出入库时间">
|
||||
<el-table-column label="出/入库时间">
|
||||
<template slot-scope="scope">{{ scope.row.inout_date }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="出入库类型">
|
||||
<el-table-column label="出/入库类型">
|
||||
<template slot-scope="scope">{{ types_[scope.row.type] }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否审核">
|
||||
|
@ -96,7 +96,7 @@
|
|||
</el-card>
|
||||
<el-dialog
|
||||
:visible.sync="dialogVisible"
|
||||
:title="dialogType === 'edit' ? '编辑仓库' : '新增仓库'"
|
||||
:title="dialogType === 'edit' ? '编辑出/如库记录' : '新增出/如库记录'"
|
||||
>
|
||||
<el-form
|
||||
ref="Form"
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<div slot="header" class="clearfix">
|
||||
<span style="font-size: 16px;
|
||||
font-weight: 700;
|
||||
">生产分解</span>
|
||||
">流程分解</span>
|
||||
</div>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="handlesubproducationCreate"
|
||||
>新增</el-button>
|
||||
|
@ -84,7 +84,7 @@
|
|||
@current-change="handlespChange"
|
||||
>
|
||||
<el-table-column type="index" width="50" />
|
||||
<el-table-column label="分解产品名称">
|
||||
<el-table-column label="名称">
|
||||
<template slot-scope="scope">{{scope.row.name}}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="工序">
|
||||
|
@ -120,7 +120,7 @@
|
|||
|
||||
<el-dialog
|
||||
:visible.sync="dialogVisiblesp"
|
||||
:title="dialogTypesp === 'edit' ? '编辑生产分解' : '新增生产分解'"
|
||||
:title="dialogTypesp === 'edit' ? '编辑流程分解' : '新增流程分解'"
|
||||
>
|
||||
<el-form
|
||||
ref="Formsp"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<el-table-column label="客户名称">
|
||||
<template slot-scope="scope">{{ scope.row.order_.customer_.name }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="产品信息">
|
||||
<el-table-column label="产品名称" width="130">
|
||||
<template slot-scope="scope">{{ scope.row.product_.number }}-{{ scope.row.product_.name }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="产品型号">
|
||||
|
@ -39,7 +39,7 @@
|
|||
<el-table-column label="产品单位">
|
||||
<template slot-scope="scope">{{ scope.row.product_.unit }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="生产数量">
|
||||
<el-table-column label="生产数量" width="60">
|
||||
<template slot-scope="scope">{{ scope.row.count }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划开工时间">
|
||||
|
@ -52,7 +52,7 @@
|
|||
<template slot-scope="scope">{{ scope.row.order_.delivery_date }}</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="是否生成子计划">
|
||||
<el-table-column label="是否生成子计划" width="60">
|
||||
<template slot-scope="scope" >
|
||||
<el-tag v-if="scope.row.is_planed==false">否</el-tag>
|
||||
<el-tag v-if="scope.row.is_planed==true">是</el-tag>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<el-table-column type="index" width="50" />
|
||||
|
||||
|
||||
<el-table-column label="分解产品名称">
|
||||
<el-table-column label="名称">
|
||||
<template slot-scope="scope">{{ scope.row.subproduction_.name }}</template>
|
||||
</el-table-column>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
|||
<el-table-column label="工序编号">
|
||||
<template slot-scope="scope">{{ scope.row.process_.number }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="子工序">
|
||||
<el-table-column label="子工序" width="160">
|
||||
<template slot-scope="scope" v-if="scope.row.steps">
|
||||
<el-tag v-for="item in scope.row.steps"
|
||||
:key="item.number"
|
||||
|
@ -52,6 +52,8 @@
|
|||
<el-table-column label="下达状态">
|
||||
<template slot-scope="scope">{{ state_[scope.row.state] }}</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
<el-table-column label="创建时间">
|
||||
<template slot-scope="scope">{{ scope.row.create_time }}</template>
|
||||
</el-table-column>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
}}</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="子工序">
|
||||
<el-table-column label="子工序" width="160">
|
||||
<template slot-scope="scope" v-if="scope.row.steps">
|
||||
<el-tag
|
||||
v-for="item in scope.row.steps"
|
||||
|
@ -71,7 +71,9 @@
|
|||
<el-tag v-else>已领料</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="生产进度">
|
||||
<template slot-scope="scope">{{ scope.row.main_count_real }}/{{scope.row.main_count}}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间">
|
||||
<template slot-scope="scope">{{ scope.row.create_time }}</template>
|
||||
</el-table-column>
|
||||
|
|
Loading…
Reference in New Issue