把多级审核的提交流程按钮移到编辑界面

This commit is contained in:
季圣华
2023-05-04 23:08:54 +08:00
parent 923cc423de
commit 6e69c7828f
23 changed files with 129 additions and 36 deletions

View File

@@ -38,8 +38,6 @@
<!--反审核-->
<a-button v-if="checkFlag && isCanBackCheck && model.status==='1'" @click="handleBackCheck()">反审核</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>
<a-form :form="form">
<!--零售出库-->
@@ -1003,7 +1001,6 @@
</template>
</a-form>
<bill-print-iframe ref="modalDetail"></bill-print-iframe>
<workflow-iframe ref="modalWorkflow"></workflow-iframe>
<financial-detail ref="financialDetailModal"></financial-detail>
</j-modal>
</template>
@@ -1014,7 +1011,6 @@
import { findBillDetailByNumber, findFinancialDetailByNumber, getPlatformConfigByKey, getCurrentSystemConfig} from '@/api/api'
import { getMpListShort, getCheckFlag, openDownloadDialog, sheet2blob } from "@/utils/util"
import BillPrintIframe from './BillPrintIframe'
import WorkflowIframe from '@/components/tools/WorkflowIframe'
import FinancialDetail from '../../financial/dialog/FinancialDetail'
import JUpload from '@/components/jeecg/JUpload'
import Vue from 'vue'
@@ -1022,7 +1018,6 @@
name: 'BillDetail',
components: {
BillPrintIframe,
WorkflowIframe,
FinancialDetail,
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() {
let aoa = []