[修改商品权证商品规格和商品名称一致及权证认证的时候状态调整]
This commit is contained in:
@@ -77,8 +77,8 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
console.log(this.$Route.query)
|
console.log(typeof this.$Route.query.edit)
|
||||||
if(this.$Route.query.edit == 'true'){
|
if(this.$Route.query.edit === 'true' || this.$Route.query.edit ){
|
||||||
managesGoodsExtends(this.$Route.query.id).then(res => {
|
managesGoodsExtends(this.$Route.query.id).then(res => {
|
||||||
this.productedAt = res.producted_at
|
this.productedAt = res.producted_at
|
||||||
this.expiriedAt = res.expiried_at
|
this.expiriedAt = res.expiried_at
|
||||||
|
|||||||
@@ -109,7 +109,7 @@
|
|||||||
},
|
},
|
||||||
// 商品认证
|
// 商品认证
|
||||||
goodsAuth(id){
|
goodsAuth(id){
|
||||||
this.$Router.push({name: 'goodsAuth', params: {id, type: 'magList'}})
|
this.$Router.push({name: 'goodsAddAuth', params: {id, type: 'magList'}})
|
||||||
},
|
},
|
||||||
// 燃烧,增发
|
// 燃烧,增发
|
||||||
openLay(item, type){
|
openLay(item, type){
|
||||||
|
|||||||
6
unpackage/dist/dev/app-plus/app-service.js
vendored
6
unpackage/dist/dev/app-plus/app-service.js
vendored
@@ -18178,7 +18178,7 @@ var _goodsList = _interopRequireDefault(__webpack_require__(/*! @/components/goo
|
|||||||
},
|
},
|
||||||
// 商品认证
|
// 商品认证
|
||||||
goodsAuth: function goodsAuth(id) {
|
goodsAuth: function goodsAuth(id) {
|
||||||
this.$Router.push({ name: 'goodsAuth', params: { id: id, type: 'magList' } });
|
this.$Router.push({ name: 'goodsAddAuth', params: { id: id, type: 'magList' } });
|
||||||
},
|
},
|
||||||
// 燃烧,增发
|
// 燃烧,增发
|
||||||
openLay: function openLay(item, type) {
|
openLay: function openLay(item, type) {
|
||||||
@@ -20914,8 +20914,8 @@ var _uploading = __webpack_require__(/*! @/apis/interfaces/uploading */ 97);func
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created: function created() {var _this = this;
|
created: function created() {var _this = this;
|
||||||
__f__("log", this.$Route.query, " at pages/goods/goodsAuth.vue:80");
|
__f__("log", typeof this.$Route.query.edit, " at pages/goods/goodsAuth.vue:80");
|
||||||
if (this.$Route.query.edit == 'true') {
|
if (this.$Route.query.edit === 'true' || this.$Route.query.edit) {
|
||||||
(0, _goods.managesGoodsExtends)(this.$Route.query.id).then(function (res) {
|
(0, _goods.managesGoodsExtends)(this.$Route.query.id).then(function (res) {
|
||||||
_this.productedAt = res.producted_at;
|
_this.productedAt = res.producted_at;
|
||||||
_this.expiriedAt = res.expiried_at;
|
_this.expiriedAt = res.expiried_at;
|
||||||
|
|||||||
Reference in New Issue
Block a user