[修改商品权证商品规格和商品名称一致及权证认证的时候状态调整]

This commit is contained in:
2021-10-25 13:08:04 +08:00
parent b93f540824
commit 680ab05102
3 changed files with 6 additions and 6 deletions

View File

@@ -77,8 +77,8 @@
};
},
created() {
console.log(this.$Route.query)
if(this.$Route.query.edit == 'true'){
console.log(typeof this.$Route.query.edit)
if(this.$Route.query.edit === 'true' || this.$Route.query.edit ){
managesGoodsExtends(this.$Route.query.id).then(res => {
this.productedAt = res.producted_at
this.expiriedAt = res.expiried_at

View File

@@ -109,7 +109,7 @@
},
// 商品认证
goodsAuth(id){
this.$Router.push({name: 'goodsAuth', params: {id, type: 'magList'}})
this.$Router.push({name: 'goodsAddAuth', params: {id, type: 'magList'}})
},
// 燃烧,增发
openLay(item, type){