tb-import-order-do-judge.html 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>收购商-详情</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <meta name="viewport"
  7. content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  8. <!-- 所有的 css js 资源 -->
  9. <link rel="stylesheet" href="https://unpkg.com/element-ui@2.13.0/lib/theme-chalk/index.css">
  10. <link rel="stylesheet" href="../../static/sa.css">
  11. <script src="../../static/kj/vue.min.js"></script>
  12. <script src="../../static/kj/element-ui/index.js"></script>
  13. <script src="../../static/kj/httpVueLoader.js"></script>
  14. <script src="../../static/kj/jquery.min.js"></script>
  15. <script src="../../static/kj/layer/layer.js"></script>
  16. <script src="../../static/sa.js"></script>
  17. <script src="../../static/kj/upload-util.js"></script>
  18. <style type="text/css">
  19. .c-panel .c-label {
  20. width: 8em;
  21. }
  22. .c-item .image-box-2 {
  23. height: 90px;
  24. }
  25. .el-row{
  26. border-bottom: 1px solid #eeeeee;
  27. }
  28. table {
  29. font-family: arial, sans-serif;
  30. border-collapse: collapse;
  31. width: 90%;
  32. margin-top: 22px ;
  33. margin-left: auto;
  34. margin-right: auto;
  35. }
  36. th {
  37. border: 1px solid darkgray;
  38. text-align: left;
  39. height: 22px;
  40. padding: 8px;
  41. background-color: #dddddd;
  42. }
  43. td {
  44. border: 1px solid darkgray;
  45. text-align: left;
  46. padding: 8px;
  47. }
  48. </style>
  49. </head>
  50. <body>
  51. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  52. <!-- ------- 内容部分 ------- -->
  53. <div class="s-body">
  54. <div class="c-panel">
  55. <el-form v-if="m">
  56. <el-alert show-icon title="审核驳回" :description="m.judgeContent" type="error" v-if="m.judgeStatus==2"></el-alert>
  57. <table>
  58. <tr>
  59. <th>业务编号</th>
  60. <td>{{m.platSeqNo}}</td>
  61. <th>预录入编号</th>
  62. <td>{{m.preNo}}</td>
  63. </tr>
  64. <tr>
  65. <th>关联进境申报单编号</th>
  66. <td>{{m.itrdclDeclareId}}</td>
  67. <th>进出口申报单编号</th>
  68. <td>{{m.declareId}}</td>
  69. </tr>
  70. <tr>
  71. <th>申报人类型</th>
  72. <td>
  73. <b v-if="m.declareType == 1">边民</b>
  74. <b v-if="m.declareType == 2">商铺业主或其代理人</b>
  75. <b v-if="m.declareType == 3">合作社代表</b>
  76. <b v-if="m.declareType == 4">互助组代表</b>
  77. </td>
  78. <th>车牌号</th>
  79. <td>{{m.veNo}}</td>
  80. </tr>
  81. <tr>
  82. <th>申报人姓名</th>
  83. <td>{{m.declareName}}</td>
  84. <th>申报人身份证号</th>
  85. <td>{{m.ciphertextIdno}}</td>
  86. </tr>
  87. <tr>
  88. <th>商铺编码</th>
  89. <td>{{m.shopNo}}</td>
  90. <th>商铺名称</th>
  91. <td>{{m.shopName}}</td>
  92. </tr>
  93. <tr>
  94. <th>互助组/合作社备案编号</th>
  95. <td>{{m.orgPutrecNo}}</td>
  96. <th>互助组/合租社名称</th>
  97. <td>{{m.orgName}}</td>
  98. </tr>
  99. <tr>
  100. <th>合作社社会统一信用代码</th>
  101. <td>{{m.orgScc}}</td>
  102. <th>商铺备案编号</th>
  103. <td>{{m.shopPutrecNo}}</td>
  104. </tr>
  105. <tr>
  106. <th>运输工具类型</th>
  107. <td>
  108. <b v-if="m.vehicleType == 1">三轮车</b>
  109. <b v-if="m.vehicleType == 2">货车</b>
  110. <b v-if="m.vehicleType == 3">电动车</b>
  111. <b v-if="m.vehicleType == 4">拖拉机</b>
  112. <b v-if="m.vehicleType == 5">其他</b>
  113. <b v-if="m.vehicleType == 6">轻型货车</b>
  114. <b v-if="m.vehicleType == 7">微型货车</b>
  115. </td>
  116. <th>业务模式</th>
  117. <td>
  118. <b v-if="m.btrnbBizModecd == 1">区内交易</b>
  119. <b v-if="m.btrnbBizModecd == 2">落地加工</b>
  120. <b v-if="m.btrnbBizModecd == 3">原装提离</b>
  121. <b v-if="m.btrnbBizModecd == 4">直接出口</b>
  122. <b v-if="m.btrnbBizModecd == 5">出口销售</b>
  123. </td>
  124. </tr>
  125. <tr>
  126. <th>商品流向</th>
  127. <td>
  128. <b v-if="m.gFlow == 1">二次销售</b>
  129. <b v-if="m.gFlow == 2">生活自用</b>
  130. <b v-if="m.gFlow == 3">落地加工</b>
  131. </td>
  132. <th>进出口标志</th>
  133. <td>
  134. <b v-if="m.iEFlag === 'I'">进口</b>
  135. <b v-if="m.iEFlag === 'E'">出口</b>
  136. </td>
  137. </tr>
  138. <tr>
  139. <th>互市区编号</th>
  140. <td>{{m.fieldCode}}</td>
  141. <th>互市区</th>
  142. <td>{{m.fieldName}}</td>
  143. </tr>
  144. <tr>
  145. <th>备注</th>
  146. <td>{{m.note}}</td>
  147. <th>总金额</th>
  148. <td>{{m.sumAmt}}</td>
  149. </tr>
  150. <tr>
  151. <th>总毛重</th>
  152. <td>{{m.sumGrossWt}}</td>
  153. <th>总净重</th>
  154. <td>{{m.sumNetWt}}</td>
  155. </tr>
  156. <tr>
  157. <th>运输方式</th>
  158. <td>{{m.trafMode}}</td>
  159. <th>币制</th>
  160. <td>{{m.currCode}}</td>
  161. </tr>
  162. <tr>
  163. <th>件数</th>
  164. <td>{{m.packNo}}</td>
  165. <th>贸易国别</th>
  166. <td>{{m.tradeCountry}}</td>
  167. </tr>
  168. <tr>
  169. <th>落地加工企业</th>
  170. <td>{{m.mName}}</td>
  171. <th>落地加工企业信用代码</th>
  172. <td>{{m.mScc}}</td>
  173. </tr>
  174. <tr>
  175. <th>是否均摊</th>
  176. <td>
  177. <b v-if="m.shareFlag == 0">否</b>
  178. <b v-if="m.shareFlag == 1">是</b>
  179. </td>
  180. <th>是否拼车</th>
  181. <td>
  182. <b v-if="m.carPool == 0">否</b>
  183. <b v-if="m.carPool == 1">是</b>
  184. </td>
  185. </tr>
  186. <tr>
  187. <th>申报单类型</th>
  188. <td>{{m.dclType}}</td>
  189. <th>申报口岸代码</th>
  190. <td>{{m.customsCode}}</td>
  191. </tr>
  192. <tr>
  193. <th>改单/撤销原因</th>
  194. <td>{{m.mdfblRvkRsn}}</td>
  195. <th>边民备案编号标记</th>
  196. <td>{{m.borderFlag}}</td>
  197. </tr>
  198. <tr>
  199. <th>数据状态</th>
  200. <td>{{m.delStatus}}</td>
  201. <th>申报状态</th>
  202. <td>{{m.declStatus}}</td>
  203. </tr>
  204. <tr>
  205. <th>申报时间</th>
  206. <td>{{sa.forDate(m.declTime, 2)}}</td>
  207. <th>回执时间</th>
  208. <td>{{sa.forDate(m.rcptTime, 2)}}</td>
  209. </tr>
  210. <tr>
  211. <th>审核备注</th>
  212. <td>{{m.auditRemark}}</td>
  213. <th>运输工具代理企业代码</th>
  214. <td>{{m.agentCode}}</td>
  215. </tr>
  216. <tr>
  217. <th>边民id</th>
  218. <td>{{m.borderId}}</td>
  219. <th>msgId</th>
  220. <td>{{m.msgId}}</td>
  221. </tr>
  222. <tr>
  223. <th>企业编码</th>
  224. <td>{{m.entCode}}</td>
  225. <th>企业名称</th>
  226. <td>{{m.entName}}</td>
  227. </tr>
  228. <tr>
  229. <th>运输工具批次号</th>
  230. <td>{{m.manifestId}}</td>
  231. <th>互助委托协议</th>
  232. <td>
  233. <sa-info type="img-list" :value="m.cooperEntrustImg"></sa-info>
  234. </td>
  235. </tr>
  236. </table>
  237. </el-form>
  238. </div>
  239. </div>
  240. <!-- ------- 底部按钮 ------- -->
  241. <div class="s-foot" v-if="sa.isAuth('tb-purchaser-judge')">
  242. <el-button type="warning" @click="judgeBack">审核驳回</el-button>
  243. <el-button type="success" @click="judgePass">审核通过</el-button>
  244. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  245. </div>
  246. </div>
  247. <script>
  248. var app = new Vue({
  249. components: {
  250. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  251. },
  252. el: '.vue-box',
  253. data: {
  254. id: sa.p('id', 0), // 获取数据ID
  255. m: null
  256. },
  257. methods: {
  258. judgeBack() {
  259. let id = this.m.id
  260. layer.prompt({
  261. title: '输入审核意见'
  262. }, function(content, index) {
  263. layer.close(index);
  264. sa.ajax('/level-one-server/TbImportOrder/audit', {
  265. id: id,
  266. judgeContent: content,
  267. judgeStatus: 2
  268. }, function(res) {
  269. layer.msg('审核已驳回');
  270. setTimeout(() => {
  271. parent.app.f5(); // 刷新父页面列表
  272. sa.closeCurrIframe(); // 关闭本页
  273. }, 800)
  274. })
  275. });
  276. },
  277. judgePass() {
  278. sa.ajax('/level-one-server/TbImportOrder/audit', {
  279. id: this.m.id,
  280. judgeContent: '审核通过',
  281. judgeStatus: 1
  282. }, function(res) {
  283. layer.msg('审核通过');
  284. setTimeout(() => {
  285. parent.app.f5(); // 刷新父页面列表
  286. sa.closeCurrIframe(); // 关闭本页
  287. }, 800)
  288. })
  289. },
  290. },
  291. mounted: function() {
  292. sa.ajax('/level-one-server/TbImportOrder/getById?id=' + this.id, function(res) {
  293. this.m = res.data;
  294. if(this.m.cooperEntrustImg != undefined) {
  295. this.m.cooperEntrustImg = res.data.cooperEntrustImg.replaceAll("/sp-admin",sa.cfg.api_url+"/sp-admin").replaceAll("[","").replaceAll("]","").replaceAll("\"","")
  296. }
  297. if (res.data == null) {
  298. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  299. }
  300. }.bind(this))
  301. }
  302. })
  303. </script>
  304. </body>
  305. </html>