Commit 26890831 authored by 沈翠玲's avatar 沈翠玲

刀模板具申请单, 查看详情,新增,修改 都需要增加一个物料编码字段 sap_item_code

parent e1f27186
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,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
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
v-hasPermi="['pro:materialReturn:add']" v-hasPermi="['pro:materialReturn:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button <el-button
type="success" type="success"
plain plain
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<!-- <el-table-column label="主键id" align="center" prop="toolRequestItemId" /> --> <!-- <el-table-column label="主键id" align="center" prop="toolRequestItemId" /> -->
<el-table-column label="序号" align="center" type="index" /> <el-table-column label="序号" align="center" type="index" />
<el-table-column label="刀模版物料名称" align="center" prop="itemName" /> <el-table-column label="刀模版物料名称" align="center" prop="itemName" />
<el-table-column label="物料编码" align="center" prop="sapItemCode" />
<el-table-column width="120px" label="预计使用寿命" align="center" prop="estimatedLifeTime" /> <el-table-column width="120px" label="预计使用寿命" align="center" prop="estimatedLifeTime" />
<el-table-column width="120px" label="是否校验" align="center" prop="inspectionStatus"> <el-table-column width="120px" label="是否校验" align="center" prop="inspectionStatus">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -169,6 +170,7 @@ export default { ...@@ -169,6 +170,7 @@ export default {
this.addList.push({ this.addList.push({
itemId:item.itemId, itemId:item.itemId,
itemName:item.itemName, itemName:item.itemName,
sapItemCode: item.sapItemCode,
estimatedLifeTime: Number(this.$attrs.quantity) || 0 estimatedLifeTime: Number(this.$attrs.quantity) || 0
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment