|
@@ -20,70 +20,18 @@
|
|
<!-- ------------- 检索参数 ------------- -->
|
|
<!-- ------------- 检索参数 ------------- -->
|
|
<div class="c-title">检索参数</div>
|
|
<div class="c-title">检索参数</div>
|
|
<el-form ref="form" :model='p' @submit.native.prevent>
|
|
<el-form ref="form" :model='p' @submit.native.prevent>
|
|
- <sa-item type="num" name="主键" v-model="p.id"></sa-item>
|
|
|
|
- <sa-item type="text" name="发货人" v-model="p.sendPeople"></sa-item>
|
|
|
|
- <sa-item type="text" name="收货人" v-model="p.receivePeople"></sa-item>
|
|
|
|
- <sa-item type="text" name="品名" v-model="p.goodsName"></sa-item>
|
|
|
|
- <sa-item type="text" name="产地" v-model="p.origin"></sa-item>
|
|
|
|
- <sa-item type="num" name="数量" v-model="p.num"></sa-item>
|
|
|
|
- <sa-item type="text" name="重量" v-model="p.grossWeight"></sa-item>
|
|
|
|
- <sa-item type="text" name="规格" v-model="p.unit"></sa-item>
|
|
|
|
- <sa-item type="text" name="包装" v-model="p.pack"></sa-item>
|
|
|
|
- <sa-item type="text" name="标记" v-model="p.flag"></sa-item>
|
|
|
|
- <sa-item type="text" name="号码" v-model="p.phone"></sa-item>
|
|
|
|
- <sa-item type="text" name="启运地" v-model="p.sourceAddress"></sa-item>
|
|
|
|
- <sa-item type="text" name="到达口岸" v-model="p.arrivePart"></sa-item>
|
|
|
|
- <sa-item type="text" name="运输工具" v-model="p.carName"></sa-item>
|
|
|
|
- <sa-item type="text" name="运输工具号码" v-model="p.carNo"></sa-item>
|
|
|
|
- <sa-item type="text" name="中国运输工具" v-model="p.chinaCarName"></sa-item>
|
|
|
|
- <sa-item type="text" name="中国运输号码" v-model="p.chinaCarNo"></sa-item>
|
|
|
|
- <sa-item type="text" name="备注" v-model="p.remark"></sa-item>
|
|
|
|
- <sa-item type="text" name="申请单位" v-model="p.applyUnit"></sa-item>
|
|
|
|
- <sa-item type="text" name="申请人" v-model="p.applyPeople"></sa-item>
|
|
|
|
<sa-item type="text" name="申请人联系号码" v-model="p.applyPhone"></sa-item>
|
|
<sa-item type="text" name="申请人联系号码" v-model="p.applyPhone"></sa-item>
|
|
- <sa-item type="text" name="申请时间" v-model="p.applyTime"></sa-item>
|
|
|
|
- <sa-item type="text" name="受理人" v-model="p.acceptPeople"></sa-item>
|
|
|
|
- <sa-item type="text" name="受理时间" v-model="p.acceptTime"></sa-item>
|
|
|
|
- <sa-item type="text" name="计费(分)" v-model="p.money"></sa-item>
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="p.pageNo = 1; f5()">查询</el-button>
|
|
<el-button type="primary" icon="el-icon-search" @click="p.pageNo = 1; f5()">查询</el-button>
|
|
<br />
|
|
<br />
|
|
- <sa-item name="综合排序">
|
|
|
|
- <el-radio-group v-model="p.sortType" class="s-radio-text">
|
|
|
|
- <el-radio :label="0">默认</el-radio>
|
|
|
|
- <el-radio :label="1">主键</el-radio>
|
|
|
|
- <el-radio :label="2">发货人</el-radio>
|
|
|
|
- <el-radio :label="3">收货人</el-radio>
|
|
|
|
- <el-radio :label="4">品名</el-radio>
|
|
|
|
- <el-radio :label="5">产地</el-radio>
|
|
|
|
- <el-radio :label="6">数量</el-radio>
|
|
|
|
- <el-radio :label="7">重量</el-radio>
|
|
|
|
- <el-radio :label="8">规格</el-radio>
|
|
|
|
- <el-radio :label="9">包装</el-radio>
|
|
|
|
- <el-radio :label="10">标记</el-radio>
|
|
|
|
- <el-radio :label="11">号码</el-radio>
|
|
|
|
- <el-radio :label="12">启运地</el-radio>
|
|
|
|
- <el-radio :label="13">到达口岸</el-radio>
|
|
|
|
- <el-radio :label="14">运输工具</el-radio>
|
|
|
|
- <el-radio :label="15">运输工具号码</el-radio>
|
|
|
|
- <el-radio :label="16">中国运输工具</el-radio>
|
|
|
|
- <el-radio :label="17">中国运输号码</el-radio>
|
|
|
|
- <el-radio :label="18">备注</el-radio>
|
|
|
|
- <el-radio :label="19">申请单位</el-radio>
|
|
|
|
- <el-radio :label="20">申请人</el-radio>
|
|
|
|
- <el-radio :label="21">申请人联系号码</el-radio>
|
|
|
|
- <el-radio :label="22">申请时间</el-radio>
|
|
|
|
- <el-radio :label="23">受理人</el-radio>
|
|
|
|
- <el-radio :label="24">受理时间</el-radio>
|
|
|
|
- <el-radio :label="25">计费(分)</el-radio>
|
|
|
|
- </el-radio-group>
|
|
|
|
- </sa-item>
|
|
|
|
</el-form>
|
|
</el-form>
|
|
<!-- ------------- 快捷按钮 ------------- -->
|
|
<!-- ------------- 快捷按钮 ------------- -->
|
|
- <sa-item type="fast-btn" show="add,get,delete,export,reset"></sa-item>
|
|
|
|
|
|
+ <div class="fast-btn">
|
|
|
|
+<!-- <el-button size="mini" type="primary" @click="add()">新增</el-button>-->
|
|
|
|
+ <el-button size="mini" type="info" @click="sa.f5()">刷新</el-button>
|
|
|
|
+ </div>
|
|
<!-- ------------- 数据列表 ------------- -->
|
|
<!-- ------------- 数据列表 ------------- -->
|
|
<el-table class="data-table" ref="data-table" :data="dataList" >
|
|
<el-table class="data-table" ref="data-table" :data="dataList" >
|
|
<sa-td type="selection"></sa-td>
|
|
<sa-td type="selection"></sa-td>
|
|
- <sa-td name="主键" prop="id" type="num"></sa-td>
|
|
|
|
<sa-td name="发货人" prop="sendPeople" ></sa-td>
|
|
<sa-td name="发货人" prop="sendPeople" ></sa-td>
|
|
<sa-td name="收货人" prop="receivePeople" ></sa-td>
|
|
<sa-td name="收货人" prop="receivePeople" ></sa-td>
|
|
<sa-td name="品名" prop="goodsName" ></sa-td>
|
|
<sa-td name="品名" prop="goodsName" ></sa-td>
|
|
@@ -102,14 +50,15 @@
|
|
<sa-td name="中国运输号码" prop="chinaCarNo" ></sa-td>
|
|
<sa-td name="中国运输号码" prop="chinaCarNo" ></sa-td>
|
|
<sa-td name="备注" prop="remark" ></sa-td>
|
|
<sa-td name="备注" prop="remark" ></sa-td>
|
|
<sa-td name="申请单位" prop="applyUnit" ></sa-td>
|
|
<sa-td name="申请单位" prop="applyUnit" ></sa-td>
|
|
- <sa-td name="申请人" prop="applyPeople" ></sa-td>
|
|
|
|
- <sa-td name="申请人联系号码" prop="applyPhone" ></sa-td>
|
|
|
|
|
|
+ <sa-td name="申请人" prop="declarePeople" ></sa-td>
|
|
|
|
+ <sa-td name="申请人联系号码" prop="declarePhone" ></sa-td>
|
|
<sa-td name="申请时间" prop="applyTime" ></sa-td>
|
|
<sa-td name="申请时间" prop="applyTime" ></sa-td>
|
|
<sa-td name="受理人" prop="acceptPeople" ></sa-td>
|
|
<sa-td name="受理人" prop="acceptPeople" ></sa-td>
|
|
<sa-td name="受理时间" prop="acceptTime" ></sa-td>
|
|
<sa-td name="受理时间" prop="acceptTime" ></sa-td>
|
|
<sa-td name="计费(分)" prop="money" ></sa-td>
|
|
<sa-td name="计费(分)" prop="money" ></sa-td>
|
|
<el-table-column label="操作" fixed="right" width="240px">
|
|
<el-table-column label="操作" fixed="right" width="240px">
|
|
<template slot-scope="s">
|
|
<template slot-scope="s">
|
|
|
|
+ <el-button class="c-btn" type="success" icon="el-icon" @click="print(s.row)">打印</el-button>
|
|
<el-button class="c-btn" type="success" icon="el-icon-view" @click="get(s.row)">查看</el-button>
|
|
<el-button class="c-btn" type="success" icon="el-icon-view" @click="get(s.row)">查看</el-button>
|
|
<el-button class="c-btn" type="primary" icon="el-icon-edit" @click="update(s.row)">修改</el-button>
|
|
<el-button class="c-btn" type="primary" icon="el-icon-edit" @click="update(s.row)">修改</el-button>
|
|
<el-button class="c-btn" type="danger" icon="el-icon-delete" @click="del(s.row)">删除</el-button>
|
|
<el-button class="c-btn" type="danger" icon="el-icon-delete" @click="del(s.row)">删除</el-button>
|
|
@@ -148,8 +97,8 @@
|
|
chinaCarNo: '', // 中国运输号码
|
|
chinaCarNo: '', // 中国运输号码
|
|
remark: '', // 备注
|
|
remark: '', // 备注
|
|
applyUnit: '', // 申请单位
|
|
applyUnit: '', // 申请单位
|
|
- applyPeople: '', // 申请人
|
|
|
|
- applyPhone: '', // 申请人联系号码
|
|
|
|
|
|
+ declarePeople: '', // 申请人
|
|
|
|
+ declarePhone: '', // 申请人联系号码
|
|
applyTime: '', // 申请时间
|
|
applyTime: '', // 申请时间
|
|
acceptPeople: '', // 受理人
|
|
acceptPeople: '', // 受理人
|
|
acceptTime: '', // 受理时间
|
|
acceptTime: '', // 受理时间
|
|
@@ -172,7 +121,7 @@
|
|
},
|
|
},
|
|
// 查看
|
|
// 查看
|
|
get: function(data) {
|
|
get: function(data) {
|
|
- sa.showIframe('数据详情', 'tb-disinfect-info.html?id=' + data.id, '1050px', '90%');
|
|
|
|
|
|
+ sa.showIframe('数据详情', 'tb-disinfect-info.html?id=' + data.id, '600px', '90%');
|
|
},
|
|
},
|
|
// 查看 - 根据选中的
|
|
// 查看 - 根据选中的
|
|
getBySelect: function(data) {
|
|
getBySelect: function(data) {
|
|
@@ -183,8 +132,12 @@
|
|
this.get(selection[0]);
|
|
this.get(selection[0]);
|
|
},
|
|
},
|
|
// 修改
|
|
// 修改
|
|
|
|
+ print: function(data) {
|
|
|
|
+ sa.showIframe('消毒申请单打印', 'print.html?id=' + data.id, '1000px', '100%');
|
|
|
|
+ },
|
|
|
|
+ // 修改
|
|
update: function(data) {
|
|
update: function(data) {
|
|
- sa.showIframe('修改数据', 'tb-disinfect-add.html?id=' + data.id, '1000px', '90%');
|
|
|
|
|
|
+ sa.showIframe('修改数据', 'tb-disinfect-add.html?id=' + data.id, '600px', '90%');
|
|
},
|
|
},
|
|
// 新增
|
|
// 新增
|
|
add: function(data) {
|
|
add: function(data) {
|