|
@@ -171,8 +171,6 @@
|
|
|
</a-tab-pane>
|
|
|
</a-tabs>
|
|
|
</a-spin>
|
|
|
- <!-- 销售记录 -->
|
|
|
- <product-salesRecord-modal ref="salseRecord" :openModal="showRecord" @close="showRecord=false" />
|
|
|
</a-drawer>
|
|
|
</template>
|
|
|
|
|
@@ -180,11 +178,10 @@
|
|
|
import { commonMixin } from '@/utils/mixin'
|
|
|
import { STable } from '@/components'
|
|
|
import ProductType from '../../common/productType.js'
|
|
|
-import productSalesRecordModal from './productSalesRecordModal.vue'
|
|
|
import { queryWaitReplenish, queryShelfProduct } from '@/api/shelfReplenish'
|
|
|
export default {
|
|
|
name: 'OutinDetailModal',
|
|
|
- components: { STable, ProductType, productSalesRecordModal },
|
|
|
+ components: { STable, ProductType },
|
|
|
mixins: [commonMixin],
|
|
|
props: {
|
|
|
openModal: {
|
|
@@ -211,7 +208,6 @@ export default {
|
|
|
return {
|
|
|
spinning: false,
|
|
|
advanced: false,
|
|
|
- showRecord: false,
|
|
|
isShow: this.openModal, // 是否打开弹框
|
|
|
options: [
|
|
|
{ label: '库存充足', value: 'stockEnough' },
|
|
@@ -334,8 +330,7 @@ export default {
|
|
|
},
|
|
|
// 销售记录
|
|
|
handleDetail (row) {
|
|
|
- this.showRecord = true
|
|
|
- this.$refs.salseRecord.getDetail(this.baseData.customerSn, row.productSn, row)
|
|
|
+ this.$emit('viewRecord',row)
|
|
|
},
|
|
|
// 表格选中项
|
|
|
rowSelectionFun (obj) {
|