|
@@ -1,33 +1,13 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<basic-container v-show="isShow">
|
|
|
- <avue-crud
|
|
|
- :option="optionBack"
|
|
|
- :table-loading="loading"
|
|
|
- :data="data"
|
|
|
- :page.sync="page"
|
|
|
- id="out-table"
|
|
|
- :header-cell-class-name="headerClassName"
|
|
|
- :permission="permissionList"
|
|
|
- :before-open="beforeOpen"
|
|
|
- v-model="form"
|
|
|
- ref="crud"
|
|
|
- :search.sync="query"
|
|
|
- @row-update="rowUpdate"
|
|
|
- @row-save="rowSave"
|
|
|
- @row-del="rowDel"
|
|
|
- @search-change="searchChange"
|
|
|
- @search-reset="searchReset"
|
|
|
- @selection-change="selectionChange"
|
|
|
- @current-change="currentChange"
|
|
|
- @size-change="sizeChange"
|
|
|
- @refresh-change="refreshChange"
|
|
|
- @on-load="onLoad"
|
|
|
- @expand-change="expandChange"
|
|
|
- :row-style="rowStyle"
|
|
|
- @resetColumn="resetColumnTwo('crud', 309)"
|
|
|
- @saveColumn="saveColumnTwo('crud', optionBack, 309)"
|
|
|
- >
|
|
|
+ <avue-crud :option="optionBack" :table-loading="loading" :data="data" :page.sync="page" id="out-table"
|
|
|
+ :header-cell-class-name="headerClassName" :permission="permissionList" :before-open="beforeOpen"
|
|
|
+ v-model="form" ref="crud" :search.sync="query" @row-update="rowUpdate" @row-save="rowSave"
|
|
|
+ @row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
|
|
|
+ @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
|
|
|
+ @refresh-change="refreshChange" @on-load="onLoad" @expand-change="expandChange" :row-style="rowStyle"
|
|
|
+ @resetColumn="resetColumnTwo('crud', 309)" @saveColumn="saveColumnTwo('crud', optionBack, 309)">
|
|
|
<template slot-scope="{ disabled, size }" slot="billSortSearch">
|
|
|
<el-radio-group v-model="query.billSort">
|
|
|
<el-radio label="1">ETD</el-radio>
|
|
@@ -330,111 +310,50 @@
|
|
|
<!--#endregion-->
|
|
|
|
|
|
<template slot="menuLeft">
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- @click="addbtnfun('DD')"
|
|
|
- >新建直单
|
|
|
+ <el-button type="primary" size="small" @click="addbtnfun('DD')">新建直单
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="success"
|
|
|
- size="small"
|
|
|
- @click="addbtnfun('MM')"
|
|
|
- >新建主单
|
|
|
+ <el-button type="success" size="small" @click="addbtnfun('MM')">新建主单
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="warning"
|
|
|
- size="small"
|
|
|
- @click="addbtnfun('MH')"
|
|
|
- >新建分单
|
|
|
+ <el-button type="warning" size="small" @click="addbtnfun('MH')">新建分单
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- plain
|
|
|
- @click="CopyDocumentsfun"
|
|
|
- >复制单据
|
|
|
+ <el-button type="primary" size="small" plain @click="CopyDocumentsfun">复制单据
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="success"
|
|
|
- size="small"
|
|
|
- plain
|
|
|
- @click="increaseMawb"
|
|
|
- >分单->主单
|
|
|
+ <el-button type="success" size="small" plain @click="increaseMawb">分单->主单
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="warning"
|
|
|
- size="small"
|
|
|
- plain
|
|
|
- v-if="query.billStatus == 0"
|
|
|
- @click="Disembarkingfun"
|
|
|
- >退 舱
|
|
|
+ <el-button type="warning" size="small" plain v-if="query.billStatus == 0" @click="Disembarkingfun">退
|
|
|
+ 舱
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- plain
|
|
|
- v-if="query.billStatus == 1"
|
|
|
- @click="revokeWithdrawalfun"
|
|
|
- >撤销退舱
|
|
|
+ <el-button type="primary" size="small" plain v-if="query.billStatus == 1"
|
|
|
+ @click="revokeWithdrawalfun">撤销退舱
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- type="danger"
|
|
|
- size="small"
|
|
|
- plain
|
|
|
- v-if="query.billStatus != 3"
|
|
|
- @click="handleDelete"
|
|
|
- >删 除
|
|
|
+ <el-button type="danger" size="small" plain v-if="query.billStatus != 3" @click="handleDelete">删 除
|
|
|
</el-button>
|
|
|
- <el-button type="warning" size="small" @click="outExport"
|
|
|
- >导 出
|
|
|
+ <el-button type="warning" size="small" @click="outExport">导 出
|
|
|
</el-button>
|
|
|
<el-dropdown style="line-height: 0">
|
|
|
- <el-button
|
|
|
- size="small"
|
|
|
- type="success"
|
|
|
- style="margin-right: 8px"
|
|
|
- :disabled="selectionList.length == 0"
|
|
|
- >
|
|
|
- 发送 SO EDI<i
|
|
|
- class="el-icon-arrow-down el-icon--right"
|
|
|
- ></i>
|
|
|
+ <el-button size="small" type="success" style="margin-right: 8px"
|
|
|
+ :disabled="selectionList.length == 0">
|
|
|
+ 发送 SO EDI<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
</el-button>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
- <el-dropdown-item
|
|
|
- v-for="item in ediData_SO"
|
|
|
- :key="item.id"
|
|
|
- @click.native="editypesSendingEdifun(item)"
|
|
|
- >{{ item.cnName }}
|
|
|
+ <el-dropdown-item v-for="item in ediData_SO" :key="item.id"
|
|
|
+ @click.native="editypesSendingEdifun(item)">{{ item.cnName }}
|
|
|
</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
<el-dropdown style="line-height: 0">
|
|
|
- <el-button
|
|
|
- size="small"
|
|
|
- type="success"
|
|
|
- style="margin-right: 8px"
|
|
|
- :disabled="selectionList.length == 0"
|
|
|
- >
|
|
|
- 发送 SI EDI<i
|
|
|
- class="el-icon-arrow-down el-icon--right"
|
|
|
- ></i>
|
|
|
+ <el-button size="small" type="success" style="margin-right: 8px"
|
|
|
+ :disabled="selectionList.length == 0">
|
|
|
+ 发送 SI EDI<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
</el-button>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
- <el-dropdown-item
|
|
|
- v-for="item in ediData_SI"
|
|
|
- :key="item.id"
|
|
|
- @click.native="editypesSendingEdifun(item)"
|
|
|
- >{{ item.cnName }}
|
|
|
+ <el-dropdown-item v-for="item in ediData_SI" :key="item.id"
|
|
|
+ @click.native="editypesSendingEdifun(item)">{{ item.cnName }}
|
|
|
</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
<div style="margin-top: 10px">
|
|
|
- <el-tabs
|
|
|
- type="card"
|
|
|
- v-model="query.billStatus"
|
|
|
- @tab-click="handleClick"
|
|
|
- >
|
|
|
+ <el-tabs type="card" v-model="query.billStatus" @tab-click="handleClick">
|
|
|
<el-tab-pane label="接单" name="0">
|
|
|
<span slot="label">接单</span>
|
|
|
</el-tab-pane>
|
|
@@ -469,46 +388,30 @@
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="menu">
|
|
|
<!--:disabled="saberUserInfo.role_name.indexOf('允许修改他人业务') == -1?saberUserInfo.user_id != scope.row.createUser:false"-->
|
|
|
- <el-button
|
|
|
- :type="scope.type"
|
|
|
- :size="scope.size"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click.stop="rowCellfun(scope.row.id, scope.row)"
|
|
|
- >编辑
|
|
|
+ <el-button :type="scope.type" :size="scope.size" icon="el-icon-edit"
|
|
|
+ @click.stop="rowCellfun(scope.row.id, scope.row)">编辑
|
|
|
</el-button>
|
|
|
</template>
|
|
|
|
|
|
<template slot="expand" slot-scope="{ row }">
|
|
|
- <SplitList
|
|
|
- :typeMenu="true"
|
|
|
- :data="row.billsListAllData"
|
|
|
- :loading="SplitLoading"
|
|
|
- @corpfun="rowCellfun"
|
|
|
- >
|
|
|
+ <SplitList :typeMenu="true" :data="row.billsListAllData" :loading="SplitLoading"
|
|
|
+ @corpfun="rowCellfun">
|
|
|
</SplitList>
|
|
|
</template>
|
|
|
<temolate slot="billStatus" slot-scope="{ row }">
|
|
|
<div>
|
|
|
- <span
|
|
|
- v-if="row.billStatus == item.dictKey"
|
|
|
- v-for="(item, index) in billStatusData"
|
|
|
- :key="index"
|
|
|
+ <span v-if="row.billStatus == item.dictKey" v-for="(item, index) in billStatusData" :key="index"
|
|
|
:style="{ 'background-color': item.colour }"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;"
|
|
|
- >
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;">
|
|
|
{{ item.dictValue }}
|
|
|
</span>
|
|
|
</div>
|
|
|
</temolate>
|
|
|
<template slot="accountStatus" slot-scope="{ row }">
|
|
|
<div>
|
|
|
- <span
|
|
|
- v-if="row.accountStatus == item.dictKey"
|
|
|
- v-for="(item, index) in accountStatusData"
|
|
|
- :key="index"
|
|
|
- :style="{ 'background-color': item.colour }"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;"
|
|
|
- >
|
|
|
+ <span v-if="row.accountStatus == item.dictKey" v-for="(item, index) in accountStatusData"
|
|
|
+ :key="index" :style="{ 'background-color': item.colour }"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;">
|
|
|
{{ item.dictValue }}
|
|
|
</span>
|
|
|
</div>
|
|
@@ -525,23 +428,21 @@
|
|
|
<template slot="corpCnName" slot-scope="scope">
|
|
|
<span
|
|
|
style="color: #1e9fff;cursor: pointer;width: 100%;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;"
|
|
|
- @click.stop="rowCellfun(scope.row.id, scope.row)"
|
|
|
- >
|
|
|
+ @click.stop="rowCellfun(scope.row.id, scope.row)">
|
|
|
{{ scope.row.shortName }}
|
|
|
</span>
|
|
|
</template>
|
|
|
<template slot="billNo" slot-scope="scope">
|
|
|
<span
|
|
|
style="color: #1e9fff;cursor: pointer;width: 100%;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;"
|
|
|
- @click.stop="rowCellfun(scope.row.id, scope.row)"
|
|
|
- >
|
|
|
+ @click.stop="rowCellfun(scope.row.id, scope.row)">
|
|
|
{{ scope.row.billNo }}
|
|
|
</span>
|
|
|
</template>
|
|
|
<template slot="eta" slot-scope="scope">
|
|
|
<span>{{
|
|
|
scope.row.eta ? scope.row.eta.slice(0, 10) : ""
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</template>
|
|
|
<template slot="updateTime" slot-scope="scope">
|
|
|
<span>{{
|
|
@@ -552,132 +453,96 @@
|
|
|
</template>
|
|
|
<template slot="checkDrStatusDescr" slot-scope="{ row }">
|
|
|
<div>
|
|
|
- <span
|
|
|
- v-if="row.checkDrStatusDescr == '未对账'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;"
|
|
|
- >
|
|
|
+ <span v-if="row.checkDrStatusDescr == '未对账'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;">
|
|
|
未对账
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.checkDrStatusDescr == '已对账'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;"
|
|
|
- >
|
|
|
+ <span v-if="row.checkDrStatusDescr == '已对账'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;">
|
|
|
已对账
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.checkDrStatusDescr == '部分对账'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;"
|
|
|
- >
|
|
|
+ <span v-if="row.checkDrStatusDescr == '部分对账'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;">
|
|
|
部分对账
|
|
|
</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template slot="stlDrStatusDescr" slot-scope="{ row }">
|
|
|
<div>
|
|
|
- <span
|
|
|
- v-if="row.stlDrStatusDescr == '未结'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlDrStatusDescr == '未结'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;">
|
|
|
未结
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.stlDrStatusDescr == '已结'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlDrStatusDescr == '已结'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;">
|
|
|
已结
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.stlDrStatusDescr == '部分结'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlDrStatusDescr == '部分结'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;">
|
|
|
部分结
|
|
|
</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template slot="stlCrStatusDescr" slot-scope="{ row }">
|
|
|
<div>
|
|
|
- <span
|
|
|
- v-if="row.stlCrStatusDescr == '未结'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlCrStatusDescr == '未结'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;">
|
|
|
未结
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.stlCrStatusDescr == '结清'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlCrStatusDescr == '结清'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;">
|
|
|
结清
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.stlCrStatusDescr == '部分'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlCrStatusDescr == '部分'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;">
|
|
|
部分
|
|
|
</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template slot="stlCrStatusDescr" slot-scope="{ row }">
|
|
|
<div>
|
|
|
- <span
|
|
|
- v-if="row.stlCrStatusDescr == '未结'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlCrStatusDescr == '未结'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;">
|
|
|
未结
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.stlCrStatusDescr == '结清'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlCrStatusDescr == '结清'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;">
|
|
|
结清
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.stlCrStatusDescr == '部分'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;"
|
|
|
- >
|
|
|
+ <span v-if="row.stlCrStatusDescr == '部分'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;">
|
|
|
部分
|
|
|
</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template slot="invoiceDrStatusDescr" slot-scope="{ row }">
|
|
|
<div>
|
|
|
- <span
|
|
|
- v-if="row.invoiceDrStatusDescr == '未开'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;"
|
|
|
- >
|
|
|
+ <span v-if="row.invoiceDrStatusDescr == '未开'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;">
|
|
|
未开
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.invoiceDrStatusDescr == '部分'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;"
|
|
|
- >
|
|
|
+ <span v-if="row.invoiceDrStatusDescr == '部分'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;">
|
|
|
部分
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.invoiceDrStatusDescr == '全开'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;"
|
|
|
- >
|
|
|
+ <span v-if="row.invoiceDrStatusDescr == '全开'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;">
|
|
|
全开
|
|
|
</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template slot="checkCrStatusDescr" slot-scope="{ row }">
|
|
|
<div>
|
|
|
- <span
|
|
|
- v-if="row.checkCrStatusDescr == '未申请'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;"
|
|
|
- >
|
|
|
+ <span v-if="row.checkCrStatusDescr == '未申请'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #67C23A;">
|
|
|
未申请
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.checkCrStatusDescr == '部分申请'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;"
|
|
|
- >
|
|
|
+ <span v-if="row.checkCrStatusDescr == '部分申请'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #409EFF;">
|
|
|
部分申请
|
|
|
</span>
|
|
|
- <span
|
|
|
- v-if="row.checkCrStatusDescr == '已申请'"
|
|
|
- style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;"
|
|
|
- >
|
|
|
+ <span v-if="row.checkCrStatusDescr == '已申请'"
|
|
|
+ style="color: #fff;border-radius: 30px;padding: 2px 15px;text-align: center;background-color: #F56C6C;">
|
|
|
已申请
|
|
|
</span>
|
|
|
</div>
|
|
@@ -685,58 +550,26 @@
|
|
|
</avue-crud>
|
|
|
</basic-container>
|
|
|
|
|
|
- <bills-details
|
|
|
- ref="billsDetails"
|
|
|
- v-if="!isShow"
|
|
|
- :detailData="detailData"
|
|
|
- @goBack="goBack"
|
|
|
- @toAddEdit="toAddEdit"
|
|
|
- :key="datekey"
|
|
|
- ></bills-details>
|
|
|
+ <bills-details ref="billsDetails" v-if="!isShow" :detailData="detailData" @goBack="goBack"
|
|
|
+ @toAddEdit="toAddEdit" :key="datekey"></bills-details>
|
|
|
|
|
|
- <el-dialog
|
|
|
- title="主单列表"
|
|
|
- :visible.sync="dialogVisible"
|
|
|
- append-to-body
|
|
|
- width="60%"
|
|
|
- :before-close="handleClose"
|
|
|
- >
|
|
|
- <avue-crud
|
|
|
- :option="mawbOptionBack"
|
|
|
- :table-loading="mawbloading"
|
|
|
- :data="mawbData"
|
|
|
- :page.sync="mawbPage"
|
|
|
- :search="mawbQuery"
|
|
|
- ref="mawbOptionCrud"
|
|
|
- id="out-table"
|
|
|
- :header-cell-class-name="headerClassName"
|
|
|
- @search-change="mawbSearch"
|
|
|
- @size-change="mawbSizeChange"
|
|
|
- @current-change="mawbCurrentChange"
|
|
|
- @resetColumn="resetColumnTwo('mawbOptionCrud', 309.7)"
|
|
|
- @saveColumn="
|
|
|
+ <el-dialog title="主单列表" :visible.sync="dialogVisible" append-to-body width="60%" :before-close="handleClose">
|
|
|
+ <avue-crud :option="mawbOptionBack" :table-loading="mawbloading" :data="mawbData" :page.sync="mawbPage"
|
|
|
+ :search="mawbQuery" ref="mawbOptionCrud" id="out-table" :header-cell-class-name="headerClassName"
|
|
|
+ @search-change="mawbSearch" @size-change="mawbSizeChange" @current-change="mawbCurrentChange"
|
|
|
+ @resetColumn="resetColumnTwo('mawbOptionCrud', 309.7)" @saveColumn="
|
|
|
saveColumnTwo('mawbOptionCrud', mawbOptionBack, 309.7)
|
|
|
- "
|
|
|
- >
|
|
|
+ ">
|
|
|
<template slot="radio" slot-scope="{ row }">
|
|
|
- <el-radio
|
|
|
- v-model="dialogRadio"
|
|
|
- :label="row.id"
|
|
|
- @input="radioInput(row)"
|
|
|
- ></el-radio>
|
|
|
+ <el-radio v-model="dialogRadio" :label="row.id" @input="radioInput(row)"></el-radio>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button
|
|
|
- @click="
|
|
|
- dialogVisible = false;
|
|
|
- dialogRadio = null;
|
|
|
- "
|
|
|
- >取 消</el-button
|
|
|
- >
|
|
|
- <el-button type="primary" @click="AddToMainOrder"
|
|
|
- >确 定</el-button
|
|
|
- >
|
|
|
+ <el-button @click="
|
|
|
+ dialogVisible = false;
|
|
|
+ dialogRadio = null;
|
|
|
+ ">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="AddToMainOrder">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -1864,7 +1697,7 @@ export default {
|
|
|
this.statusWorkDictsfun(); // 业务审核类型
|
|
|
this.editypesListfun(); // edi 数据获取
|
|
|
},
|
|
|
- mounted() {},
|
|
|
+ mounted() { },
|
|
|
activated() {
|
|
|
if (this.$route.query.id) {
|
|
|
if (!this.$store.getters.seaFEStatus) {
|
|
@@ -2119,8 +1952,8 @@ export default {
|
|
|
if (
|
|
|
this.saberUserInfo.role_name.indexOf("admin") != -1
|
|
|
? this.saberUserInfo.role_name.indexOf(
|
|
|
- "允许修改他人业务"
|
|
|
- ) != -1
|
|
|
+ "允许修改他人业务"
|
|
|
+ ) != -1
|
|
|
: false
|
|
|
)
|
|
|
return false;
|
|
@@ -2138,7 +1971,7 @@ export default {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
- }).catch(err => {});
|
|
|
+ }).catch(err => { });
|
|
|
return true;
|
|
|
}
|
|
|
},
|
|
@@ -2308,8 +2141,8 @@ export default {
|
|
|
if (
|
|
|
this.saberUserInfo.role_name.indexOf("admin") == -1
|
|
|
? this.saberUserInfo.role_name.indexOf(
|
|
|
- "允许修改他人业务"
|
|
|
- ) == -1
|
|
|
+ "允许修改他人业务"
|
|
|
+ ) == -1
|
|
|
? this.saberUserInfo.user_id == row.createUser
|
|
|
: true
|
|
|
: true
|