|
@@ -5,41 +5,41 @@
|
|
<div ref="tableSearch" class="table-page-search-wrapper">
|
|
<div ref="tableSearch" class="table-page-search-wrapper">
|
|
<a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
|
|
<a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
|
+ <a-form-item label="创建时间">
|
|
|
|
+ <rangeDate ref="rangeDate" @change="dateChange" />
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
|
+ <a-form-item label="入库单号">
|
|
|
|
+ <a-input id="bulkWarehousingOrderList-sparePartsNo" v-model.trim="queryParam.sparePartsNo" allowClear placeholder="请输入入库单号"/>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<a-form-item label="供应商名称">
|
|
<a-form-item label="供应商名称">
|
|
<a-input id="bulkWarehousingOrderList-productCode" v-model.trim="queryParam.productCode" allowClear placeholder="请输入供应商名称"/>
|
|
<a-input id="bulkWarehousingOrderList-productCode" v-model.trim="queryParam.productCode" allowClear placeholder="请输入供应商名称"/>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
- <a-form-item label="审核状态">
|
|
|
|
|
|
+ <a-form-item label="退货原因">
|
|
<v-select
|
|
<v-select
|
|
v-model="queryParam.state"
|
|
v-model="queryParam.state"
|
|
ref="state"
|
|
ref="state"
|
|
id="bulkWarehousingOrderList-state"
|
|
id="bulkWarehousingOrderList-state"
|
|
code="SPARE_PARTS_STATE"
|
|
code="SPARE_PARTS_STATE"
|
|
- placeholder="请选择审核状态"
|
|
|
|
|
|
+ placeholder="请选择退货原因"
|
|
allowClear
|
|
allowClear
|
|
></v-select>
|
|
></v-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
- <a-form-item label="创建时间">
|
|
|
|
- <rangeDate ref="rangeDate" @change="dateChange" />
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
|
- <a-form-item label="入库单号">
|
|
|
|
- <a-input id="bulkWarehousingOrderList-sparePartsNo" v-model.trim="queryParam.sparePartsNo" allowClear placeholder="请输入入库单号"/>
|
|
|
|
- </a-form-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
|
- <a-form-item label="退货原因">
|
|
|
|
|
|
+ <a-form-item label="审核状态">
|
|
<v-select
|
|
<v-select
|
|
v-model="queryParam.state"
|
|
v-model="queryParam.state"
|
|
ref="state"
|
|
ref="state"
|
|
id="bulkWarehousingOrderList-state"
|
|
id="bulkWarehousingOrderList-state"
|
|
code="SPARE_PARTS_STATE"
|
|
code="SPARE_PARTS_STATE"
|
|
- placeholder="请选择退货原因"
|
|
|
|
|
|
+ placeholder="请选择审核状态"
|
|
allowClear
|
|
allowClear
|
|
></v-select>
|
|
></v-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -159,7 +159,7 @@ import reportModal from '@/views/common/reportModal.vue'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { sparePartsList, sparePartsDelete, sparePartsAudit, sparePartsDetailExport } from '@/api/spareParts'
|
|
import { sparePartsList, sparePartsDelete, sparePartsAudit, sparePartsDetailExport } from '@/api/spareParts'
|
|
export default {
|
|
export default {
|
|
- name: 'BulkWarehousingOrderList',
|
|
|
|
|
|
+ name: 'PurchaseReturnList',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
components: { STable, VSelect, reportModal, detailModal, addModal, chooseDepartUserModal, rangeDate },
|
|
components: { STable, VSelect, reportModal, detailModal, addModal, chooseDepartUserModal, rangeDate },
|
|
data () {
|
|
data () {
|
|
@@ -215,7 +215,7 @@ export default {
|
|
{ title: '采购退货单号', scopedSlots: { customRender: 'sparePartsNo' }, width: '15%', align: 'center' },
|
|
{ title: '采购退货单号', scopedSlots: { customRender: 'sparePartsNo' }, width: '15%', align: 'center' },
|
|
{ title: '入库单号', scopedSlots: { customRender: 'sparePartsNo' }, width: '15%', align: 'center' },
|
|
{ title: '入库单号', scopedSlots: { customRender: 'sparePartsNo' }, width: '15%', align: 'center' },
|
|
{ title: '供应商名称', dataIndex: 'supplierName', align: 'center', width: '15%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '供应商名称', dataIndex: 'supplierName', align: 'center', width: '15%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
- { title: '退回原因', dataIndex: 'remark', width: '15%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
|
|
|
+ { title: '退货原因', dataIndex: 'remark', width: '15%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '申请退货数量', dataIndex: 'productTotalQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '申请退货数量', dataIndex: 'productTotalQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '退货金额', dataIndex: 'productTotalCost', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '退货金额', dataIndex: 'productTotalCost', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '审核时间', dataIndex: 'sparePartsTypeDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '审核时间', dataIndex: 'sparePartsTypeDictValue', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
@@ -256,7 +256,7 @@ export default {
|
|
},
|
|
},
|
|
// 编辑
|
|
// 编辑
|
|
handleEdit (row) {
|
|
handleEdit (row) {
|
|
- this.$router.push({ path: `/purchasingManagement/bulkWarehousingOrder/edit/${row.id}/${row.sparePartsSn}` })
|
|
|
|
|
|
+ this.$router.push({ path: `/purchasingManagement/purchaseReturn/purchaseReturnDeatil`})
|
|
},
|
|
},
|
|
// 详情
|
|
// 详情
|
|
handleDetail (row) {
|
|
handleDetail (row) {
|