|
@@ -20,7 +20,7 @@
|
|
|
<a-descriptions size="small" :column="3" style="margin-bottom: 10px;">
|
|
|
<a-descriptions-item label="采购退货单号">{{ detailsData&&detailsData.sparePartsReturnNo || '--' }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="供应商名称">{{ detailsData&&detailsData.supplierName || '--' }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="退货原因">{{ detailsData&&detailsData.returnReason || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="退货原因">{{ detailsData&&detailsData.returnReasonDictValue || '--' }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="补充说明" :span="3">{{ detailsData&&detailsData.explainInfo || '--' }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="附件" :span="3">
|
|
|
<span v-if="detailsData&&detailsData.attachmentList&&detailsData.attachmentList.length>0">
|
|
@@ -121,25 +121,16 @@
|
|
|
<!-- 选择审核人员 -->
|
|
|
<chooseDepartUserModal ref="chooseDepart" :openModal="openDepartUserModal" @close="openDepartUserModal = false" @submit="handleSubmit"></chooseDepartUserModal>
|
|
|
<!-- 编辑基础信息弹窗 -->
|
|
|
- <add-modal v-drag :openModal="openModal" :itemSn="sparePartsReturnSn" @ok="handleOk" @close="openModal = false" />
|
|
|
+ <add-modal v-drag :openModal="openModal" :itemSn="sparePartsReturnSn" @ok="getBasicsData" @close="openModal = false" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import { commonMixin } from '@/utils/mixin'
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
-import { printFun, exportExcel } from '@/libs/JGPrint.js'
|
|
|
import queryPart from './queryPart.vue'
|
|
|
import addModal from './addModal.vue'
|
|
|
-import commonModal from '@/views/common/commonModal.vue'
|
|
|
-import EditableCell from '@/views/common/editInput.js'
|
|
|
import chooseDepartUserModal from './chooseDepartUserModal.vue'
|
|
|
-import returnReason from '@/views/common/returnReason'
|
|
|
-import { salesReturnDetail, salesReturnBatchInsert, salesReturnPrint, salesReturnExport } from '@/api/salesReturn'
|
|
|
-import {
|
|
|
- salesReturnDetailUpdateReason,
|
|
|
- salesReturnDetailSetReason
|
|
|
-} from '@/api/salesReturnDetail'
|
|
|
import { sparePartsReturnQueryPage, queryPageCount, sparePartsReturnDetailDelete, sparePartsReturnDetailSave, sparePartsReturnSubmit, sparePartsReturnInfo } from '@/api/sparePartsReturn'
|
|
|
import { toFixedDecimal } from '@/libs/tools.js'
|
|
|
export default {
|
|
@@ -148,9 +139,6 @@ export default {
|
|
|
components: {
|
|
|
STable,
|
|
|
VSelect,
|
|
|
- EditableCell,
|
|
|
- returnReason,
|
|
|
- commonModal,
|
|
|
queryPart,
|
|
|
addModal,
|
|
|
chooseDepartUserModal
|