|
@@ -128,7 +128,7 @@
|
|
|
{{ record.packQty||'--' }}{{ record.packQty ? record.unit : '' }}/{{ record.packQtyUnit||'--' }}
|
|
|
</template>
|
|
|
<!-- 产品编码 -->
|
|
|
- <template slot="code" slot-scope="text, record">
|
|
|
+ <!-- <template slot="code" slot-scope="text, record">
|
|
|
<a-tooltip placement="top" v-if="record.stockState=='NOT_ENOUGH'">
|
|
|
<template slot="title">
|
|
|
该产品暂时缺货!
|
|
@@ -136,7 +136,7 @@
|
|
|
<span class="noStock">{{ record.code || '--' }}</span>
|
|
|
</a-tooltip>
|
|
|
<span v-else>{{ record.code || '--' }}</span>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 采购数量 -->
|
|
|
<template slot="storageQuantity" slot-scope="text, record">
|
|
|
<a-input-number
|
|
@@ -369,7 +369,8 @@ export default {
|
|
|
const _this = this
|
|
|
const arr = [
|
|
|
{ title: '序号', dataIndex: 'no', width: '5%', align: 'center' },
|
|
|
- { title: '产品编码', scopedSlots: { customRender: 'code' }, width: '15%', align: 'center', sorter: true },
|
|
|
+ // { title: '产品编码', scopedSlots: { customRender: 'code' }, width: '15%', align: 'center', sorter: true },
|
|
|
+ { title: '产品编码', dataIndex: 'code', width: '15%', align: 'center', customRender: function (text) { return text || '--' }, sorter: true },
|
|
|
{ title: '产品名称', dataIndex: 'name', width: '23%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '原厂编码', dataIndex: 'origCode', width: '14%', align: 'center', customRender: function (text) { return text && text != ' ' ? text : '--' } },
|
|
|
{ title: '单位', dataIndex: 'unit', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
|