|
@@ -9,8 +9,8 @@
|
|
|
</a-steps>
|
|
|
<div class="content">
|
|
|
<step1 v-if="currentTab === 0" ref="data001" @nextStep="nextStep" :disabled="disabled"/>
|
|
|
- <step2 v-if="currentTab === 1" @prevStep="prevStep" @nextStep="nextStep" :disabled="disabled" />
|
|
|
- <step3 v-if="currentTab === 2" @submitForm="submitForm" @prevStep="prevStep" :disabled="disabled" />
|
|
|
+ <step2 v-if="currentTab === 1" @prevStep="prevStep" ref="ypxx" @nextStep="nextStep" :disabled="disabled" />
|
|
|
+ <step3 v-if="currentTab === 2" @submitForm="submitForm" ref="syxx" @prevStep="prevStep" :disabled="disabled" />
|
|
|
</div>
|
|
|
</a-card>
|
|
|
|
|
@@ -142,31 +142,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
- // 临时保存
|
|
|
- temporarySave(){
|
|
|
- console.log(this.currentTab)
|
|
|
- // this.confirmLoading = true
|
|
|
- // this.weituomodel = JSON.parse(sessionStorage.getItem('data'))
|
|
|
- // console.log(!sessionStorage.getItem('yangpin'))
|
|
|
- // if(sessionStorage.getItem('yangpin')){
|
|
|
- // this.weituomodel.yangpins = JSON.parse(sessionStorage.getItem('yangpin'))
|
|
|
- // }
|
|
|
- // if(sessionStorage.getItem('yangpinkz')){
|
|
|
- // this.weituomodel.pinShiYans = JSON.parse(sessionStorage.getItem('yangpinkz'))
|
|
|
- // }
|
|
|
- // console.log(this.weituomodel)
|
|
|
- // postAction('/weituo/itdmWeituoInfo/staging', this.weituomodel ).then((res) => {
|
|
|
- // if (res.success) {
|
|
|
- // this.$message.success(res.message)
|
|
|
- // this.$emit('ok')
|
|
|
- // } else {
|
|
|
- // this.$message.warning(res.message)
|
|
|
- // }
|
|
|
- // }).finally(() => {
|
|
|
- // that.confirmLoading = false
|
|
|
- // })
|
|
|
- },
|
|
|
-
|
|
|
handleCategoryChange(value, backObj) {
|
|
|
this.model = Object.assign(this.model, backObj)
|
|
|
}
|