Commit 995daaaa by zhuxiaomei

直接添加抽样单

parent 44710735
......@@ -875,8 +875,8 @@ export default {
id: '',
testedType: this.$route.query.testedType,
shelfId: this.$route.query.shelfId
testedType: this.$route.query.testedType?this.$route.query.testedType:'',
shelfId: this.$route.query.shelfId?this.$route.query.shelfId:''
}
},
watch: {
......@@ -1054,8 +1054,8 @@ export default {
}
}
}
this.testedType = result.testedType
this.shelfId = result.shelfId
this.testedType = result.testedType?result.testedType:''
this.shelfId = result.shelfId?result.shelfId:''
},
_valParams() {
if (this.formObj.samplingNum === '') {
......
......@@ -12,7 +12,7 @@ import SamplingListAddAgriculture from '@/page/sampling-list/SamplingListAddAgri
import SamplingListDetailAgriculture from '@/page/sampling-list/SamplingListDetailAgriculture.vue'
export default [
{path: 'sampling_task', component: SamplingTask, meta: {title: '抽样任务'}},
{path: 'sampling_task', component: SamplingTask, meta: {title: '抽样任务', hideNavBar: true}},
{path: 'sampling_list', component: SamplingList, meta: {title: '抽样单', hideNavBar: true}},
{path: 'sampling_list_add', component: SamplingListAdd, meta: {customerNavBarTitle: true}},
{path: 'sampling_list_add_agriculture', component: SamplingListAddAgriculture, meta: {customerNavBarTitle: true}},
......
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