基础信息优化

yangwl
A0010407 1 year ago
parent ecad7353d9
commit 0f4f8ec394

@ -63,7 +63,9 @@
<el-table v-loading="loading" :data="bomList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="bomList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/> <el-table-column type="selection" width="55" align="center"/>
<el-table-column label="BOM单号" align="center" prop="bomCode" width="120"/> <!-- 序号 -->
<el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号" fixed/>
<el-table-column label="BOM单号" align="center" prop="bomCode" width="120" fixed/>
<el-table-column label="产品号" align="center" prop="productCode" width="120"/> <el-table-column label="产品号" align="center" prop="productCode" width="120"/>
<el-table-column label="产品名称" align="center" prop="productDescZh" width="350"/> <el-table-column label="产品名称" align="center" prop="productDescZh" width="350"/>
<el-table-column label="组件编码" align="center" prop="component" width="120"/> <el-table-column label="组件编码" align="center" prop="component" width="120"/>
@ -263,6 +265,10 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
//
indexMethod(index){
return index+1 ;
},
/** 查询BOM管理 列表 */ /** 查询BOM管理 列表 */
getList() { getList() {
this.loading = true; this.loading = true;

@ -72,7 +72,7 @@
<el-table v-loading="loading" :data="customerList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="customerList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<!-- 序号 --> <!-- 序号 -->
<el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号"></el-table-column> <el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号" />
<el-table-column label="客户编码" align="center" prop="clientCode" /> <el-table-column label="客户编码" align="center" prop="clientCode" />
<el-table-column label="客户名称" align="center" prop="clientName" /> <el-table-column label="客户名称" align="center" prop="clientName" />
<el-table-column label="客户简介" align="center" prop="clientDes" /> <el-table-column label="客户简介" align="center" prop="clientDes" />

@ -85,7 +85,8 @@
width="90" width="90"
align="center" align="center"
:index="indexMethod" :index="indexMethod"
label="序号"> label="序号"
>
</el-table-column> </el-table-column>
<el-table-column label="设备编码" align="center" prop="equipmentCode"> <el-table-column label="设备编码" align="center" prop="equipmentCode">
<template slot-scope="scope"> <template slot-scope="scope">
@ -113,7 +114,7 @@
<el-table-column label="工段" align="center" prop="workshopSection" /> <el-table-column label="工段" align="center" prop="workshopSection" />
<el-table-column label="设备位置" align="center" prop="equipmentLocation" /> <el-table-column label="设备位置" align="center" prop="equipmentLocation" />
<el-table-column label="工时单价" align="center" prop="hourlyUnitPrice" /> <el-table-column label="工时单价" align="center" prop="hourlyUnitPrice" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"

@ -194,7 +194,7 @@
<!-- <el-table-column label="主键uuid" align="center" prop="supplierId" /> --> <!-- <el-table-column label="主键uuid" align="center" prop="supplierId" /> -->
<!-- 序号 --> <!-- 序号 -->
<el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号" ></el-table-column> <el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号" ></el-table-column>
<el-table-column label="供应商码" align="center" prop="supplierCode" width="100"/> <el-table-column label="供应商码" align="center" prop="supplierCode" width="100" />
<el-table-column label="供应商名字" align="center" prop="zhDesc" width="100" /> <el-table-column label="供应商名字" align="center" prop="zhDesc" width="100" />
<el-table-column label="英文描述" align="center" prop="enDesc" /> <el-table-column label="英文描述" align="center" prop="enDesc" />
<el-table-column label="供应商类型" align="center" prop="supplierType" width="100"/> <el-table-column label="供应商类型" align="center" prop="supplierType" width="100"/>
@ -219,7 +219,7 @@
<el-table-column label="税号" align="center" prop="userDefined2" width="200"/> <el-table-column label="税号" align="center" prop="userDefined2" width="200"/>
<!-- <el-table-column label="用户自定义3" align="center" prop="userDefined3" /> <!-- <el-table-column label="用户自定义3" align="center" prop="userDefined3" />
<el-table-column label="备注" align="center" prop="remark" /> --> <el-table-column label="备注" align="center" prop="remark" /> -->
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"

Loading…
Cancel
Save