Commit c1892a2c by damodmg

更新报错

parent 02710054
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
gio('init','8be12240a3749eab', {}); gio('init','8be12240a3749eab', {});
//custom page code begin here //custom page code begin here
//custom page code end here //custom page code end here
gio('send');</script><link href=./static/css/app.e0bcafc06dd7ee4211948e401663116a.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.35.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.12.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.41.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.06.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.26.js></script><script src=//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.9072594f61a88f768c70.js></script><script type=text/javascript src=./static/js/app.6ade3642f0cf29da1675.js></script></body></html> gio('send');</script><link href=./static/css/app.ea60e4ca323e858034fc833c9989b80c.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.35.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.12.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.41.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.06.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.26.js></script><script src=//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.9072594f61a88f768c70.js></script><script type=text/javascript src=./static/js/app.d42fe628348e7a6ac0b2.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -183,10 +183,12 @@ export default { ...@@ -183,10 +183,12 @@ export default {
//删除规格 //删除规格
deleteSku(index) { deleteSku(index) {
this.skuJson.splice(index, 1); this.skuJson.splice(index, 1);
console.log(1111, this.skuJson);
this.handleSku(); this.handleSku();
this.$emit('IsAgreeUpload', this.isStdImg); this.$emit('IsAgreeUpload', this.isStdImg);
this.$emit('getStandradList', this.skuJson); this.$emit('getStandradList', this.skuJson);
console.log(222, this.skuList);
this.$emit('getSkuList', this.skuList); this.$emit('getSkuList', this.skuList);
}, },
// 保存规格 // 保存规格
......
...@@ -1343,6 +1343,7 @@ export default { ...@@ -1343,6 +1343,7 @@ export default {
this.skuList = val; this.skuList = val;
// console.log('skuList', this.skuList); // console.log('skuList', this.skuList);
// return; // return;
this.handleSku(); this.handleSku();
if (this.giftProStandardJson.length > 0) { if (this.giftProStandardJson.length > 0) {
if (this.skuList.length > 0) { if (this.skuList.length > 0) {
...@@ -1394,12 +1395,12 @@ export default { ...@@ -1394,12 +1395,12 @@ export default {
for (let j in skuArr) { for (let j in skuArr) {
//数据的个数 //数据的个数
this.submitSkuJson.push({ this.submitSkuJson.push({
giftProSkuId: skuPrice[j][5].valueName ? skuPrice[j][5].valueName : '', giftProSkuId: skuPrice[j][5]? skuPrice[j][5].valueName : '',
giftProSkuIntegral: skuPrice[j][0].valueName, //积分 giftProSkuIntegral: skuPrice[j][0]?skuPrice[j][0].valueName:"", //积分
giftProSkuCash: skuPrice[j][1].valueName, //现金 giftProSkuCash: skuPrice[j][1]?skuPrice[j][1].valueName:'', //现金
stock: skuPrice[j][2].valueName, //库存 stock: skuPrice[j][2]?skuPrice[j][2].valueName:'', //库存
giftProSkuStandCode: skuPrice[j][3].valueName, //规格编码 giftProSkuStandCode: skuPrice[j][3]?skuPrice[j][3].valueName:'', //规格编码
giftProGiftCode: skuPrice[j][4].valueName, //条形码 giftProGiftCode: skuPrice[j][4]?skuPrice[j][4].valueName:'', //条形码
giftPropValues: skuSta[j] giftPropValues: skuSta[j]
}); });
} }
......
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