|
@@ -122,7 +122,7 @@
|
|
|
<template slot="productCode" slot-scope="text, record">
|
|
|
<div v-if="(record.promotionFlag == 1) || (Number(record.stockQty) < Number(record.unpushedQty)) && (detailData&&(detailData.billStatus == 'WAIT_AUDIT'||detailData.billStatus == 'HQ_CHANGE')&&$hasPermissions('B_salesAudit'))">
|
|
|
<span>{{ text }}</span>
|
|
|
- <a-badge count="促" :number-style="{ backgroundColor: '#f90' }" v-if="record.promotionFlag == 1"></a-badge>
|
|
|
+ <!-- <a-badge count="促" :number-style="{ backgroundColor: '#f90' }" v-if="record.promotionFlag == 1"></a-badge> -->
|
|
|
<!-- 可审核时才可显示“缺”货产品 -->
|
|
|
<a-badge count="缺" v-if="(Number(record.stockQty) < Number(record.unpushedQty)) && (detailData&&(detailData.billStatus == 'WAIT_AUDIT'||detailData.billStatus == 'HQ_CHANGE')&&$hasPermissions('B_salesAudit'))">
|
|
|
</a-badge>
|
|
@@ -218,7 +218,7 @@ import dsModal from '@/views/salesManagement/waitDispatch/dsModal.vue'
|
|
|
import stockOutDetail from './stockOutDetailModal.vue'
|
|
|
import chooseWarehouse from '@/views/common/chooseWarehouse'
|
|
|
import { salesDetailBySn, salesDetailPrint, salesDetailExcel, salesDetailTypeExcel, salesWriteAudit, salesWriteAuditPush } from '@/api/salesNew'
|
|
|
-import { salesDetailAllList } from '@/api/salesDetail'
|
|
|
+import { salesDetailAllList } from '@/api/salesDetailNew'
|
|
|
export default {
|
|
|
name: 'SalesDetail',
|
|
|
mixins: [commonMixin],
|