给单据增加仓库快捷输入功能

This commit is contained in:
季圣华
2021-10-24 23:07:21 +08:00
parent 3fb0fa8a7f
commit 595bb87076
15 changed files with 127 additions and 15 deletions

View File

@@ -41,7 +41,12 @@
@added="onAdded"
@deleted="onDeleted">
<template #buttonAfter>
<a-row :gutter="24">
<a-row :gutter="24" style="float:left;width:140px;">
<a-col :md="24" :sm="24">
<a-button icon="plus" @click="addDepot">新增仓库</a-button>
</a-col>
</a-row>
<a-row :gutter="24" style="float:left;">
<a-col v-if="scanStatus" :md="6" :sm="24">
<a-button @click="scanEnter">扫码录入</a-button>
</a-col>
@@ -70,10 +75,12 @@
</a-row>
</a-form>
</a-spin>
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
</j-modal>
</template>
<script>
import pick from 'lodash.pick'
import DepotModal from '../../system/modules/DepotModal'
import { FormTypes } from '@/utils/JEditableTableUtil'
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
import { BillModalMixin } from '../mixins/BillModalMixin'
@@ -85,6 +92,7 @@
name: "AllocationOutModal",
mixins: [JEditableTableMixin, BillModalMixin],
components: {
DepotModal,
JUpload,
JDate
},