You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
577 lines
20 KiB
577 lines
20 KiB
2 years ago
|
<template>
|
||
|
<basic-container>
|
||
|
<!-- <div class="avue-crud">-->
|
||
|
<!-- <el-row :hidden="!search" style="padding:6px 18px">-->
|
||
|
<!-- <!– 查询模块 –>-->
|
||
|
<!-- <el-form :inline="true" :model="query">-->
|
||
|
<!-- <el-form-item label="提货证件:">-->
|
||
|
<!-- <el-input v-model="query.deliveryDocument" placeholder="请输入提货证件"></el-input>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- <el-form-item label="证件类型:">-->
|
||
|
<!-- <el-input v-model="query.certificateType" placeholder="请输入证件类型"></el-input>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- <!– 查询按钮 –>-->
|
||
|
<!-- <el-form-item>-->
|
||
|
<!-- <el-button type="primary" icon="el-icon-search" @click="searchChange">搜 索</el-button>-->
|
||
|
<!-- <el-button icon="el-icon-delete" @click="searchReset()">清 空</el-button>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- </el-form>-->
|
||
|
<!-- </el-row>-->
|
||
|
<!-- <el-row>-->
|
||
|
<!-- <div class="avue-crud__header">-->
|
||
|
<!-- <!– 头部左侧按钮模块 –>-->
|
||
|
<!-- <div class="avue-crud__left">-->
|
||
|
<!-- <el-button type="primary" icon="el-icon-plus" @click="handleAdd">新 增</el-button>-->
|
||
|
<!-- <el-button type="danger" icon="el-icon-delete" @click="handleDelete" plain>删 除</el-button>-->
|
||
|
<!-- </div>-->
|
||
|
<!-- <!– 头部右侧按钮模块 –>-->
|
||
|
<!-- <div class="avue-crud__right">-->
|
||
|
<!-- <el-button icon="el-icon-refresh" @click="searchChange" circle></el-button>-->
|
||
|
<!-- <el-button icon="el-icon-search" @click="searchHide" circle></el-button>-->
|
||
|
<!-- </div>-->
|
||
|
<!-- </div>-->
|
||
|
<!-- </el-row>-->
|
||
|
<!-- <el-row>-->
|
||
|
<!-- <!– 列表模块 –>-->
|
||
|
<!-- <el-table ref="table" v-loading="loading"-->
|
||
|
<!-- @selection-change="selectionChange"-->
|
||
|
<!-- :data="data"-->
|
||
|
<!-- :height="height"-->
|
||
|
<!-- style="width: 100%"-->
|
||
|
<!-- :border="option.border">-->
|
||
|
<!-- <el-table-column type="selection" v-if="option.selection" width="55" align="center"></el-table-column>-->
|
||
|
<!-- <el-table-column type="expand" v-if="option.expand" align="center"></el-table-column>-->
|
||
|
<!-- <el-table-column v-if="option.index" label="#" type="index" width="50" align="center">-->
|
||
|
<!-- </el-table-column>-->
|
||
|
<!-- <template v-for="(item,index) in option.column">-->
|
||
|
<!-- <!– table字段 –>-->
|
||
|
<!-- <el-table-column v-if="item.hide!==true"-->
|
||
|
<!-- :prop="item.prop"-->
|
||
|
<!-- :label="item.label"-->
|
||
|
<!-- :width="item.width"-->
|
||
|
<!-- :key="index">-->
|
||
|
<!-- </el-table-column>-->
|
||
|
<!-- </template>-->
|
||
|
<!-- <!– 操作栏模块 –>-->
|
||
|
<!-- <el-table-column prop="menu" label="操作" :width="220" align="center">-->
|
||
|
<!-- <template #="{row}">-->
|
||
|
<!-- <el-button type="primary" text icon="el-icon-view" @click="handleView(row)">查看</el-button>-->
|
||
|
<!-- <el-button type="primary" text icon="el-icon-edit" @click="handleEdit(row)">编辑</el-button>-->
|
||
|
<!-- <el-button type="primary" text icon="el-icon-delete" @click="rowDel(row)">删除</el-button>-->
|
||
|
<!-- </template>-->
|
||
|
<!-- </el-table-column>-->
|
||
|
<!-- </el-table>-->
|
||
|
<!-- </el-row>-->
|
||
|
<!-- <el-row>-->
|
||
|
<!-- <div class="avue-crud__pagination" style="width:100%">-->
|
||
|
<!-- <!– 分页模块 –>-->
|
||
|
<!-- <el-pagination align="right"-->
|
||
|
<!-- background-->
|
||
|
<!-- @size-change="sizeChange"-->
|
||
|
<!-- @current-change="currentChange"-->
|
||
|
<!-- :current-page="page.currentPage"-->
|
||
|
<!-- :page-sizes="[10, 20, 30, 40, 50, 100]"-->
|
||
|
<!-- :page-size="page.pageSize"-->
|
||
|
<!-- layout="total, sizes, prev, pager, next, jumper"-->
|
||
|
<!-- :total="page.total">-->
|
||
|
<!-- </el-pagination>-->
|
||
|
<!-- </div>-->
|
||
|
<!-- </el-row>-->
|
||
|
<!-- <!– 表单模块 –>-->
|
||
|
<!-- <el-dialog :title="title"-->
|
||
|
<!-- v-model="box"-->
|
||
|
<!-- width="50%"-->
|
||
|
<!-- :before-close="beforeClose"-->
|
||
|
<!-- append-to-body>-->
|
||
|
<!-- <el-form :disabled="view" ref="form" :model="form" label-width="80px">-->
|
||
|
<!-- <!– 表单字段 –>-->
|
||
|
<!-- <el-form-item label="提货时间" prop="pickUpTime">-->
|
||
|
<!-- <el-input v-model="form.pickUpTime" placeholder="请输入提货时间"/>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- <el-form-item label="提货人" prop="consignee">-->
|
||
|
<!-- <el-input v-model="form.consignee" placeholder="请输入提货人"/>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- <el-form-item label="提货车牌" prop="pickUpPlate">-->
|
||
|
<!-- <el-input v-model="form.pickUpPlate" placeholder="请输入提货车牌"/>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- <el-form-item label="提货证件" prop="deliveryDocument">-->
|
||
|
<!-- <el-input v-model="form.deliveryDocument" placeholder="请输入提货证件"/>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- <el-form-item label="证件类型" prop="certificateType">-->
|
||
|
<!-- <el-select v-model="form.certificateType" clearable placeholder="请选择证件类型">-->
|
||
|
<!-- <el-option-->
|
||
|
<!-- v-for="item in certificateTypeData"-->
|
||
|
<!-- :key="item.dictKey"-->
|
||
|
<!-- :label="item.dictValue"-->
|
||
|
<!-- :value="item.dictKey">-->
|
||
|
<!-- </el-option>-->
|
||
|
<!-- </el-select>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- <el-form-item label="费用合计" prop="totalCost">-->
|
||
|
<!-- <el-input v-model="form.totalCost" placeholder="请输入费用合计"/>-->
|
||
|
<!-- </el-form-item>-->
|
||
|
<!-- </el-form>-->
|
||
|
<!-- <!– 表单按钮 –>-->
|
||
|
<!-- <template #footer>-->
|
||
|
<!-- <span v-if="!view" class="dialog-footer">-->
|
||
|
<!-- <el-button type="primary" icon="el-icon-circle-check" @click="handleSubmit">提 交</el-button>-->
|
||
|
<!-- <el-button icon="el-icon-circle-close" @click="box = false">取 消</el-button>-->
|
||
|
<!-- </span>-->
|
||
|
<!-- </template>-->
|
||
|
<!-- </el-dialog>-->
|
||
|
<!-- </div>-->
|
||
|
<div class="avue-crud" :style="`height:`+ height ">
|
||
|
<el-form :disabled="view" ref="form" :model="form" label-width="80px">
|
||
|
<!-- 表单字段 -->
|
||
|
<el-row :gutter="20">
|
||
|
<el-col :span="10">
|
||
|
<el-form-item label="提货时间" prop="pickUpTime">
|
||
|
<!-- <el-input v-model="form.pickUpTime" placeholder="请输入提货时间"/>-->
|
||
|
<el-date-picker
|
||
|
v-model="form.pickUpTime"
|
||
|
type="datetime"
|
||
|
placeholder="请输入提货时间"
|
||
|
format="YYYY-MM-DD hh:mm:ss"
|
||
|
value-format="YYYY-MM-DD hh:mm:ss"
|
||
|
/>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
<el-col :span="10">
|
||
|
<el-form-item label="提货人" prop="consignee">
|
||
|
<el-input v-model="form.consignee" placeholder="请输入提货人"/>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
</el-row>
|
||
|
<el-row :gutter="20">
|
||
|
<el-col :span="10">
|
||
|
<el-form-item label="提货车牌" prop="pickUpPlate">
|
||
|
<el-input v-model="form.pickUpPlate" placeholder="请输入提货车牌"/>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
<el-col :span="10">
|
||
|
<el-form-item label="提货证件" prop="deliveryDocument">
|
||
|
<el-input v-model="form.deliveryDocument" placeholder="请输入提货证件"/>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
</el-row>
|
||
|
<el-row :gutter="20">
|
||
|
<el-col :span="10">
|
||
|
<el-form-item label="证件类型" prop="certificateType">
|
||
|
<el-select v-model="form.certificateType" clearable placeholder="请选择证件类型">
|
||
|
<el-option
|
||
|
v-for="item in certificateType"
|
||
|
:key="item.dictKey"
|
||
|
:label="item.dictValue"
|
||
|
:value="item.dictKey">
|
||
|
</el-option>
|
||
|
</el-select>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
<el-col :span="10">
|
||
|
|
||
|
</el-col>
|
||
|
</el-row>
|
||
|
<el-row :gutter="20">
|
||
|
<el-col :span="24">
|
||
|
<el-form-item label="费用" prop="certificateType">
|
||
|
<el-checkbox-group v-model="form.freightMark" @change="handleCheckedCitiesChange">
|
||
|
<el-checkbox style="width: 18%;margin-bottom: 3%"
|
||
|
v-for="(item,index) in clientType"
|
||
|
:key="item.dictKey"
|
||
|
:label="item.dictKey"
|
||
|
>{{item.dictValue}}
|
||
|
<el-input type="number" v-model="item.remark" placeholder="请输入费用" :disabled = "this.form?.freightMark?.indexOf(item.dictKey) == -1"
|
||
|
@change="textbox($event,index)" style="width: 70%"/>
|
||
|
</el-checkbox>
|
||
|
|
||
|
</el-checkbox-group>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
<el-col :span="24">
|
||
|
<el-form-item label="费用合计" prop="totalCost">
|
||
|
<el-input v-model="form.totalCost" placeholder="请输入费用合计"/>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
</el-row>
|
||
|
<el-row :gutter="20">
|
||
|
<el-col :span="24">
|
||
|
<el-form-item label="物品明细" prop="certificateType">
|
||
|
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
<el-col :span="8">
|
||
|
<el-form-item label="提货证件" prop="totalCost" label-width ='120px'>
|
||
|
<el-upload
|
||
|
v-model:file-list="fileList"
|
||
|
class="upload-demo"
|
||
|
:action="action"
|
||
|
:headers="headers"
|
||
|
multiple
|
||
|
|
||
|
:on-preview="handlePreview"
|
||
|
:on-remove="handleRemove"
|
||
|
list-type="picture"
|
||
|
>
|
||
|
<el-button type="primary">上传</el-button>
|
||
|
<template #tip>
|
||
|
<div class="el-upload__tip">
|
||
|
只能上传jpg/png文件,且不超过500kb
|
||
|
</div>
|
||
|
</template>
|
||
|
</el-upload>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
<el-col :span="8">
|
||
|
<el-form-item label="文员确定图片" prop="totalCost" label-width ='120px'>
|
||
|
<el-upload
|
||
|
v-model:file-list="fileList"
|
||
|
class="upload-demo"
|
||
|
action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
|
||
|
:on-preview="handlePreview"
|
||
|
:on-remove="handleRemove"
|
||
|
list-type="picture"
|
||
|
>
|
||
|
<el-button type="primary">上传</el-button>
|
||
|
<template #tip>
|
||
|
<div class="el-upload__tip">
|
||
|
只能上传jpg/png文件,且不超过500kb
|
||
|
</div>
|
||
|
</template>
|
||
|
</el-upload>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
<el-col :span="8">
|
||
|
<el-form-item label="库管签收图片" prop="totalCost" label-width ='120px'>
|
||
|
<el-upload
|
||
|
v-model:file-list="fileList"
|
||
|
class="upload-demo"
|
||
|
action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
|
||
|
:on-preview="handlePreview"
|
||
|
:on-remove="handleRemove"
|
||
|
list-type="picture"
|
||
|
>
|
||
|
<el-button type="primary">上传</el-button>
|
||
|
<template #tip>
|
||
|
<div class="el-upload__tip">
|
||
|
只能上传jpg/png文件,且不超过500kb
|
||
|
</div>
|
||
|
</template>
|
||
|
</el-upload>
|
||
|
</el-form-item>
|
||
|
</el-col>
|
||
|
</el-row>
|
||
|
|
||
|
|
||
|
</el-form>
|
||
|
<!-- 表单按钮 -->
|
||
|
<div class="foot" v-if="!view" >
|
||
|
<div class="dialog-footer" >
|
||
|
<el-button type="primary" icon="el-icon-circle-check" @click="handleSubmit('form')">提 交</el-button>
|
||
|
<!-- <el-button icon="el-icon-circle-close" @click="box = false">取 消</el-button>-->
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</basic-container>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { getList, getDetail, add, update, remove } from "@/api/distribution/distrilbutionBillLading";
|
||
|
import option from "@/option/distribution/distrilbutionBillLading";
|
||
|
import { mapGetters } from "vuex";
|
||
|
import { getDictionaryBiz } from '@/api/system/dict';
|
||
|
import { getToken } from '@/utils/auth';
|
||
|
|
||
|
export default {
|
||
|
data () {
|
||
|
return {
|
||
|
height: 0,
|
||
|
// 弹框标题
|
||
|
title: '',
|
||
|
// 是否展示弹框
|
||
|
box: false,
|
||
|
// 是否显示查询
|
||
|
search: true,
|
||
|
// 加载中
|
||
|
loading: true,
|
||
|
// 是否为查看模式
|
||
|
view: false,
|
||
|
// 查询信息
|
||
|
query: {},
|
||
|
// 分页信息
|
||
|
page: {
|
||
|
currentPage: 1,
|
||
|
pageSize: 10,
|
||
|
total: 40
|
||
|
},
|
||
|
// 表单数据
|
||
|
form: {},
|
||
|
// 选择行
|
||
|
selectionList: [],
|
||
|
// 表单配置
|
||
|
option: option,
|
||
|
// 表单列表
|
||
|
data: [],
|
||
|
clientType: [],
|
||
|
costList: [],
|
||
|
costListName: [],
|
||
|
certificateType: [],
|
||
|
fileList:[ {
|
||
|
name: 'food.jpeg',
|
||
|
url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100',
|
||
|
},
|
||
|
{
|
||
|
name: 'food2.jpeg',
|
||
|
url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100',
|
||
|
},]
|
||
|
}
|
||
|
},
|
||
|
mounted () {
|
||
|
this.init();
|
||
|
this.onLoad(this.page);
|
||
|
},
|
||
|
computed: {
|
||
|
...mapGetters(["permission",'tagWel','tagList']),
|
||
|
ids () {
|
||
|
let ids = [];
|
||
|
this.selectionList.forEach(ele => {
|
||
|
ids.push(ele.id);
|
||
|
});
|
||
|
return ids.join(",");
|
||
|
},
|
||
|
headers() {
|
||
|
return {
|
||
|
"Blade-Auth":'Bearer ' + getToken()
|
||
|
}
|
||
|
},
|
||
|
action() {
|
||
|
return '/api/logpm-basicdata/common/uploadFile'
|
||
|
// return '/api/blade-resource/oss/endpoint/put-file-attach'
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
handleRemove(file, fileList) {
|
||
|
console.log(file, fileList);
|
||
|
},
|
||
|
handlePreview(file) {
|
||
|
console.log(file);
|
||
|
},
|
||
|
textbox(e,index) {
|
||
|
console.log("e,index",e,index);
|
||
|
this.costList[index+1] = e;
|
||
|
},
|
||
|
handleCheckedCitiesChange(value) {
|
||
|
console.log(">>>>>>>",value );
|
||
|
if(value.length < 1){
|
||
|
this.costList = [];
|
||
|
this.costListName = [];
|
||
|
}
|
||
|
this.clientType.forEach(i =>{
|
||
|
if(value.includes(i.dictKey)){
|
||
|
console.log(i);
|
||
|
i.pitch = true;
|
||
|
this.costListName = value;
|
||
|
}
|
||
|
|
||
|
});
|
||
|
|
||
|
},
|
||
|
init () {
|
||
|
this.height = this.setPx(document.body.clientHeight - 160);
|
||
|
//字典
|
||
|
getDictionaryBiz('delivery_cost').then(res => {
|
||
|
|
||
|
this.clientType = res.data.data;
|
||
|
}); //字典
|
||
|
getDictionaryBiz('certificate_type').then(res => {
|
||
|
this.certificateType = res.data.data;
|
||
|
});
|
||
|
},
|
||
|
searchHide () {
|
||
|
this.search = !this.search;
|
||
|
},
|
||
|
searchChange () {
|
||
|
this.onLoad(this.page);
|
||
|
},
|
||
|
searchReset () {
|
||
|
this.query = {};
|
||
|
this.page.currentPage = 1;
|
||
|
this.onLoad(this.page);
|
||
|
},
|
||
|
bianLier(costListName,clientType,costList,fei){
|
||
|
console.log(">>>>>>>>>",costListName,clientType,costList,fei);
|
||
|
this.pan = false;
|
||
|
for (let i = 0;i< costListName.length;i++){
|
||
|
if(!costList){ this.pan = true; return }
|
||
|
for(let a = 0;a < clientType.length;a++){
|
||
|
// console.log("进来了",clientType[a].dictKey , costListName[i]);
|
||
|
if(clientType[a].dictKey == costListName[i]){
|
||
|
console.log("进来了",clientType[a].dictKey , costListName[i]);
|
||
|
let zhi = costList[costListName[i]];
|
||
|
if(!zhi){
|
||
|
this.pan = true;
|
||
|
continue;
|
||
|
}else{
|
||
|
//2.添加
|
||
|
fei.set(clientType[a].dictKey,zhi);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
},
|
||
|
async handleSubmit () {
|
||
|
if (!this.form.id) {
|
||
|
let fei = new Map();
|
||
|
await this.bianLier(this.costListName,this.clientType,this.costList,fei);
|
||
|
this.form.fei = Object.fromEntries(fei);
|
||
|
this.form.stockArticleId = this.$route.query.ids;
|
||
|
console.log("this.form",this.form);
|
||
|
add(this.form).then(() => {
|
||
|
this.box = false;
|
||
|
this.onLoad(this.page);
|
||
|
this.$message({
|
||
|
type: "success",
|
||
|
message: "操作成功!"
|
||
|
});
|
||
|
this.contextmenuFlag = false;
|
||
|
this.$store.commit('DEL_TAG_CURRENT');
|
||
|
this.$router.push(this.tagWel);
|
||
|
});
|
||
|
} else {
|
||
|
update(this.form).then(() => {
|
||
|
this.box = false;
|
||
|
this.onLoad(this.page);
|
||
|
this.$message({
|
||
|
type: "success",
|
||
|
message: "操作成功!"
|
||
|
});
|
||
|
})
|
||
|
}
|
||
|
},
|
||
|
handleAdd () {
|
||
|
this.title = '新增'
|
||
|
this.form = {}
|
||
|
this.box = true
|
||
|
},
|
||
|
handleEdit (row) {
|
||
|
this.title = '编辑'
|
||
|
this.box = true
|
||
|
getDetail(row.id).then(res => {
|
||
|
this.form = res.data.data;
|
||
|
});
|
||
|
},
|
||
|
handleView (row) {
|
||
|
this.title = '查看'
|
||
|
this.view = true;
|
||
|
this.box = true;
|
||
|
getDetail(row.id).then(res => {
|
||
|
this.form = res.data.data;
|
||
|
});
|
||
|
},
|
||
|
handleDelete () {
|
||
|
if (this.selectionList.length === 0) {
|
||
|
this.$message.warning("请选择至少一条数据");
|
||
|
return;
|
||
|
}
|
||
|
this.$confirm("确定将选择数据删除?", {
|
||
|
confirmButtonText: "确定",
|
||
|
cancelButtonText: "取消",
|
||
|
type: "warning"
|
||
|
})
|
||
|
.then(() => {
|
||
|
return remove(this.ids);
|
||
|
})
|
||
|
.then(() => {
|
||
|
this.selectionClear();
|
||
|
this.onLoad(this.page);
|
||
|
this.$message({
|
||
|
type: "success",
|
||
|
message: "操作成功!"
|
||
|
});
|
||
|
});
|
||
|
},
|
||
|
rowDel (row) {
|
||
|
this.$confirm("确定将选择数据删除?", {
|
||
|
confirmButtonText: "确定",
|
||
|
cancelButtonText: "取消",
|
||
|
type: "warning"
|
||
|
})
|
||
|
.then(() => {
|
||
|
return remove(row.id);
|
||
|
})
|
||
|
.then(() => {
|
||
|
this.onLoad(this.page);
|
||
|
this.$message({
|
||
|
type: "success",
|
||
|
message: "操作成功!"
|
||
|
});
|
||
|
});
|
||
|
},
|
||
|
beforeClose (done) {
|
||
|
done()
|
||
|
this.form = {};
|
||
|
this.view = false;
|
||
|
},
|
||
|
selectionChange (list) {
|
||
|
this.selectionList = list;
|
||
|
},
|
||
|
selectionClear () {
|
||
|
this.selectionList = [];
|
||
|
// this.$refs.table.clearSelection();
|
||
|
},
|
||
|
currentChange (currentPage) {
|
||
|
this.page.currentPage = currentPage;
|
||
|
this.onLoad(this.page);
|
||
|
},
|
||
|
sizeChange (pageSize) {
|
||
|
this.page.pageSize = pageSize;
|
||
|
this.onLoad(this.page);
|
||
|
},
|
||
|
onLoad (page, params = {}) {
|
||
|
this.loading = true;
|
||
|
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
|
||
|
const data = res.data.data;
|
||
|
this.page.total = data.total;
|
||
|
this.data = data.records;
|
||
|
this.loading = false;
|
||
|
this.selectionClear();
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
<style >
|
||
|
.foot {
|
||
|
position: fixed;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
z-index: 999;
|
||
|
height: 60px;
|
||
|
|
||
|
|
||
|
}
|
||
|
.foot .dialog-footer {
|
||
|
margin-bottom: 130px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.ca .el-radio__inner {
|
||
|
top: -18px;
|
||
|
left: -19px;
|
||
|
border-radius: 0;
|
||
|
border: 0;
|
||
|
width: 170px;
|
||
|
height: 34px;
|
||
|
background-color: transparent;
|
||
|
cursor: pointer;
|
||
|
box-sizing: border-box;
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
.ca .el-radio__input.is-checked .el-radio__inner {
|
||
|
background: transparent;
|
||
|
}
|
||
|
</style>
|