|
@@ -7,7 +7,7 @@
|
|
title="选择产品"
|
|
title="选择产品"
|
|
v-model="isShow"
|
|
v-model="isShow"
|
|
@cancel="isShow=false"
|
|
@cancel="isShow=false"
|
|
- :width="900">
|
|
|
|
|
|
+ width="70%">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<div class="products-con">
|
|
<div class="products-con">
|
|
<!-- 搜索条件 -->
|
|
<!-- 搜索条件 -->
|
|
@@ -130,9 +130,9 @@ export default {
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
loading: false, // 表格加载中
|
|
loading: false, // 表格加载中
|
|
columns: [
|
|
columns: [
|
|
- { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
|
|
|
+ { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
|
|
{ title: '产品编码', dataIndex: 'code', align: 'center' },
|
|
{ title: '产品编码', dataIndex: 'code', align: 'center' },
|
|
- { title: '产品名称', dataIndex: 'name', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
|
|
|
|
|
|
+ { title: '产品名称', dataIndex: 'name', align: 'center', width: '18%', ellipsis: true, customRender: function (text) { return text || '--' } },
|
|
{ title: '原厂编码', dataIndex: 'origCode', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
|
|
{ title: '原厂编码', dataIndex: 'origCode', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
|
|
{ title: '省级价', dataIndex: 'provincePrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
{ title: '省级价', dataIndex: 'provincePrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
{ title: '市级价', dataIndex: 'cityPrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|
|
{ title: '市级价', dataIndex: 'cityPrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
|