|
|
|
@ -3,20 +3,26 @@
|
|
|
|
|
<el-form :model="formData" ref="dataForm" label-width="100px">
|
|
|
|
|
<el-row type="flex" justify="end">
|
|
|
|
|
<el-button-group style="display: flex;margin-bottom: 15px; margin-right: 50px;margin-top: -5px">
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="primary"-->
|
|
|
|
|
<!-- @click.native="saveOrder('3')"-->
|
|
|
|
|
<!-- :loading="loading"-->
|
|
|
|
|
<!-- >审核通过-->
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="primary"-->
|
|
|
|
|
<!-- @click.native="saveOrder('4')"-->
|
|
|
|
|
<!-- :loading="loading"-->
|
|
|
|
|
<!-- >审核拒绝-->
|
|
|
|
|
<!-- </el-button-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click.native="saveOrder('3')"
|
|
|
|
|
:loading="loading"
|
|
|
|
|
>审核通过
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
@click.native="saveOrder('4')"
|
|
|
|
|
:loading="loading"
|
|
|
|
|
>审核拒绝
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
@click.native="showApprovalFlowDetail()"
|
|
|
|
|
>审核过程
|
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
|
|
</el-button-group>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-card style="margin-top: -5px;">
|
|
|
|
@ -80,10 +86,30 @@
|
|
|
|
|
</el-table>
|
|
|
|
|
</el-card>
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="审批详情"
|
|
|
|
|
:visible.sync="approvalFlowDetailVisible"
|
|
|
|
|
width="80%"
|
|
|
|
|
v-if="approvalFlowDetailVisible"
|
|
|
|
|
@close='closeDialog'
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
:before-close="handleClose"
|
|
|
|
|
>
|
|
|
|
|
<approvalFlowDetail
|
|
|
|
|
:isChang="true"
|
|
|
|
|
:closeDialog="closeDialog"
|
|
|
|
|
:idQuery="idQuery"
|
|
|
|
|
></approvalFlowDetail>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import approvalFlowDetail from "@/components/ApprovalFlow/index";
|
|
|
|
|
import dialogInvProduct from "../DialogSelectInvProduct";
|
|
|
|
|
import {getAudit, getOrderDetail} from "@/api/inout/receiveOrder";
|
|
|
|
|
|
|
|
|
@ -104,11 +130,14 @@ export default {
|
|
|
|
|
billNo: null,
|
|
|
|
|
createTime: "",
|
|
|
|
|
billType: "",
|
|
|
|
|
approvalFlowId: ""
|
|
|
|
|
},
|
|
|
|
|
codeArray: [],
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
idQuery: {},
|
|
|
|
|
approvalFlowDetailVisible: false,
|
|
|
|
|
showSearch: true,
|
|
|
|
|
code: "",
|
|
|
|
|
query: {
|
|
|
|
@ -119,9 +148,19 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
|
dialogInvProduct
|
|
|
|
|
dialogInvProduct,approvalFlowDetail
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
closeDialog() {
|
|
|
|
|
this.approvalFlowDetailVisible = false;
|
|
|
|
|
},
|
|
|
|
|
handleClose() {
|
|
|
|
|
this.approvalFlowDetailVisible = false;
|
|
|
|
|
},
|
|
|
|
|
showApprovalFlowDetail() {
|
|
|
|
|
this.idQuery = this.formData
|
|
|
|
|
this.approvalFlowDetailVisible = true;
|
|
|
|
|
},
|
|
|
|
|
hideSearch() {
|
|
|
|
|
this.showSearch = !this.showSearch;
|
|
|
|
|
},
|
|
|
|
|