|
|
@@ -7,6 +7,11 @@
|
|
|
</el-button>
|
|
|
</div>
|
|
|
<div class="add-customer-btn">
|
|
|
+ <el-button size="small" style="margin-right: 8px" :disabled="!form.id" @click="$refs.print.openDialog()">预 览
|
|
|
+ </el-button>
|
|
|
+ <el-button v-if="roleName.indexOf('admin') != -1" size="small" style="margin-right: 8px" :disabled="!form.id"
|
|
|
+ @click="$refs.report.openDialog()">报表设计
|
|
|
+ </el-button>
|
|
|
<el-button class="el-button--small-yh" style="margin-left: 6px;" type="primary" size="small" v-if="editButton"
|
|
|
:disabled="showLock || !(roleName.indexOf('admin') != -1 || roleName.indexOf('允许修改他人业务') != -1 || saberUserInfo.user_id == form.createUser)"
|
|
|
@click="inEdit">编 辑
|
|
|
@@ -95,7 +100,7 @@
|
|
|
<!-- <el-link type="primary" :underline="false" @click.stop="openRtDialog">箱租金条款</el-link> -->
|
|
|
</template>
|
|
|
<template slot="boxNumber">
|
|
|
- <el-input-number v-model="form.boxNumber" :disabled="editDisabled || form.whetherEnable == '是'" :min="0"
|
|
|
+ <el-input-number v-model="form.boxNumber" :disabled="editDisabled || form.whetherEnable == '是'" :min="1"
|
|
|
:controls="false" placeholder="请输入 箱量" style="width: 100%;"></el-input-number>
|
|
|
</template>
|
|
|
</avue-form>
|
|
|
@@ -453,10 +458,10 @@
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
- <business-reports :id="form.id" :itemIds="itemIds" ref="print" businessValue="MYDL" :type="true"></business-reports>
|
|
|
- <business-reports :id="form.id" :itemIds="itemCIds" ref="printC" businessValue="MYDL" classifyCode="费用"
|
|
|
+ <business-reports :id="form.id" :itemIds="itemIds" ref="print" businessValue="OW-F" :type="true"></business-reports>
|
|
|
+ <business-reports :id="form.id" :itemIds="itemCIds" ref="printC" businessValue="OW-F" classifyCode="费用"
|
|
|
groupCode="应付" :selecList="selectionfeecList"></business-reports>
|
|
|
- <reports :id="form.id" :assemblyForm="form" businessValue="MYDL" ref="report"></reports>
|
|
|
+ <reports :id="form.id" :assemblyForm="form" businessValue="OW-F" ref="report"></reports>
|
|
|
<!--审核弹窗-->
|
|
|
<el-dialog append-to-body title="审批进度" class="el-dialogDeep" :visible.sync="checkScheduleDialog" width="40%"
|
|
|
:close-on-click-modal="false" :destroy-on-close="true" :close-on-press-escape="false" v-dialog-drag>
|
|
|
@@ -546,8 +551,8 @@ import {
|
|
|
} from "@/api/boxManagement/buyContainer";
|
|
|
import dicSelect from "@/components/dicSelect/main";
|
|
|
import checkSchedule from "@/components/checkH/checkSchedule.vue";
|
|
|
-import businessReports from "@/components/tradeAgency/businessReports.vue";
|
|
|
-import reports from "@/components/tradeAgency/reports.vue";
|
|
|
+import businessReports from "@/components/boxManagement/businessReports.vue";
|
|
|
+import reports from "@/components/boxManagement/reports.vue";
|
|
|
import { bcurrencyGetExrate } from "@/api/iosBasicData/rateManagement";
|
|
|
import { getToken } from "@/util/auth";
|
|
|
import _ from "lodash";
|