基础信息BOM2

master
A0010407 1 year ago
parent 809302fafd
commit 4117f8648f

@ -32,7 +32,7 @@
</el-form> </el-form>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button <el-button
type="primary" type="primary"
plain plain
@ -73,7 +73,7 @@
@click="handleExport" @click="handleExport"
v-hasPermi="['wms:bom:export']" v-hasPermi="['wms:bom:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col> -->
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
@ -87,14 +87,8 @@
<el-table-column label="可选BOM" align="center" prop="optionalBom" /> <el-table-column label="可选BOM" align="center" prop="optionalBom" />
<el-table-column label="可选BOM文本" align="center" prop="optionalBomText" /> <el-table-column label="可选BOM文本" align="center" prop="optionalBomText" />
<el-table-column label="生产版本有效期" align="center" prop="pvvd" width="180"> <el-table-column label="生产版本有效期" align="center" prop="pvvd" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.pvvd, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="生产版本截止日期" align="center" prop="pved" width="180"> <el-table-column label="生产版本截止日期" align="center" prop="pved" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.pved, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="BOM计算数量" align="center" prop="bomCalculateNumber" /> <el-table-column label="BOM计算数量" align="center" prop="bomCalculateNumber" />
<el-table-column label="BOM计算单位" align="center" prop="bomCalculateUnit" /> <el-table-column label="BOM计算单位" align="center" prop="bomCalculateUnit" />
@ -106,7 +100,7 @@
<el-table-column label="成本核算标识相关" align="center" prop="sanka" /> <el-table-column label="成本核算标识相关" align="center" prop="sanka" />
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="是否在用" align="center" prop="currentVersion" /> <el-table-column label="是否在用" align="center" prop="currentVersion" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@ -123,7 +117,7 @@
v-hasPermi="['wms:bom:remove']" v-hasPermi="['wms:bom:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column> -->
</el-table> </el-table>
<pagination <pagination
@ -137,12 +131,6 @@
<!-- 添加或修改BOM物料管理对话框 --> <!-- 添加或修改BOM物料管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="工厂" prop="factoryCode">
<el-input v-model="form.factoryCode" placeholder="请输入工厂" />
</el-form-item>
<el-form-item label="生产版本" prop="productionVersion">
<el-input v-model="form.productionVersion" placeholder="请输入生产版本" />
</el-form-item>
<el-form-item label="BOM单号" prop="bomCode"> <el-form-item label="BOM单号" prop="bomCode">
<el-input v-model="form.bomCode" placeholder="请输入BOM单号" /> <el-input v-model="form.bomCode" placeholder="请输入BOM单号" />
</el-form-item> </el-form-item>
@ -168,6 +156,12 @@
placeholder="请选择生产版本截止日期"> placeholder="请选择生产版本截止日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="工厂" prop="factoryCode">
<el-input v-model="form.factoryCode" placeholder="请输入工厂" />
</el-form-item>
<el-form-item label="生产版本" prop="productionVersion">
<el-input v-model="form.productionVersion" placeholder="请输入生产版本" />
</el-form-item>
<el-form-item label="BOM计算数量" prop="bomCalculateNumber"> <el-form-item label="BOM计算数量" prop="bomCalculateNumber">
<el-input v-model="form.bomCalculateNumber" placeholder="请输入BOM计算数量" /> <el-input v-model="form.bomCalculateNumber" placeholder="请输入BOM计算数量" />
</el-form-item> </el-form-item>

Loading…
Cancel
Save