lilei 2 years ago
parent
commit
b47ff287fc

+ 2 - 2
src/views/supplierManagement/costSetting/chooseImportModal.vue

@@ -87,14 +87,14 @@ export default {
       isShow: this.openModal, //  是否打开弹框
       nowColumns: [ //  可导入
         { title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
-        { title: '供应商名称', dataIndex: 'product.unit', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '供应商名称', dataIndex: 'supplierName', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品编码', dataIndex: 'productCode', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'product.name', width: '30%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '成本价', dataIndex: 'costText', width: '15%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
       ],
       nowUnColumns: [ //  不可导入
         { title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
-        { title: '供应商名称', dataIndex: 'product.unit', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '供应商名称', dataIndex: 'supplierName', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品编码', dataIndex: 'productCode', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'product.name', width: '25%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '成本价', dataIndex: 'costText', width: '15%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },

+ 2 - 2
src/views/supplierManagement/costSetting/importGuideModal.vue

@@ -15,9 +15,9 @@
             <span>1</span>准备导入
           </div>
           <ul>
-            <li>1) 导入的Excel文件中必须包含名为“供应商名称““产品编码”“成本”的列,且名称必须与系统相同</li>
+            <li>1) 导入的Excel文件中必须包含名为“供应商名称““产品编码”“成本”的列,且名称必须与系统相同</li>
             <li>2) 除了“供应商名称“、“产品编码”、“成本”三列,其他列可自定义,不影响数据导入</li>
-            <li>3) 如果导入的供应商名称、产品已经存在,未创建之间的关跌,则允许导入,同时系统的健关跌,若已建立之间的关跌,则允许导入,成本按照更新处理,若不存在,则需先完善供应商和产品</li>
+            <li>3) 如果导入的供应商名称、产品已经存在,未创建之间的关联,则允许导入,同时系统创建关联;若已建立之间的关联,则允许导入,成本按照更新处理,若不存在,则需先完善供应商和产品</li>
           </ul>
           <a-button type="link" icon="download" style="padding: 0 0 0 23px;" :loading="exportLoading" @click="handleExport">下载导入模板</a-button>
         </div>