|
@@ -34,7 +34,7 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ <!-- <a-col :md="6" :sm="24">
|
|
|
<a-form-item label="产品分类">
|
|
|
<a-cascader
|
|
|
@change="changeProductType"
|
|
@@ -47,12 +47,12 @@
|
|
|
placeholder="请选择产品分类"
|
|
|
allowClear />
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
+ </a-col> -->
|
|
|
+ <!-- <a-col :md="6" :sm="24">
|
|
|
<a-form-item label="状态">
|
|
|
<v-select code="ONLINE_FLAG" id="productInfoList-onlineFalg" v-model="queryParam.onlineFalg" allowClear placeholder="请选择状态"></v-select>
|
|
|
</a-form-item>
|
|
|
- </a-col>
|
|
|
+ </a-col> -->
|
|
|
</template>
|
|
|
<a-col :md="6" :sm="24" style="margin-bottom: 10px;">
|
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="productInfoList-refresh">查询</a-button>
|
|
@@ -131,7 +131,7 @@ export default {
|
|
|
productTypeSn1: '', // 产品一级分类
|
|
|
productTypeSn2: '', // 产品二级分类
|
|
|
productTypeSn3: '', // 产品三级分类
|
|
|
- onlineFalg: undefined // 状态
|
|
|
+ onlineFalg: '1'
|
|
|
},
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
|
exportLoading: false, // 导出loading
|
|
@@ -183,7 +183,7 @@ export default {
|
|
|
this.queryParam.productTypeSn1 = ''
|
|
|
this.queryParam.productTypeSn2 = ''
|
|
|
this.queryParam.productTypeSn3 = ''
|
|
|
- this.queryParam.onlineFalg = undefined
|
|
|
+ this.queryParam.onlineFalg = '1'
|
|
|
this.productType = []
|
|
|
this.$refs.table.refresh(true)
|
|
|
},
|
|
@@ -191,18 +191,18 @@ export default {
|
|
|
getColumns () {
|
|
|
this.columns = [
|
|
|
{ title: '序号', dataIndex: 'no', width: 70, align: 'center' },
|
|
|
- { title: '产品编码', dataIndex: 'code', align: 'center', width: 120, customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '产品编码', dataIndex: 'code', align: 'center', width: 250, customRender: function (text) { return text || '--' } },
|
|
|
{ title: '产品名称', dataIndex: 'name', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '原厂编码', dataIndex: 'origCode', align: 'center', width: 120, customRender: function (text) { return text || '--' } },
|
|
|
- { title: '产品图片', scopedSlots: { customRender: 'imageUrl' }, width: 80, align: 'center' },
|
|
|
- { title: '产品品牌', dataIndex: 'productBrandName', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: 120, align: 'center' }
|
|
|
+ { title: '原厂编码', dataIndex: 'origCode', align: 'center', width: 120, customRender: function (text) { return (!text || text == ' ') ? '--' : text } },
|
|
|
+ { title: '产品图片', scopedSlots: { customRender: 'imageUrl' }, width: 80, align: 'center' }
|
|
|
+ // { title: '产品品牌', dataIndex: 'productBrandName', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ // { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: 120, align: 'center' }
|
|
|
]
|
|
|
const cArr = [
|
|
|
{ title: '终端价', dataIndex: 'terminalPrice', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '车主价', dataIndex: 'carOwnersPrice', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
- { title: '创建时间', dataIndex: 'createDate', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '状态', dataIndex: 'onlineFalgDictValue', width: 60, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ // { title: '创建时间', dataIndex: 'createDate', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ // { title: '状态', dataIndex: 'onlineFalgDictValue', width: 60, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 100, align: 'center', fixed: 'right' }
|
|
|
]
|
|
|
getCurrentDealer().then(res => {
|