consignee.vue 992 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <!-- 客户收货信息页面 -->
  3. <div class="steel_inbound">
  4. <div class="sache">
  5. <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
  6.       <el-button type="primary" class="btn" @click="onclick">
  7.         <i class="el-icon-search"></i>查询
  8.       </el-button>
  9. </div>
  10. <dilTable v-bind.sync="option">
  11. </dilTable>
  12. </div>
  13. </template>
  14. <script>
  15. export default {
  16. name: "homeworkPath",
  17. data() {
  18. return {
  19. restaurants: [],
  20. input: "",
  21. option: {
  22. // 表格请求数据的地址
  23. requestUrl: "/api/v1/rms/getConsigneeList?apiId=407",
  24. },
  25. };
  26. },
  27. mounted() {
  28. },
  29. methods: {
  30. onclick() {
  31. this.option.requestUrl = "/api/v1/rms/getConsigneeList?apiId=407&con=" + this.input;
  32. },
  33. },
  34. };
  35. </script>
  36. <style lang="scss" scode>
  37. .steel_inbound{
  38. .sache{
  39. padding: 1.25rem 0.375rem;
  40. .el-input {
  41. width: 20%;
  42. margin-right: 1.25rem;
  43. }
  44. }
  45. }
  46. </style>