123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>收购商-详情</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport"
- content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <!-- 所有的 css js 资源 -->
- <link rel="stylesheet" href="https://unpkg.com/element-ui@2.13.0/lib/theme-chalk/index.css">
- <link rel="stylesheet" href="../../static/sa.css">
- <script src="../../static/kj/vue.min.js"></script>
- <script src="../../static/kj/element-ui/index.js"></script>
- <script src="../../static/kj/httpVueLoader.js"></script>
- <script src="../../static/kj/jquery.min.js"></script>
- <script src="../../static/kj/layer/layer.js"></script>
- <script src="../../static/sa.js"></script>
- <script src="../../static/kj/upload-util.js"></script>
- <style type="text/css">
- .c-panel .c-label {
- width: 8em;
- }
- .c-item .image-box-2 {
- height: 90px;
- }
- .el-row{
- border-bottom: 1px solid #eeeeee;
- }
- table {
- font-family: arial, sans-serif;
- border-collapse: collapse;
- width: 90%;
- margin-top: 22px ;
- margin-left: auto;
- margin-right: auto;
- }
- th {
- border: 1px solid darkgray;
- text-align: left;
- height: 22px;
- padding: 8px;
- background-color: #dddddd;
- }
- td {
- border: 1px solid darkgray;
- text-align: left;
- padding: 8px;
- }
- </style>
- </head>
- <body>
- <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
- <!-- ------- 内容部分 ------- -->
- <div class="s-body">
- <div class="c-panel">
- <el-form v-if="m">
- <el-alert show-icon title="审核驳回" :description="m.judgeContent" type="error" v-if="m.judgeStatus==2"></el-alert>
- <table>
- <tr>
- <th>业务编号</th>
- <td>{{m.platSeqNo}}</td>
- <th>预录入编号</th>
- <td>{{m.preNo}}</td>
- </tr>
- <tr>
- <th>关联进境申报单编号</th>
- <td>{{m.itrdclDeclareId}}</td>
- <th>进出口申报单编号</th>
- <td>{{m.declareId}}</td>
- </tr>
- <tr>
- <th>申报人类型</th>
- <td>
- <b v-if="m.declareType == 1">边民</b>
- <b v-if="m.declareType == 2">商铺业主或其代理人</b>
- <b v-if="m.declareType == 3">合作社代表</b>
- <b v-if="m.declareType == 4">互助组代表</b>
- </td>
- <th>车牌号</th>
- <td>{{m.veNo}}</td>
- </tr>
- <tr>
- <th>申报人姓名</th>
- <td>{{m.declareName}}</td>
- <th>申报人身份证号</th>
- <td>{{m.ciphertextIdno}}</td>
- </tr>
- <tr>
- <th>商铺编码</th>
- <td>{{m.shopNo}}</td>
- <th>商铺名称</th>
- <td>{{m.shopName}}</td>
- </tr>
- <tr>
- <th>互助组/合作社备案编号</th>
- <td>{{m.orgPutrecNo}}</td>
- <th>互助组/合租社名称</th>
- <td>{{m.orgName}}</td>
- </tr>
- <tr>
- <th>合作社社会统一信用代码</th>
- <td>{{m.orgScc}}</td>
- <th>商铺备案编号</th>
- <td>{{m.shopPutrecNo}}</td>
- </tr>
- <tr>
- <th>运输工具类型</th>
- <td>
- <b v-if="m.vehicleType == 1">三轮车</b>
- <b v-if="m.vehicleType == 2">货车</b>
- <b v-if="m.vehicleType == 3">电动车</b>
- <b v-if="m.vehicleType == 4">拖拉机</b>
- <b v-if="m.vehicleType == 5">其他</b>
- <b v-if="m.vehicleType == 6">轻型货车</b>
- <b v-if="m.vehicleType == 7">微型货车</b>
- </td>
- <th>业务模式</th>
- <td>
- <b v-if="m.btrnbBizModecd == 1">区内交易</b>
- <b v-if="m.btrnbBizModecd == 2">落地加工</b>
- <b v-if="m.btrnbBizModecd == 3">原装提离</b>
- <b v-if="m.btrnbBizModecd == 4">直接出口</b>
- <b v-if="m.btrnbBizModecd == 5">出口销售</b>
- </td>
- </tr>
- <tr>
- <th>商品流向</th>
- <td>
- <b v-if="m.gFlow == 1">二次销售</b>
- <b v-if="m.gFlow == 2">生活自用</b>
- <b v-if="m.gFlow == 3">落地加工</b>
- </td>
- <th>进出口标志</th>
- <td>
- <b v-if="m.iEFlag === 'I'">进口</b>
- <b v-if="m.iEFlag === 'E'">出口</b>
- </td>
- </tr>
- <tr>
- <th>互市区编号</th>
- <td>{{m.fieldCode}}</td>
- <th>互市区</th>
- <td>{{m.fieldName}}</td>
- </tr>
- <tr>
- <th>备注</th>
- <td>{{m.note}}</td>
- <th>总金额</th>
- <td>{{m.sumAmt}}</td>
- </tr>
- <tr>
- <th>总毛重</th>
- <td>{{m.sumGrossWt}}</td>
- <th>总净重</th>
- <td>{{m.sumNetWt}}</td>
- </tr>
- <tr>
- <th>运输方式</th>
- <td>{{m.trafMode}}</td>
- <th>币制</th>
- <td>{{m.currCode}}</td>
- </tr>
- <tr>
- <th>件数</th>
- <td>{{m.packNo}}</td>
- <th>贸易国别</th>
- <td>{{m.tradeCountry}}</td>
- </tr>
- <tr>
- <th>落地加工企业</th>
- <td>{{m.mName}}</td>
- <th>落地加工企业信用代码</th>
- <td>{{m.mScc}}</td>
- </tr>
- <tr>
- <th>是否均摊</th>
- <td>
- <b v-if="m.shareFlag == 0">否</b>
- <b v-if="m.shareFlag == 1">是</b>
- </td>
- <th>是否拼车</th>
- <td>
- <b v-if="m.carPool == 0">否</b>
- <b v-if="m.carPool == 1">是</b>
- </td>
- </tr>
- <tr>
- <th>申报单类型</th>
- <td>{{m.dclType}}</td>
- <th>申报口岸代码</th>
- <td>{{m.customsCode}}</td>
- </tr>
- <tr>
- <th>改单/撤销原因</th>
- <td>{{m.mdfblRvkRsn}}</td>
- <th>边民备案编号标记</th>
- <td>{{m.borderFlag}}</td>
- </tr>
- <tr>
- <th>数据状态</th>
- <td>{{m.delStatus}}</td>
- <th>申报状态</th>
- <td>{{m.declStatus}}</td>
- </tr>
- <tr>
- <th>申报时间</th>
- <td>{{sa.forDate(m.declTime, 2)}}</td>
- <th>回执时间</th>
- <td>{{sa.forDate(m.rcptTime, 2)}}</td>
- </tr>
- <tr>
- <th>审核备注</th>
- <td>{{m.auditRemark}}</td>
- <th>运输工具代理企业代码</th>
- <td>{{m.agentCode}}</td>
- </tr>
- <tr>
- <th>边民id</th>
- <td>{{m.borderId}}</td>
- <th>msgId</th>
- <td>{{m.msgId}}</td>
- </tr>
- <tr>
- <th>企业编码</th>
- <td>{{m.entCode}}</td>
- <th>企业名称</th>
- <td>{{m.entName}}</td>
- </tr>
- <tr>
- <th>运输工具批次号</th>
- <td>{{m.manifestId}}</td>
- <th>互助委托协议</th>
- <td>
- <sa-info type="img-list" :value="m.cooperEntrustImg"></sa-info>
- </td>
- </tr>
- </table>
-
-
- </el-form>
- </div>
- </div>
- <!-- ------- 底部按钮 ------- -->
- <div class="s-foot" v-if="sa.isAuth('tb-purchaser-judge')">
- <el-button type="warning" @click="judgeBack">审核驳回</el-button>
- <el-button type="success" @click="judgePass">审核通过</el-button>
- <el-button @click="sa.closeCurrIframe()">取消</el-button>
- </div>
- </div>
- <script>
- var app = new Vue({
- components: {
- "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
- },
- el: '.vue-box',
- data: {
- id: sa.p('id', 0), // 获取数据ID
- m: null
- },
- methods: {
- judgeBack() {
- let id = this.m.id
- layer.prompt({
- title: '输入审核意见'
- }, function(content, index) {
- layer.close(index);
- sa.ajax('/level-one-server/TbImportOrder/audit', {
- id: id,
- judgeContent: content,
- judgeStatus: 2
- }, function(res) {
- layer.msg('审核已驳回');
- setTimeout(() => {
- parent.app.f5(); // 刷新父页面列表
- sa.closeCurrIframe(); // 关闭本页
- }, 800)
- })
- });
- },
- judgePass() {
- sa.ajax('/level-one-server/TbImportOrder/audit', {
- id: this.m.id,
- judgeContent: '审核通过',
- judgeStatus: 1
- }, function(res) {
- layer.msg('审核通过');
- setTimeout(() => {
- parent.app.f5(); // 刷新父页面列表
- sa.closeCurrIframe(); // 关闭本页
- }, 800)
- })
- },
- },
- mounted: function() {
- sa.ajax('/level-one-server/TbImportOrder/getById?id=' + this.id, function(res) {
- this.m = res.data;
- if(this.m.cooperEntrustImg != undefined) {
- this.m.cooperEntrustImg = res.data.cooperEntrustImg.replaceAll("/sp-admin",sa.cfg.api_url+"/sp-admin").replaceAll("[","").replaceAll("]","").replaceAll("\"","")
- }
- if (res.data == null) {
- sa.alert('未能查找到 id=' + this.id + " 详细数据");
- }
- }.bind(this))
- }
- })
- </script>
- </body>
- </html>
|