把多级审核的提交流程按钮移到编辑界面
This commit is contained in:
@@ -38,8 +38,6 @@
|
|||||||
<!--反审核-->
|
<!--反审核-->
|
||||||
<a-button v-if="checkFlag && isCanBackCheck && model.status==='1'" @click="handleBackCheck()">反审核</a-button>
|
<a-button v-if="checkFlag && isCanBackCheck && model.status==='1'" @click="handleBackCheck()">反审核</a-button>
|
||||||
<a-button key="back" @click="handleCancel">取消</a-button>
|
<a-button key="back" @click="handleCancel">取消</a-button>
|
||||||
<!--发起多级审核-->
|
|
||||||
<a-button v-if="!checkFlag && model.status==='0'" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
|
||||||
</template>
|
</template>
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
<!--零售出库-->
|
<!--零售出库-->
|
||||||
@@ -1003,7 +1001,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</a-form>
|
</a-form>
|
||||||
<bill-print-iframe ref="modalDetail"></bill-print-iframe>
|
<bill-print-iframe ref="modalDetail"></bill-print-iframe>
|
||||||
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
|
||||||
<financial-detail ref="financialDetailModal"></financial-detail>
|
<financial-detail ref="financialDetailModal"></financial-detail>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
@@ -1014,7 +1011,6 @@
|
|||||||
import { findBillDetailByNumber, findFinancialDetailByNumber, getPlatformConfigByKey, getCurrentSystemConfig} from '@/api/api'
|
import { findBillDetailByNumber, findFinancialDetailByNumber, getPlatformConfigByKey, getCurrentSystemConfig} from '@/api/api'
|
||||||
import { getMpListShort, getCheckFlag, openDownloadDialog, sheet2blob } from "@/utils/util"
|
import { getMpListShort, getCheckFlag, openDownloadDialog, sheet2blob } from "@/utils/util"
|
||||||
import BillPrintIframe from './BillPrintIframe'
|
import BillPrintIframe from './BillPrintIframe'
|
||||||
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
|
||||||
import FinancialDetail from '../../financial/dialog/FinancialDetail'
|
import FinancialDetail from '../../financial/dialog/FinancialDetail'
|
||||||
import JUpload from '@/components/jeecg/JUpload'
|
import JUpload from '@/components/jeecg/JUpload'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
@@ -1022,7 +1018,6 @@
|
|||||||
name: 'BillDetail',
|
name: 'BillDetail',
|
||||||
components: {
|
components: {
|
||||||
BillPrintIframe,
|
BillPrintIframe,
|
||||||
WorkflowIframe,
|
|
||||||
FinancialDetail,
|
FinancialDetail,
|
||||||
JUpload
|
JUpload
|
||||||
},
|
},
|
||||||
@@ -1596,16 +1591,6 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//发起流程
|
|
||||||
handleWorkflow() {
|
|
||||||
getPlatformConfigByKey({"platformKey": "send_workflow_url"}).then((res)=> {
|
|
||||||
if (res && res.code === 200) {
|
|
||||||
let sendWorkflowUrl = res.data.platformValue + '?no=' + this.model.number + '&type=1'
|
|
||||||
this.$refs.modalWorkflow.show(this.model, sendWorkflowUrl, 320)
|
|
||||||
this.$refs.modalWorkflow.title = "发起流程"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//零售出库|零售退货入库
|
//零售出库|零售退货入库
|
||||||
retailExportExcel() {
|
retailExportExcel() {
|
||||||
let aoa = []
|
let aoa = []
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { FormTypes, getListData } from '@/utils/JEditableTableUtil'
|
import { FormTypes, getListData } from '@/utils/JEditableTableUtil'
|
||||||
import {findBySelectSup,findBySelectCus,findBySelectRetail,getMaterialByBarCode,findStockByDepotAndBarCode,getAccount,
|
import {findBySelectSup,findBySelectCus,findBySelectRetail,getMaterialByBarCode,findStockByDepotAndBarCode,getAccount,
|
||||||
getPersonByNumType, getBatchNumberList, getCurrentSystemConfig} from '@/api/api'
|
getPersonByNumType, getBatchNumberList, getCurrentSystemConfig, getPlatformConfigByKey} from '@/api/api'
|
||||||
import { getAction,putAction } from '@/api/manage'
|
import { getAction,putAction } from '@/api/manage'
|
||||||
import { getMpListShort, getNowFormatDateTime, getCheckFlag } from "@/utils/util"
|
import { getMpListShort, getNowFormatDateTime, getCheckFlag } from "@/utils/util"
|
||||||
import { USER_INFO } from "@/store/mutation-types"
|
import { USER_INFO } from "@/store/mutation-types"
|
||||||
@@ -812,5 +812,19 @@ export const BillModalMixin = {
|
|||||||
this.billStatus = '1'
|
this.billStatus = '1'
|
||||||
this.handleOk()
|
this.handleOk()
|
||||||
},
|
},
|
||||||
|
//发起流程
|
||||||
|
handleWorkflow() {
|
||||||
|
if(this.model && this.model.number) {
|
||||||
|
getPlatformConfigByKey({ "platformKey": "send_workflow_url" }).then((res) => {
|
||||||
|
if (res && res.code === 200) {
|
||||||
|
let sendWorkflowUrl = res.data.platformValue + '?no=' + this.model.number + '&type=1'
|
||||||
|
this.$refs.modalWorkflow.show(this.model, sendWorkflowUrl, 320)
|
||||||
|
this.$refs.modalWorkflow.title = "发起流程"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请先保存单据后再提交流程!');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -87,12 +89,14 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</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 DepotModal from '../../system/modules/DepotModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -106,6 +110,7 @@
|
|||||||
components: {
|
components: {
|
||||||
DepotModal,
|
DepotModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate
|
JDate
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -86,12 +88,14 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</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 DepotModal from '../../system/modules/DepotModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -106,6 +110,7 @@
|
|||||||
components: {
|
components: {
|
||||||
DepotModal,
|
DepotModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate
|
JDate
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -86,12 +88,14 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</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 DepotModal from '../../system/modules/DepotModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -106,6 +110,7 @@
|
|||||||
components: {
|
components: {
|
||||||
DepotModal,
|
DepotModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate
|
JDate
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -103,6 +105,7 @@
|
|||||||
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -110,6 +113,7 @@
|
|||||||
import VendorModal from '../../system/modules/VendorModal'
|
import VendorModal from '../../system/modules/VendorModal'
|
||||||
import DepotModal from '../../system/modules/DepotModal'
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -124,6 +128,7 @@
|
|||||||
VendorModal,
|
VendorModal,
|
||||||
DepotModal,
|
DepotModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -103,6 +105,7 @@
|
|||||||
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -110,6 +113,7 @@
|
|||||||
import CustomerModal from '../../system/modules/CustomerModal'
|
import CustomerModal from '../../system/modules/CustomerModal'
|
||||||
import DepotModal from '../../system/modules/DepotModal'
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -124,6 +128,7 @@
|
|||||||
CustomerModal,
|
CustomerModal,
|
||||||
DepotModal,
|
DepotModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -165,6 +167,7 @@
|
|||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -175,6 +178,7 @@
|
|||||||
import DepotModal from '../../system/modules/DepotModal'
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -193,6 +197,7 @@
|
|||||||
DepotModal,
|
DepotModal,
|
||||||
AccountModal,
|
AccountModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -188,6 +190,7 @@
|
|||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -200,6 +203,7 @@
|
|||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
import HistoryBillList from '../dialog/HistoryBillList'
|
import HistoryBillList from '../dialog/HistoryBillList'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -219,6 +223,7 @@
|
|||||||
AccountModal,
|
AccountModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
HistoryBillList,
|
HistoryBillList,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -163,6 +165,7 @@
|
|||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
<link-bill-list ref="linkBillList" @ok="linkBillListOk"></link-bill-list>
|
||||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -172,6 +175,7 @@
|
|||||||
import VendorModal from '../../system/modules/VendorModal'
|
import VendorModal from '../../system/modules/VendorModal'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import HistoryBillList from '../dialog/HistoryBillList'
|
import HistoryBillList from '../dialog/HistoryBillList'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -189,6 +193,7 @@
|
|||||||
VendorModal,
|
VendorModal,
|
||||||
AccountModal,
|
AccountModal,
|
||||||
HistoryBillList,
|
HistoryBillList,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -154,6 +156,7 @@
|
|||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -163,6 +166,7 @@
|
|||||||
import DepotModal from '../../system/modules/DepotModal'
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -181,6 +185,7 @@
|
|||||||
DepotModal,
|
DepotModal,
|
||||||
AccountModal,
|
AccountModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -168,6 +170,7 @@
|
|||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -176,6 +179,7 @@
|
|||||||
import DepotModal from '../../system/modules/DepotModal'
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -193,6 +197,7 @@
|
|||||||
DepotModal,
|
DepotModal,
|
||||||
AccountModal,
|
AccountModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -168,6 +170,7 @@
|
|||||||
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
<depot-modal ref="depotModalForm" @ok="depotModalFormOk"></depot-modal>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -178,6 +181,7 @@
|
|||||||
import DepotModal from '../../system/modules/DepotModal'
|
import DepotModal from '../../system/modules/DepotModal'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -197,6 +201,7 @@
|
|||||||
DepotModal,
|
DepotModal,
|
||||||
AccountModal,
|
AccountModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
JSelectMultiple,
|
JSelectMultiple,
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -162,6 +164,7 @@
|
|||||||
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -170,6 +173,7 @@
|
|||||||
import CustomerModal from '../../system/modules/CustomerModal'
|
import CustomerModal from '../../system/modules/CustomerModal'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import HistoryBillList from '../dialog/HistoryBillList'
|
import HistoryBillList from '../dialog/HistoryBillList'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -186,6 +190,7 @@
|
|||||||
CustomerModal,
|
CustomerModal,
|
||||||
AccountModal,
|
AccountModal,
|
||||||
HistoryBillList,
|
HistoryBillList,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
JSelectMultiple,
|
JSelectMultiple,
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -203,6 +205,7 @@
|
|||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
<batch-set-depot ref="batchSetDepotModalForm" @ok="batchSetDepotModalFormOk"></batch-set-depot>
|
||||||
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
<history-bill-list ref="historyBillListModalForm"></history-bill-list>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -214,6 +217,7 @@
|
|||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import BatchSetDepot from '../dialog/BatchSetDepot'
|
import BatchSetDepot from '../dialog/BatchSetDepot'
|
||||||
import HistoryBillList from '../dialog/HistoryBillList'
|
import HistoryBillList from '../dialog/HistoryBillList'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
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'
|
||||||
@@ -234,6 +238,7 @@
|
|||||||
AccountModal,
|
AccountModal,
|
||||||
BatchSetDepot,
|
BatchSetDepot,
|
||||||
HistoryBillList,
|
HistoryBillList,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
JSelectMultiple,
|
JSelectMultiple,
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
<!--反审核-->
|
<!--反审核-->
|
||||||
<a-button v-if="checkFlag && isCanBackCheck && model.status==='1'" @click="handleBackCheck()">反审核</a-button>
|
<a-button v-if="checkFlag && isCanBackCheck && model.status==='1'" @click="handleBackCheck()">反审核</a-button>
|
||||||
<a-button key="back" @click="handleCancel">取消</a-button>
|
<a-button key="back" @click="handleCancel">取消</a-button>
|
||||||
<!--发起多级审核-->
|
|
||||||
<a-button v-if="!checkFlag && model.status==='0'" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
|
||||||
</template>
|
</template>
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
<!--收预付款-->
|
<!--收预付款-->
|
||||||
@@ -396,20 +394,18 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</template>
|
</template>
|
||||||
</a-form>
|
</a-form>
|
||||||
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
import { findFinancialDetailByNumber, getCurrentSystemConfig, getPlatformConfigByKey } from '@/api/api'
|
import { findFinancialDetailByNumber, getCurrentSystemConfig } from '@/api/api'
|
||||||
import { getCheckFlag } from "@/utils/util"
|
import { getCheckFlag } from '@/utils/util'
|
||||||
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
|
||||||
import JUpload from '@/components/jeecg/JUpload'
|
import JUpload from '@/components/jeecg/JUpload'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'FinancialDetail',
|
name: 'FinancialDetail',
|
||||||
components: {
|
components: {
|
||||||
WorkflowIframe,
|
|
||||||
JUpload
|
JUpload
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
@@ -528,16 +524,6 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//发起流程
|
|
||||||
handleWorkflow() {
|
|
||||||
getPlatformConfigByKey({"platformKey": "send_workflow_url"}).then((res)=> {
|
|
||||||
if (res && res.code === 200) {
|
|
||||||
let sendWorkflowUrl = res.data.platformValue + '?no=' + this.model.billNo + '&type=2'
|
|
||||||
this.$refs.modalWorkflow.show(this.model, sendWorkflowUrl, 320)
|
|
||||||
this.$refs.modalWorkflow.title = "发起流程"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
handleBackCheck() {
|
handleBackCheck() {
|
||||||
let that = this
|
let that = this
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { VALIDATE_NO_PASSED, validateFormAndTables } from '@/utils/JEditableTableUtil'
|
import {findBySelectSup,findBySelectCus,findBySelectRetail,findBySelectOrgan,getPlatformConfigByKey,getAccount,
|
||||||
import {findBySelectSup,findBySelectCus,findBySelectRetail,findBySelectOrgan,findStockByDepotAndBarCode,getAccount,
|
|
||||||
getPersonByType,findInOutItemByParam,getCurrentSystemConfig} from '@/api/api'
|
getPersonByType,findInOutItemByParam,getCurrentSystemConfig} from '@/api/api'
|
||||||
import { getAction,putAction } from '@/api/manage'
|
import { getAction } from '@/api/manage'
|
||||||
import { getCheckFlag, getNowFormatDateTime } from "@/utils/util"
|
import { getCheckFlag, getNowFormatDateTime } from "@/utils/util"
|
||||||
import { USER_INFO } from "@/store/mutation-types"
|
import { USER_INFO } from "@/store/mutation-types"
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
@@ -303,5 +302,19 @@ export const FinancialModalMixin = {
|
|||||||
this.billStatus = '1'
|
this.billStatus = '1'
|
||||||
this.handleOk()
|
this.handleOk()
|
||||||
},
|
},
|
||||||
|
//发起流程
|
||||||
|
handleWorkflow() {
|
||||||
|
if(this.model && this.model.billNo) {
|
||||||
|
getPlatformConfigByKey({ "platformKey": "send_workflow_url" }).then((res) => {
|
||||||
|
if (res && res.code === 200) {
|
||||||
|
let sendWorkflowUrl = res.data.platformValue + '?no=' + this.model.billNo + '&type=2'
|
||||||
|
this.$refs.modalWorkflow.show(this.model, sendWorkflowUrl, 320)
|
||||||
|
this.$refs.modalWorkflow.title = "发起流程"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请先保存单据后再提交流程!');
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -98,11 +100,13 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import PersonModal from '../../system/modules/PersonModal'
|
import PersonModal from '../../system/modules/PersonModal'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
||||||
@@ -113,6 +117,7 @@
|
|||||||
mixins: [JEditableTableMixin, FinancialModalMixin],
|
mixins: [JEditableTableMixin, FinancialModalMixin],
|
||||||
components: {
|
components: {
|
||||||
PersonModal,
|
PersonModal,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -102,12 +104,14 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import PersonModal from '../../system/modules/PersonModal'
|
import PersonModal from '../../system/modules/PersonModal'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
||||||
@@ -119,6 +123,7 @@
|
|||||||
components: {
|
components: {
|
||||||
AccountModal,
|
AccountModal,
|
||||||
PersonModal,
|
PersonModal,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -110,12 +112,14 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import PersonModal from '../../system/modules/PersonModal'
|
import PersonModal from '../../system/modules/PersonModal'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
||||||
@@ -127,6 +131,7 @@
|
|||||||
components: {
|
components: {
|
||||||
AccountModal,
|
AccountModal,
|
||||||
PersonModal,
|
PersonModal,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -110,12 +112,14 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import PersonModal from '../../system/modules/PersonModal'
|
import PersonModal from '../../system/modules/PersonModal'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
||||||
@@ -127,6 +131,7 @@
|
|||||||
components: {
|
components: {
|
||||||
AccountModal,
|
AccountModal,
|
||||||
PersonModal,
|
PersonModal,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -140,6 +142,7 @@
|
|||||||
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
<customer-modal ref="customerModalForm" @ok="customerModalFormOk"></customer-modal>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -148,6 +151,7 @@
|
|||||||
import CustomerModal from '../../system/modules/CustomerModal'
|
import CustomerModal from '../../system/modules/CustomerModal'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import PersonModal from '../../system/modules/PersonModal'
|
import PersonModal from '../../system/modules/PersonModal'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
||||||
@@ -161,6 +165,7 @@
|
|||||||
CustomerModal,
|
CustomerModal,
|
||||||
AccountModal,
|
AccountModal,
|
||||||
PersonModal,
|
PersonModal,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
|
<!--发起多级审核-->
|
||||||
|
<a-button v-if="!checkFlag" @click="handleWorkflow()" type="primary">提交流程</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
@@ -140,6 +142,7 @@
|
|||||||
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
<vendor-modal ref="vendorModalForm" @ok="vendorModalFormOk"></vendor-modal>
|
||||||
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
<account-modal ref="accountModalForm" @ok="accountModalFormOk"></account-modal>
|
||||||
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
<person-modal ref="personModalForm" @ok="personModalFormOk"></person-modal>
|
||||||
|
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
|
||||||
</j-modal>
|
</j-modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -148,6 +151,7 @@
|
|||||||
import VendorModal from '../../system/modules/VendorModal'
|
import VendorModal from '../../system/modules/VendorModal'
|
||||||
import AccountModal from '../../system/modules/AccountModal'
|
import AccountModal from '../../system/modules/AccountModal'
|
||||||
import PersonModal from '../../system/modules/PersonModal'
|
import PersonModal from '../../system/modules/PersonModal'
|
||||||
|
import WorkflowIframe from '@/components/tools/WorkflowIframe'
|
||||||
import { FormTypes } from '@/utils/JEditableTableUtil'
|
import { FormTypes } from '@/utils/JEditableTableUtil'
|
||||||
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
||||||
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
import { FinancialModalMixin } from '../mixins/FinancialModalMixin'
|
||||||
@@ -161,6 +165,7 @@
|
|||||||
VendorModal,
|
VendorModal,
|
||||||
AccountModal,
|
AccountModal,
|
||||||
PersonModal,
|
PersonModal,
|
||||||
|
WorkflowIframe,
|
||||||
JUpload,
|
JUpload,
|
||||||
JDate,
|
JDate,
|
||||||
VNodes: {
|
VNodes: {
|
||||||
|
|||||||
Reference in New Issue
Block a user