Commit 995daaaa by zhuxiaomei

直接添加抽样单

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