chenrui 3 rokov pred
rodič
commit
767ffb43b9

+ 6 - 6
src/views/salesManagement/salesReturn/chooseImportModal.vue

@@ -92,7 +92,7 @@ export default {
           { title: '产品名称', dataIndex: 'productName', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '数量', dataIndex: 'qtyText', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '价格', dataIndex: 'priceText', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-          { title: '退货原因', dataIndex: 'errorDesc', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
+          { title: '退货原因', dataIndex: 'remark', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
         ]
       } else if (this.paramsData && this.paramsData.grabFlag == '1') {
         arr = [
@@ -102,7 +102,7 @@ export default {
           { title: '产品名称', dataIndex: 'productName', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '数量', dataIndex: 'qtyText', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '价格', dataIndex: 'priceText', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-          { title: '退货原因', dataIndex: 'errorDesc', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
+          { title: '退货原因', dataIndex: 'remark', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
         ]
       }
       return arr
@@ -116,8 +116,8 @@ export default {
           { title: '产品名称', dataIndex: 'productName', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '数量', dataIndex: 'qtyText', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '价格', dataIndex: 'priceText', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-          { title: '退货原因', dataIndex: 'errorDesc', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
-          { title: '备注', dataIndex: 'remark', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
+          { title: '退货原因', dataIndex: 'remark', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '备注', dataIndex: 'errorDesc', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
         ]
       } else if (this.paramsData && this.paramsData.grabFlag == '1') {
         arr = [
@@ -127,8 +127,8 @@ export default {
           { title: '产品名称', dataIndex: 'productName', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '数量', dataIndex: 'qtyText', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '价格', dataIndex: 'priceText', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-          { title: '退货原因', dataIndex: 'errorDesc', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
-          { title: '备注', dataIndex: 'remark', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
+          { title: '退货原因', dataIndex: 'remark', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '备注', dataIndex: 'errorDesc', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
         ]
       }
       return arr