Commit b2ce96dc authored by chenzj's avatar chenzj

领料单新建领料方式

parent 094c0404
...@@ -126,6 +126,11 @@ ...@@ -126,6 +126,11 @@
<el-table-column label="编排单号" align="center" prop="arrangeCode" /> <el-table-column label="编排单号" align="center" prop="arrangeCode" />
<el-table-column label="领用数量" align="center" prop="applyNum" /> <el-table-column label="领用数量" align="center" prop="applyNum" />
<el-table-column label="创建人" align="center" prop="createBy" /> <el-table-column label="创建人" align="center" prop="createBy" />
<el-table-column label="领料方式" align="center" prop="materialType">
<template slot-scope="scope">
<dict-tag :options="dict.type.pro_material_from" :value="scope.row.materialType"/>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime" width="180"> <el-table-column label="创建时间" align="center" prop="createTime" width="180">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
<span>{{ parseTime(scope.row.CreateTime, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.CreateTime, '{y}-{m}-{d}') }}</span>
...@@ -250,7 +255,7 @@ import { listMaterialRequest, getMaterialRequest, delMaterialRequest, addMateria ...@@ -250,7 +255,7 @@ import { listMaterialRequest, getMaterialRequest, delMaterialRequest, addMateria
export default { export default {
name: "MaterialRequest", name: "MaterialRequest",
dicts: ['pro_requisition_type'], dicts: ['pro_requisition_type','pro_material_from'],
data() { data() {
return { return {
// 遮罩层 // 遮罩层
...@@ -290,6 +295,7 @@ export default { ...@@ -290,6 +295,7 @@ export default {
workorderCode: null, }, workorderCode: null, },
// 表单参数 // 表单参数
form: {}, form: {},
optType: null,
// 表单校验 // 表单校验
rules: { rules: {
} }
...@@ -330,6 +336,7 @@ export default { ...@@ -330,6 +336,7 @@ export default {
applyNum: null, applyNum: null,
arrangeCode: null, arrangeCode: null,
workorderCode: null, workorderCode: null,
materialType: null,
createTime: null, createTime: null,
remark: null, remark: null,
attr1: null, attr1: null,
......
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