浏览代码

Merge branch 'develop_yh48-2' of http://git.chelingzhu.com/jianguan-web/qpls-md-html into develop_yh48-2

lilei 8 月之前
父节点
当前提交
2d24246407
共有 1 个文件被更改,包括 23 次插入3 次删除
  1. 23 3
      src/views/productManagement/productInfo/chooseImportModal.vue

+ 23 - 3
src/views/productManagement/productInfo/chooseImportModal.vue

@@ -37,6 +37,26 @@
         :scroll="{ y: 200 }"
         :pagination="false"
         bordered>
+        <!-- 导入错误项 -->
+        <!-- 经销商批发价 -->
+        <template slot="errorMsg" slot-scope="text,record">
+          <div v-if="record.importErrorMsgSet&&record.importErrorMsgSet.length>0">
+            <p v-for="(con,i) in record.importErrorMsgSet" :key="i">{{ i*1+1 }}、{{ con }};</p>
+          </div>
+        </template>
+        <!-- 终端价 -->
+        <template slot="errorMsg" slot-scope="text,record">
+          <div v-if="record.importErrorMsgSet&&record.importErrorMsgSet.length>0">
+            <p v-for="(con,i) in record.importErrorMsgSet" :key="i">{{ i*1+1 }}、{{ con }};</p>
+          </div>
+        </template>
+        <!-- 车主价 -->
+        <template slot="errorMsg" slot-scope="text,record">
+          <div v-if="record.importErrorMsgSet&&record.importErrorMsgSet.length>0">
+            <p v-for="(con,i) in record.importErrorMsgSet" :key="i">{{ i*1+1 }}、{{ con }};</p>
+          </div>
+        </template>
+        <!-- 备注 -->
         <template slot="errorMsg" slot-scope="text,record">
           <div v-if="record.importErrorMsgSet&&record.importErrorMsgSet.length>0">
             <p v-for="(con,i) in record.importErrorMsgSet" :key="i">{{ i*1+1 }}、{{ con }};</p>
@@ -119,9 +139,9 @@ export default {
         { title: '产品一级分类', dataIndex: 'productTypeName1', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品二级分类', dataIndex: 'productTypeName2', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品三级分类', dataIndex: 'productTypeName3', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '经销商批发价', dataIndex: 'specialPrice', width: '13%', align: 'right', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '终端价', dataIndex: 'terminalPrice', width: '11%', align: 'right', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '车主价', dataIndex: 'carOwnersPrice', width: '11%', align: 'right', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '经销商批发价', dataIndex: 'wholesalePrice', width: '13%', align: 'right', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '终端价', dataIndex: 'finalPrice', width: '11%', align: 'right', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '车主价', dataIndex: 'carPrice', width: '11%', align: 'right', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '备注', width: '20%', align: 'center', scopedSlots: { customRender: 'errorMsg' } }
       ],
       loadData: [],