Commit eefb8389 authored by xioln's avatar xioln

入库程修改

parent 23f8ce54
...@@ -7,12 +7,13 @@ ...@@ -7,12 +7,13 @@
<template> <template>
<div class="Chemical-test-process"> <div class="Chemical-test-process">
<dee-as-com <dee-as-com
v-if="basicData"
refs="outerCasing" refs="outerCasing"
:lay-config="{ :lay-config="{
typeName: 'InStorageRequestItem', typeName: 'InStorageRequestItem',
layKey: '1c4983a2-6f51-49e4-95ee-2f5506b8e217' layKey: '1c4983a2-6f51-49e4-95ee-2f5506b8e217'
}" }"
:basic-data="basicData.businessObject" :basic-data="basicData"
/> />
</div> </div>
</template> </template>
...@@ -34,7 +35,7 @@ export default { ...@@ -34,7 +35,7 @@ export default {
computed: {}, computed: {},
created() { created() {
// 初始化数据 // 初始化数据
console.log('basicData', this.basicData) console.log('理化检验流程', this.basicData)
}, },
methods: { methods: {
} }
......
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
return row.arrivalDate.split(' ')[0] return row.arrivalDate.split(' ')[0]
} }, } },
{ title: '生产日期', key: 'producedTime', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => { { title: '生产日期', key: 'producedTime', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => {
return row.arrivalDate.split(' ')[0] return row.producedTime.split(' ')[0]
} }, } },
{ {
title: '随产品资料', key: 'withProductMaterial', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => { title: '随产品资料', key: 'withProductMaterial', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => {
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
{ title: '备注', key: 'remark', align: 'center', headerAlign: 'center' }, { title: '备注', key: 'remark', align: 'center', headerAlign: 'center' },
{ title: '状态', key: 'state', align: 'center', headerAlign: 'center' }, { title: '状态', key: 'state', align: 'center', headerAlign: 'center' },
{ title: '创建时间', key: 'createTime', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => { { title: '创建时间', key: 'createTime', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => {
return row.arrivalDate.split(' ')[0] return row.createTime.split(' ')[0]
} } } }
], ],
optionsTree: { optionsTree: {
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
// 初始化数据 // 初始化数据
}, },
mounted() { mounted() {
console.log('this.basicData', this.basicData) console.log('this.basicData', { ...this.basicData })
this.timerId = setInterval(() => { this.timerId = setInterval(() => {
if (this.basicData.id) { if (this.basicData.id) {
clearInterval(this.timerId) clearInterval(this.timerId)
......
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