Commit 0c72a084 by crushh

update: 完成

parent 11134445
......@@ -16,7 +16,7 @@ module.exports = {
},
extends: [
'standard',
'plugin:vue/recommended',
// 'plugin:vue/recommended',
],
plugins: ['vue'],
rules: {
......
......@@ -325,6 +325,7 @@ export default {
},
// 保存规格
addStandard (item) {
console.log(item);
if (item.standardName) {
const params = {
standardName: item.standardName,
......@@ -332,6 +333,10 @@ export default {
request.post('/api-integral-mall/save-standard', qs.stringify(params)).then(res => {
if (res.data.errorCode === 0) {
item.standardId = res.data.result;
this.$emit('IsAgreeUpload', this.isStdImg);
this.$emit('getStandradList', this.skuJson);
this.$emit('getSkuList', this.skuList);
console.log(this.skuJson);
} else {
this.$message.error(res.data.message);
}
......
......@@ -1956,6 +1956,7 @@ export default {
this.giftForm.virtualStock = 0;
}
}
console.log( this.giftProStandardJson )
},
async getSkuList(val) {
console.log(val);
......
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