给单据增加仓库快捷输入功能
This commit is contained in:
@@ -11,13 +11,13 @@
|
|||||||
<a-col>
|
<a-col>
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<div v-if="actionButton" class="action-button">
|
<div v-if="actionButton" class="action-button">
|
||||||
<a-button type="primary" icon="plus" @click="handleClickAdd" :disabled="disabled">新增</a-button>
|
<a-button type="primary" icon="plus" @click="handleClickAdd" :disabled="disabled">新增行</a-button>
|
||||||
<span class="gap"></span>
|
<span class="gap"></span>
|
||||||
<template v-if="selectedRowIds.length>0">
|
<template v-if="selectedRowIds.length>0">
|
||||||
<a-popconfirm
|
<a-popconfirm
|
||||||
:title="`确定要删除这 ${selectedRowIds.length} 项吗?`"
|
:title="`确定要删除这 ${selectedRowIds.length} 项吗?`"
|
||||||
@confirm="handleConfirmDelete">
|
@confirm="handleConfirmDelete">
|
||||||
<a-button type="primary" icon="minus" :disabled="disabled">删除</a-button>
|
<a-button type="primary" icon="minus" :disabled="disabled">删除行</a-button>
|
||||||
<span class="gap"></span>
|
<span class="gap"></span>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
<template v-if="showClearSelectButton">
|
<template v-if="showClearSelectButton">
|
||||||
|
|||||||
@@ -225,6 +225,11 @@ export const BillModalMixin = {
|
|||||||
this.$refs.memberModalForm.title = "新增会员";
|
this.$refs.memberModalForm.title = "新增会员";
|
||||||
this.$refs.memberModalForm.disableSubmit = false;
|
this.$refs.memberModalForm.disableSubmit = false;
|
||||||
},
|
},
|
||||||
|
addDepot() {
|
||||||
|
this.$refs.depotModalForm.add();
|
||||||
|
this.$refs.depotModalForm.title = "新增仓库";
|
||||||
|
this.$refs.depotModalForm.disableSubmit = false;
|
||||||
|
},
|
||||||
vendorModalFormOk() {
|
vendorModalFormOk() {
|
||||||
this.initSupplier()
|
this.initSupplier()
|
||||||
},
|
},
|
||||||
@@ -234,6 +239,9 @@ export const BillModalMixin = {
|
|||||||
memberModalFormOk() {
|
memberModalFormOk() {
|
||||||
this.initRetail()
|
this.initRetail()
|
||||||
},
|
},
|
||||||
|
depotModalFormOk() {
|
||||||
|
this.initDepot()
|
||||||
|
},
|
||||||
onAdded(event) {
|
onAdded(event) {
|
||||||
const { row, target } = event
|
const { row, target } = event
|
||||||
getAction('/depot/findDepotByCurrentUser').then((res) => {
|
getAction('/depot/findDepotByCurrentUser').then((res) => {
|
||||||
|
|||||||
@@ -41,7 +41,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<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-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -70,10 +75,12 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -85,6 +92,7 @@
|
|||||||
name: "AllocationOutModal",
|
name: "AllocationOutModal",
|
||||||
mixins: [JEditableTableMixin, BillModalMixin],
|
mixins: [JEditableTableMixin, BillModalMixin],
|
||||||
components: {
|
components: {
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate
|
JDate
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -41,7 +41,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<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-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -70,10 +75,12 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -86,6 +93,7 @@
|
|||||||
name: "AssembleModal",
|
name: "AssembleModal",
|
||||||
mixins: [JEditableTableMixin, BillModalMixin],
|
mixins: [JEditableTableMixin, BillModalMixin],
|
||||||
components: {
|
components: {
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate
|
JDate
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -41,7 +41,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<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-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -70,10 +75,12 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -86,6 +93,7 @@
|
|||||||
name: "DisassembleModal",
|
name: "DisassembleModal",
|
||||||
mixins: [JEditableTableMixin, BillModalMixin],
|
mixins: [JEditableTableMixin, BillModalMixin],
|
||||||
components: {
|
components: {
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate
|
JDate
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -56,7 +56,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<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-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -86,11 +91,13 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import VendorModal from '../../system/modules/VendorModal'
|
import VendorModal from '../../system/modules/VendorModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -103,6 +110,7 @@
|
|||||||
mixins: [JEditableTableMixin, BillModalMixin],
|
mixins: [JEditableTableMixin, BillModalMixin],
|
||||||
components: {
|
components: {
|
||||||
VendorModal,
|
VendorModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -56,7 +56,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<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-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -86,11 +91,13 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import CustomerModal from '../../system/modules/CustomerModal'
|
import CustomerModal from '../../system/modules/CustomerModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -103,6 +110,7 @@
|
|||||||
mixins: [JEditableTableMixin, BillModalMixin],
|
mixins: [JEditableTableMixin, BillModalMixin],
|
||||||
components: {
|
components: {
|
||||||
CustomerModal,
|
CustomerModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -60,7 +60,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<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-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -141,6 +146,7 @@
|
|||||||
<many-account-modal ref="manyAccountModalForm" @ok="manyAccountModalFormOk"></many-account-modal>
|
<many-account-modal ref="manyAccountModalForm" @ok="manyAccountModalFormOk"></many-account-modal>
|
||||||
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
||||||
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -148,6 +154,7 @@
|
|||||||
import ManyAccountModal from '../dialog/ManyAccountModal'
|
import ManyAccountModal from '../dialog/ManyAccountModal'
|
||||||
import LinkBillList from '../dialog/LinkBillList'
|
import LinkBillList from '../dialog/LinkBillList'
|
||||||
import VendorModal from '../../system/modules/VendorModal'
|
import VendorModal from '../../system/modules/VendorModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -163,6 +170,7 @@
|
|||||||
ManyAccountModal,
|
ManyAccountModal,
|
||||||
LinkBillList,
|
LinkBillList,
|
||||||
VendorModal,
|
VendorModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -64,7 +64,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<template #buttonAfter>
|
||||||
<a-row :gutter="24" data-step="4" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
<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;" data-step="4" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
||||||
<a-col v-if="scanStatus" :md="6" :sm="24">
|
<a-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -152,6 +157,7 @@
|
|||||||
<many-account-modal ref="manyAccountModalForm" @ok="manyAccountModalFormOk"></many-account-modal>
|
<many-account-modal ref="manyAccountModalForm" @ok="manyAccountModalFormOk"></many-account-modal>
|
||||||
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
||||||
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -160,6 +166,7 @@
|
|||||||
import ManyAccountModal from '../dialog/ManyAccountModal'
|
import ManyAccountModal from '../dialog/ManyAccountModal'
|
||||||
import LinkBillList from '../dialog/LinkBillList'
|
import LinkBillList from '../dialog/LinkBillList'
|
||||||
import VendorModal from '../../system/modules/VendorModal'
|
import VendorModal from '../../system/modules/VendorModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -175,6 +182,7 @@
|
|||||||
ManyAccountModal,
|
ManyAccountModal,
|
||||||
LinkBillList,
|
LinkBillList,
|
||||||
VendorModal,
|
VendorModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -57,7 +57,12 @@
|
|||||||
@valueChange="onValueChange"
|
@valueChange="onValueChange"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<template #buttonAfter>
|
||||||
<a-row :gutter="24" data-step="3" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
<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;" data-step="3" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
||||||
<a-col v-if="scanStatus" :md="6" :sm="24">
|
<a-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -87,11 +92,13 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import VendorModal from '../../system/modules/VendorModal'
|
import VendorModal from '../../system/modules/VendorModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -104,6 +111,7 @@
|
|||||||
mixins: [JEditableTableMixin,BillModalMixin],
|
mixins: [JEditableTableMixin,BillModalMixin],
|
||||||
components: {
|
components: {
|
||||||
VendorModal,
|
VendorModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -63,7 +63,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<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-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -125,12 +130,14 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
||||||
<member-modal ref="memberModalForm" @ok="memberModalFormOk"></member-modal>
|
<member-modal ref="memberModalForm" @ok="memberModalFormOk"></member-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import LinkBillList from '../dialog/LinkBillList'
|
import LinkBillList from '../dialog/LinkBillList'
|
||||||
import MemberModal from '../../system/modules/MemberModal'
|
import MemberModal from '../../system/modules/MemberModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -146,6 +153,7 @@
|
|||||||
components: {
|
components: {
|
||||||
LinkBillList,
|
LinkBillList,
|
||||||
MemberModal,
|
MemberModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -70,7 +70,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<template #buttonAfter>
|
||||||
<a-row :gutter="24" data-step="4" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
<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;" data-step="4" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
||||||
<a-col v-if="scanStatus" :md="6" :sm="24">
|
<a-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -136,11 +141,13 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
<member-modal ref="memberModalForm" @ok="memberModalFormOk"></member-modal>
|
<member-modal ref="memberModalForm" @ok="memberModalFormOk"></member-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import MemberModal from '../../system/modules/MemberModal'
|
import MemberModal from '../../system/modules/MemberModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -155,6 +162,7 @@
|
|||||||
mixins: [JEditableTableMixin, BillModalMixin],
|
mixins: [JEditableTableMixin, BillModalMixin],
|
||||||
components: {
|
components: {
|
||||||
MemberModal,
|
MemberModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -60,7 +60,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<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-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -144,6 +149,7 @@
|
|||||||
<many-account-modal ref="manyAccountModalForm" @ok="manyAccountModalFormOk"></many-account-modal>
|
<many-account-modal ref="manyAccountModalForm" @ok="manyAccountModalFormOk"></many-account-modal>
|
||||||
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
||||||
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -151,6 +157,7 @@
|
|||||||
import ManyAccountModal from '../dialog/ManyAccountModal'
|
import ManyAccountModal from '../dialog/ManyAccountModal'
|
||||||
import LinkBillList from '../dialog/LinkBillList'
|
import LinkBillList from '../dialog/LinkBillList'
|
||||||
import CustomerModal from '../../system/modules/CustomerModal'
|
import CustomerModal from '../../system/modules/CustomerModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -167,6 +174,7 @@
|
|||||||
ManyAccountModal,
|
ManyAccountModal,
|
||||||
LinkBillList,
|
LinkBillList,
|
||||||
CustomerModal,
|
CustomerModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
JSelectMultiple,
|
JSelectMultiple,
|
||||||
|
|||||||
@@ -63,7 +63,12 @@
|
|||||||
@valueChange="onValueChange"
|
@valueChange="onValueChange"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<template #buttonAfter>
|
||||||
<a-row :gutter="24" data-step="4" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
<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;" data-step="4" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
||||||
<a-col v-if="scanStatus" :md="6" :sm="24">
|
<a-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -93,11 +98,13 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import CustomerModal from '../../system/modules/CustomerModal'
|
import CustomerModal from '../../system/modules/CustomerModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -111,6 +118,7 @@
|
|||||||
mixins: [JEditableTableMixin, BillModalMixin],
|
mixins: [JEditableTableMixin, BillModalMixin],
|
||||||
components: {
|
components: {
|
||||||
CustomerModal,
|
CustomerModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
JSelectMultiple,
|
JSelectMultiple,
|
||||||
|
|||||||
@@ -65,7 +65,12 @@
|
|||||||
@added="onAdded"
|
@added="onAdded"
|
||||||
@deleted="onDeleted">
|
@deleted="onDeleted">
|
||||||
<template #buttonAfter>
|
<template #buttonAfter>
|
||||||
<a-row :gutter="24" data-step="4" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
<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;" data-step="4" data-title="扫码录入" data-intro="此功能支持扫码枪扫描商品条码进行录入">
|
||||||
<a-col v-if="scanStatus" :md="6" :sm="24">
|
<a-col v-if="scanStatus" :md="6" :sm="24">
|
||||||
<a-button @click="scanEnter">扫码录入</a-button>
|
<a-button @click="scanEnter">扫码录入</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -157,6 +162,7 @@
|
|||||||
<many-account-modal ref="manyAccountModalForm" @ok="manyAccountModalFormOk"></many-account-modal>
|
<many-account-modal ref="manyAccountModalForm" @ok="manyAccountModalFormOk"></many-account-modal>
|
||||||
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
||||||
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
||||||
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -164,6 +170,7 @@
|
|||||||
import ManyAccountModal from '../dialog/ManyAccountModal'
|
import ManyAccountModal from '../dialog/ManyAccountModal'
|
||||||
import LinkBillList from '../dialog/LinkBillList'
|
import LinkBillList from '../dialog/LinkBillList'
|
||||||
import CustomerModal from '../../system/modules/CustomerModal'
|
import CustomerModal from '../../system/modules/CustomerModal'
|
||||||
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||||
@@ -180,6 +187,7 @@
|
|||||||
ManyAccountModal,
|
ManyAccountModal,
|
||||||
LinkBillList,
|
LinkBillList,
|
||||||
CustomerModal,
|
CustomerModal,
|
||||||
|
DepotModal,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
JSelectMultiple,
|
JSelectMultiple,
|
||||||
|
|||||||
Reference in New Issue
Block a user