给单据录入界面增加历史单据链接
This commit is contained in:
@@ -94,6 +94,11 @@
|
||||
</a-dropdown>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24" style="float:left;padding-bottom: 5px;">
|
||||
<a-col :md="24" :sm="24">
|
||||
<a-button style="margin-left: 8px" @click="handleHistoryBillList"><a-icon type="history" />历史单据</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</template>
|
||||
</j-editable-table>
|
||||
<a-row class="form-row" :gutter="24">
|
||||
@@ -180,6 +185,7 @@
|
||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||
</j-modal>
|
||||
</template>
|
||||
|
||||
@@ -191,6 +197,7 @@
|
||||
import DepotModal from '../../system/modules/DepotModal'
|
||||
import AccountModal from '../../system/modules/AccountModal'
|
||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||
import HistoryBillList from '../dialog/HistoryBillList'
|
||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||
@@ -209,6 +216,7 @@
|
||||
DepotModal,
|
||||
AccountModal,
|
||||
BatchSetDepot,
|
||||
HistoryBillList,
|
||||
JUpload,
|
||||
JDate,
|
||||
VNodes: {
|
||||
@@ -391,6 +399,11 @@
|
||||
rows: JSON.stringify(detailArr),
|
||||
}
|
||||
},
|
||||
handleHistoryBillList() {
|
||||
let organId = this.form.getFieldValue('organId')
|
||||
this.$refs.historyBillListModalForm.show('入库', '采购', '供应商', organId);
|
||||
this.$refs.historyBillListModalForm.disableSubmit = false;
|
||||
},
|
||||
onSearchLinkNumber() {
|
||||
this.$refs.linkBillList.show('其它', '采购订单', '供应商', "1,3")
|
||||
this.$refs.linkBillList.title = "选择采购订单"
|
||||
|
||||
@@ -82,6 +82,11 @@
|
||||
<a-button @click="stopScan">收起扫码</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24" style="float:left;padding-bottom: 5px;">
|
||||
<a-col :md="24" :sm="24">
|
||||
<a-button style="margin-left: 8px" @click="handleHistoryBillList"><a-icon type="history" />历史单据</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</template>
|
||||
</j-editable-table>
|
||||
<a-row class="form-row" :gutter="24">
|
||||
@@ -124,12 +129,14 @@
|
||||
</a-spin>
|
||||
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
||||
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||
</j-modal>
|
||||
</template>
|
||||
<script>
|
||||
import pick from 'lodash.pick'
|
||||
import LinkBillList from '../dialog/LinkBillList'
|
||||
import VendorModal from '../../system/modules/VendorModal'
|
||||
import HistoryBillList from '../dialog/HistoryBillList'
|
||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||
@@ -144,6 +151,7 @@
|
||||
components: {
|
||||
LinkBillList,
|
||||
VendorModal,
|
||||
HistoryBillList,
|
||||
JUpload,
|
||||
JDate,
|
||||
VNodes: {
|
||||
@@ -299,6 +307,11 @@
|
||||
rows: JSON.stringify(detailArr),
|
||||
}
|
||||
},
|
||||
handleHistoryBillList() {
|
||||
let organId = this.form.getFieldValue('organId')
|
||||
this.$refs.historyBillListModalForm.show('其它', '采购订单', '供应商', organId);
|
||||
this.$refs.historyBillListModalForm.disableSubmit = false;
|
||||
},
|
||||
onSearchLinkNumber() {
|
||||
this.$refs.linkBillList.purchaseShow('其它', '销售订单', '客户', "1,3","0,3")
|
||||
this.$refs.linkBillList.title = "选择销售订单"
|
||||
|
||||
@@ -82,6 +82,11 @@
|
||||
<a-button @click="stopScan">收起扫码</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24" style="float:left;padding-bottom: 5px;">
|
||||
<a-col :md="24" :sm="24">
|
||||
<a-button style="margin-left: 8px" @click="handleHistoryBillList"><a-icon type="history" />历史单据</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</template>
|
||||
</j-editable-table>
|
||||
<a-row class="form-row" :gutter="24">
|
||||
@@ -123,11 +128,13 @@
|
||||
</a-form>
|
||||
</a-spin>
|
||||
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||
</j-modal>
|
||||
</template>
|
||||
<script>
|
||||
import pick from 'lodash.pick'
|
||||
import CustomerModal from '../../system/modules/CustomerModal'
|
||||
import HistoryBillList from '../dialog/HistoryBillList'
|
||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||
@@ -141,6 +148,7 @@
|
||||
mixins: [JEditableTableMixin, BillModalMixin],
|
||||
components: {
|
||||
CustomerModal,
|
||||
HistoryBillList,
|
||||
JUpload,
|
||||
JDate,
|
||||
JSelectMultiple,
|
||||
@@ -285,6 +293,11 @@
|
||||
rows: JSON.stringify(detailArr),
|
||||
}
|
||||
},
|
||||
handleHistoryBillList() {
|
||||
let organId = this.form.getFieldValue('organId')
|
||||
this.$refs.historyBillListModalForm.show('其它', '销售订单', '客户', organId);
|
||||
this.$refs.historyBillListModalForm.disableSubmit = false;
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -95,6 +95,11 @@
|
||||
</a-dropdown>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24" style="float:left;padding-bottom: 5px;">
|
||||
<a-col :md="24" :sm="24">
|
||||
<a-button style="margin-left: 8px" @click="handleHistoryBillList"><a-icon type="history" />历史单据</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</template>
|
||||
</j-editable-table>
|
||||
<a-row class="form-row" :gutter="24">
|
||||
@@ -185,6 +190,7 @@
|
||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||
</j-modal>
|
||||
</template>
|
||||
<script>
|
||||
@@ -195,6 +201,7 @@
|
||||
import DepotModal from '../../system/modules/DepotModal'
|
||||
import AccountModal from '../../system/modules/AccountModal'
|
||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||
import HistoryBillList from '../dialog/HistoryBillList'
|
||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||
import { BillModalMixin } from '../mixins/BillModalMixin'
|
||||
@@ -214,6 +221,7 @@
|
||||
DepotModal,
|
||||
AccountModal,
|
||||
BatchSetDepot,
|
||||
HistoryBillList,
|
||||
JUpload,
|
||||
JDate,
|
||||
JSelectMultiple,
|
||||
@@ -397,6 +405,11 @@
|
||||
rows: JSON.stringify(detailArr),
|
||||
}
|
||||
},
|
||||
handleHistoryBillList() {
|
||||
let organId = this.form.getFieldValue('organId')
|
||||
this.$refs.historyBillListModalForm.show('出库', '销售', '客户', organId);
|
||||
this.$refs.historyBillListModalForm.disableSubmit = false;
|
||||
},
|
||||
onSearchLinkNumber() {
|
||||
this.$refs.linkBillList.show('其它', '销售订单', '客户', "1,3")
|
||||
this.$refs.linkBillList.title = "选择销售订单"
|
||||
|
||||
Reference in New Issue
Block a user