瀏覽代碼

修改bug

chenrui 8 月之前
父節點
當前提交
f76fde23fd

+ 1 - 1
src/views/easyPassManagement/promotionalActivities/detailModal.vue

@@ -224,7 +224,7 @@ export default {
         { title: '产品编码', dataIndex: 'productCode', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'productName', width: '18%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '原厂编码', dataIndex: 'productOrigCode', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '商城售价', dataIndex: 'shopProductPrice', width: '10%', align: 'right', customRender: text => { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
+        { title: '商城售价', dataIndex: 'productPrice', width: '10%', align: 'right', customRender: text => { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
       ]
       if (_this.form.promoType === 'BUY_PROD_GIVE_PROD') {
         arr.splice(4, 0, { title: '买', dataIndex: 'conditionValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } })

+ 2 - 1
src/views/easyPassManagement/promotionalActivities/edit.vue

@@ -454,7 +454,8 @@ export default {
           promoSn: this.form.promoSn,
           shopProductSn: item.shopProductSn,
           productSn: item.productSn,
-          productCode: item.productCode
+          productCode: item.productCode,
+          productPrice:item.shopProductPrice
         }
       })
       saveChooseProduct(productArr).then(res => {