|
@@ -13,7 +13,7 @@
|
|
<el-button class="el-button--small-yh" style="margin-right: 10px" type="primary" size="small" :disabled="form.status>0"
|
|
<el-button class="el-button--small-yh" style="margin-right: 10px" type="primary" size="small" :disabled="form.status>0"
|
|
@click="confirmEdit" v-if="optionForm.disabled === true">编辑
|
|
@click="confirmEdit" v-if="optionForm.disabled === true">编辑
|
|
</el-button>
|
|
</el-button>
|
|
- <el-dropdown style="margin-right: 10px" v-if="false">
|
|
|
|
|
|
+ <el-dropdown style="margin-right: 10px">
|
|
<el-button type="primary" size="small">
|
|
<el-button type="primary" size="small">
|
|
审核处理<i class="el-icon-arrow-down el-icon--right"></i>
|
|
审核处理<i class="el-icon-arrow-down el-icon--right"></i>
|
|
</el-button>
|
|
</el-button>
|
|
@@ -21,7 +21,8 @@
|
|
<el-dropdown-item @click.native="pleaseCheck" :disabled="form.status>0">请核数据</el-dropdown-item>
|
|
<el-dropdown-item @click.native="pleaseCheck" :disabled="form.status>0">请核数据</el-dropdown-item>
|
|
<el-dropdown-item @click.native="checkScheduleDialog = true,checkId = form.id">审核进度</el-dropdown-item>
|
|
<el-dropdown-item @click.native="checkScheduleDialog = true,checkId = form.id">审核进度</el-dropdown-item>
|
|
<el-dropdown-item @click.native="repealCancel" :disabled="form.status === 0 || !form.status" v-if="!detailData.id">撤销请核</el-dropdown-item>
|
|
<el-dropdown-item @click.native="repealCancel" :disabled="form.status === 0 || !form.status" v-if="!detailData.id">撤销请核</el-dropdown-item>
|
|
- <!-- <el-dropdown-item @click.native="changeApproveOpen">特殊审批</el-dropdown-item>-->
|
|
|
|
|
|
+ <el-dropdown-item @click.native="checkDialog = true,checkData = detailData.check;" v-if="detailData.id">特殊审批
|
|
|
|
+ </el-dropdown-item>
|
|
</el-dropdown-menu>
|
|
</el-dropdown-menu>
|
|
</el-dropdown>
|
|
</el-dropdown>
|
|
<el-button class="el-button--small-yh" type="primary" size="small" :disabled="form.status>0"
|
|
<el-button class="el-button--small-yh" type="primary" size="small" :disabled="form.status>0"
|
|
@@ -190,6 +191,11 @@
|
|
@choceScheduleFun="choceScheduleFun"
|
|
@choceScheduleFun="choceScheduleFun"
|
|
></check-schedule>
|
|
></check-schedule>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog append-to-body title="审批" class="el-dialogDeep" :visible.sync="checkDialog" width="50%"
|
|
|
|
+ :close-on-click-modal="false" :destroy-on-close="true" :close-on-press-escape="false" v-dialog-drag>
|
|
|
|
+ <check :checkData="checkData" :checkDetail="false" :idList="[]" @choceCheckFun="choceCheckFun">
|
|
|
|
+ </check>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -212,6 +218,7 @@ import {getToken} from "@/util/auth";
|
|
import {dateFormat, defaultDate} from "@/util/date";
|
|
import {dateFormat, defaultDate} from "@/util/date";
|
|
import reportDialog from "@/components/report-dialog/main.vue";
|
|
import reportDialog from "@/components/report-dialog/main.vue";
|
|
import {generateStack} from "@/api/boxManagement/exportShipment";
|
|
import {generateStack} from "@/api/boxManagement/exportShipment";
|
|
|
|
+import check from "@/components/check/check.vue";
|
|
export default {
|
|
export default {
|
|
name: "detailsPage",
|
|
name: "detailsPage",
|
|
props: {
|
|
props: {
|
|
@@ -219,10 +226,12 @@ export default {
|
|
detailData: Object
|
|
detailData: Object
|
|
},
|
|
},
|
|
components:{
|
|
components:{
|
|
- checkSchedule,reportDialog
|
|
|
|
|
|
+ checkSchedule,reportDialog,check
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ checkData: {},
|
|
|
|
+ checkDialog: false,
|
|
switchDialog:false,
|
|
switchDialog:false,
|
|
excelOption: {
|
|
excelOption: {
|
|
submitBtn: false,
|
|
submitBtn: false,
|
|
@@ -797,6 +806,10 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ //关闭审核
|
|
|
|
+ choceCheckFun() {
|
|
|
|
+ this.checkDialog = false;
|
|
|
|
+ },
|
|
//堆存
|
|
//堆存
|
|
stockpiling() {
|
|
stockpiling() {
|
|
this.title = "堆存"
|
|
this.title = "堆存"
|
|
@@ -1092,8 +1105,8 @@ export default {
|
|
}).then(() => {
|
|
}).then(() => {
|
|
const data = {
|
|
const data = {
|
|
id : this.form.id,
|
|
id : this.form.id,
|
|
- pageLabel:"买箱",
|
|
|
|
- checkFlag: 1,
|
|
|
|
|
|
+ pageLabel:"租入",
|
|
|
|
+ checkFlag: 3,
|
|
}
|
|
}
|
|
const loading = this.$loading({
|
|
const loading = this.$loading({
|
|
lock: true,
|
|
lock: true,
|
|
@@ -1148,10 +1161,10 @@ export default {
|
|
submit(data).then(res => {
|
|
submit(data).then(res => {
|
|
const data = {
|
|
const data = {
|
|
id: res.data.data.id,
|
|
id: res.data.data.id,
|
|
- url: '/boxManagement/buyContainer/index',
|
|
|
|
|
|
+ url: '/boxManagement/leaseIn/index',
|
|
pageStatus: "this.$store.getters.domSaleStatus",
|
|
pageStatus: "this.$store.getters.domSaleStatus",
|
|
- pageLabel: "买箱",
|
|
|
|
- checkFlag: 1,
|
|
|
|
|
|
+ pageLabel: "租入",
|
|
|
|
+ checkFlag: 3,
|
|
}
|
|
}
|
|
pleaseCheck({
|
|
pleaseCheck({
|
|
...data,
|
|
...data,
|