chenrui 9 månader sedan
förälder
incheckning
790d413169

+ 1 - 1
src/views/easyPassManagement/shoppingManagement/list.vue

@@ -102,7 +102,7 @@ export default {
       columns: [
         { title: '类目名称', dataIndex: 'categoryName', width: '20%', align: 'left', customRender: function (text) { return text || '--' } },
         { title: '图片', scopedSlots: { customRender: 'imgs' }, width: '15%', align: 'center' },
-        { title: '易码通优先级', dataIndex: 'sort', width: '15%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '易码通优先级', dataIndex: 'sort', width: '15%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' }, ellipsis: true },
         { title: '创建时间', dataIndex: 'createDate', width: '15%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '状态', scopedSlots: { customRender: 'enabledFlag' }, width: '15%', align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '20%', align: 'center' }

+ 0 - 1
src/views/easyPassManagement/shoppingProducts/editProductModal.vue

@@ -128,7 +128,6 @@ export default {
       this.spinning = true
       shopProductDetail({ shopProductSn: this.itemSn }).then(res => {
         if (res.status == 200 && res.data) {
-          res.data.oldPrice = res.data.price
           res.data.hotSort = res.data.hotFlag == '0' ? undefined : res.data.hotSort
           this.form = res.data
           this.spinning = false