tb-goods-demand-info.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. <!-- 所有的 css js 资源 -->
  8. <link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
  9. <link rel="stylesheet" href="../../static/sa.css">
  10. <script src="../../static/kj/vue.min.js"></script>
  11. <script src="../../static/kj/element-ui/index.js"></script>
  12. <script src="../../static/kj/httpVueLoader.js"></script>
  13. <script src="../../static/kj/jquery.min.js"></script>
  14. <script src="../../static/kj/layer/layer.js"></script>
  15. <script src="../../static/sa.js"></script>
  16. <style type="text/css">
  17. .c-panel .c-label{width: 8em;}
  18. </style>
  19. </head>
  20. <body>
  21. <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
  22. <!-- ------- 内容部分 ------- -->
  23. <div class="s-body">
  24. <div class="c-panel">
  25. <el-form v-if="m">
  26. <!-- <sa-info name="二级市场商家需求发布表主键ID" br>{{m.id}}</sa-info>
  27. <sa-info name="一级市场海关允许售卖商品ID" br>{{m.levelOneGoodsId}}</sa-info> -->
  28. <el-row :gutter="50">
  29. <el-col :span="12">
  30. <sa-info name="商品名称" br>{{m.goodsName}}</sa-info>
  31. </el-col>
  32. <el-col :span="12">
  33. <sa-info name="商品图片" br>{{m.goodsImg}}</sa-info>
  34. </el-col>
  35. </el-row>
  36. <el-row :gutter="50">
  37. <el-col :span="12">
  38. <sa-info name="商家名称" br>{{m.purchaserName}}</sa-info>
  39. </el-col>
  40. <el-col :span="12">
  41. <sa-info name="已被接单" br>{{m.isOrders}}</sa-info>
  42. </el-col>
  43. </el-row>
  44. <el-row :gutter="50">
  45. <el-col :span="12">
  46. <sa-info name="商品量" br>{{m.goodsQuantity}}</sa-info>
  47. </el-col>
  48. <el-col :span="12">
  49. <sa-info name="商家备注" br>{{m.remark}}</sa-info>
  50. </el-col>
  51. </el-row>
  52. <!-- <sa-info name="二级市场商家ID" br>{{m.purchaserId}}</sa-info> -->
  53. <!-- <sa-info name="创建时间" br>{{m.createTime}}</sa-info>
  54. <sa-info name="删除状态" br>{{m.deleteStatus}}</sa-info> -->
  55. </el-form>
  56. </div>
  57. </div>
  58. <!-- ------- 底部按钮 ------- -->
  59. <div class="s-foot">
  60. <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
  61. <el-button @click="sa.closeCurrIframe()">取消</el-button>
  62. </div>
  63. </div>
  64. <script>
  65. var app = new Vue({
  66. components: {
  67. "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
  68. },
  69. el: '.vue-box',
  70. data: {
  71. id: sa.p('id', 0), // 获取数据ID
  72. m: null
  73. },
  74. methods: {
  75. },
  76. mounted: function() {
  77. sa.ajax('/level-two-server/app/TbGoodsDemand/getById?id=' + this.id, function(res) {
  78. this.m = res.data;
  79. if(res.data == null) {
  80. sa.alert('未能查找到 id=' + this.id + " 详细数据");
  81. }
  82. }.bind(this))
  83. }
  84. })
  85. </script>
  86. </body>
  87. </html>