Commit eefb8389 authored by xioln's avatar xioln

入库程修改

parent 23f8ce54
......@@ -7,12 +7,13 @@
<template>
<div class="Chemical-test-process">
<dee-as-com
v-if="basicData"
refs="outerCasing"
:lay-config="{
typeName: 'InStorageRequestItem',
layKey: '1c4983a2-6f51-49e4-95ee-2f5506b8e217'
}"
:basic-data="basicData.businessObject"
:basic-data="basicData"
/>
</div>
</template>
......@@ -34,7 +35,7 @@ export default {
computed: {},
created() {
// 初始化数据
console.log('basicData', this.basicData)
console.log('理化检验流程', this.basicData)
},
methods: {
}
......
......@@ -68,7 +68,7 @@ export default {
return row.arrivalDate.split(' ')[0]
} },
{ 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) => {
......@@ -92,7 +92,7 @@ export default {
{ title: '备注', key: 'remark', 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) => {
return row.arrivalDate.split(' ')[0]
return row.createTime.split(' ')[0]
} }
],
optionsTree: {
......@@ -116,7 +116,7 @@ export default {
// 初始化数据
},
mounted() {
console.log('this.basicData', this.basicData)
console.log('this.basicData', { ...this.basicData })
this.timerId = setInterval(() => {
if (this.basicData.id) {
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