Commit 0c72a084 by crushh

update: 完成

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