Commit dfcf32df authored by xioln's avatar xioln

入库程修改

parent 3569815a
......@@ -7,13 +7,13 @@
<template>
<div class="Chemical-test-process">
<dee-as-com
v-if="data"
v-if="JobResponseInExpermentData"
refs="outerCasing"
:lay-config="{
typeName: 'InStorageRequestItem',
layKey: '1c4983a2-6f51-49e4-95ee-2f5506b8e217'
}"
:basic-data="data"
:basic-data="JobResponseInExpermentData"
/>
</div>
</template>
......@@ -32,15 +32,14 @@ export default {
},
data() {
return {
// data: { 'reportNo': bindForm.reportNo, 'isPass': bindForm.isPass, 'isDestroy': bindForm.isDestroy, 'experimentAmount':bindForm.experimentAmount, 'jobOrder': { 'purchaseUnit': { 'unitName': bindForm.jobOrder.purchaseUnit.purchaseUnit } }, 'dxType': 'JobResponseInStorage', 'operator': 'ADD' }
data: null
// data: { 'reportNo': bindForm.reportNo, 'experimentAmount':bindForm.experimentAmount}, 'dxType': 'JobResponseInStorage', 'operator': 'ADD' }
JobResponseInExpermentData: null
}
},
computed: {},
created() {
// 初始化数据
console.log('理化检验流程', this.basicData)
console.log('理化检验流程1', this.form)
this.getFrom(this.basicData.id)
},
methods: {
......@@ -91,7 +90,8 @@ export default {
]
}
post('JobResponseInStorage/search', param).then(res => {
this.data = res.items.content[0]
// this.data = res.items.content[0]
this.JobResponseInExpermentData = res.items.content[0]
}).catch((err) => {
console.log(err)
})
......
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