Commit 32e5d952 authored by dragondean@qq.com's avatar dragondean@qq.com

合并前

parent e0910880
......@@ -33,8 +33,8 @@ export default {
},
watch:{
index(val){
this.$emit('input', val !== null ? this.list[val].id : null)
this.$emit('change', val !== null ? this.list[val] : null)
this.$emit('input', val !== null ? this.list[val].id: null)
this.$emit('change', val !== null ? this.list[val]: null)
},
value(val){
this.init()
......@@ -45,7 +45,7 @@ export default {
},
methods:{
init(){
if(!this.value) return null
if(!this.value) return
let index = this.list.findIndex(item => item.id == this.value)
if(index < 0){
getCustomer(this.value).then(res => {
......
......@@ -670,7 +670,7 @@ export default {
// 添加的提交
createOffer(data).then(response => {
this.$modal.msgSuccess("新增成功");
this.$router.replace('offer/index')
this.$router.replace('index')
});
});
},
......
......@@ -112,10 +112,7 @@
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize"
@pagination="getList"/>
<<<<<<< HEAD
=======
<special :visible.sync="special.visible" :id="special.offerId" :number="special.number"></special>
>>>>>>> f341cddc22324f722bea133476ce40dd9aaddee3
</div>
</template>
......
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