truckReceiptRanLaoResult.vue 979 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <!-- 辅料收货作业页面 -->
  3. <div class="homeworkPath">
  4. <div class="top">
  5. <el-input placeholder="请输入内容" class="input" 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/tms/getReceiveResult?apiId=149&orderType=6",
  24. },
  25. };
  26. },
  27. methods: {
  28. onclick() {
  29. this.option.requestUrl = "/api/v1/tms/getReceiveResult?apiId=149&orderType=6&con=" + this.input;
  30. },
  31. }
  32. };
  33. </script>
  34. <style lang='scss'>
  35. .homeworkPath {
  36. .top {
  37. padding: 40px;
  38. .input{
  39. width: 250px;
  40. margin-right: 10px;
  41. }
  42. }
  43. }
  44. </style>