plm前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
3.5 KiB

1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
9 months ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
9 months ago
1 year ago
9 months ago
1 year ago
7 months ago
1 year ago
1 year ago
1 year ago
7 months ago
1 year ago
  1. <script>
  2. export default {
  3. name: "quoteSearch",
  4. model:{
  5. prop: "quote",
  6. event: "update"
  7. },
  8. props:{
  9. quote: {
  10. type: Object,
  11. required: true
  12. },
  13. show:{
  14. type: Boolean,
  15. default: true
  16. }
  17. }
  18. }
  19. </script>
  20. <template>
  21. <div v-show="show" class="quote-search">
  22. <el-form :model="quote" label-width="100px" label-position="top">
  23. <el-row :gutter="10">
  24. <el-col :span="3">
  25. <el-form-item label="客户编码">
  26. <el-input v-model="quote.customerNo" clearable></el-input>
  27. </el-form-item>
  28. </el-col>
  29. <el-col :span="3">
  30. <el-form-item label="客户名称">
  31. <el-input v-model="quote.customerDesc" clearable></el-input>
  32. </el-form-item>
  33. </el-col>
  34. <el-col :span="3">
  35. <el-form-item label="采购专员">
  36. <el-input v-model="quote.purchase" clearable></el-input>
  37. </el-form-item>
  38. </el-col>
  39. <el-col :span="3">
  40. <el-form-item label="报价单号">
  41. <el-input v-model="quote.quoteVersionNo" clearable></el-input>
  42. </el-form-item>
  43. </el-col>
  44. <el-col :span="3">
  45. <el-form-item label="客户询价单号">
  46. <el-input v-model="quote.customerInquiryNo" clearable></el-input>
  47. </el-form-item>
  48. </el-col>
  49. <el-col :span="3">
  50. <el-form-item label="内部询价单号">
  51. <el-input v-model="quote.insideInquiryNo" clearable></el-input>
  52. </el-form-item>
  53. </el-col>
  54. </el-row>
  55. <el-row :gutter="10">
  56. <el-col :span="3">
  57. <el-form-item label="项目号">
  58. <el-input v-model="quote.projectNo" clearable></el-input>
  59. </el-form-item>
  60. </el-col>
  61. <el-col :span="3">
  62. <el-form-item label="项目名称">
  63. <el-input v-model="quote.projectDesc" clearable></el-input>
  64. </el-form-item>
  65. </el-col>
  66. <el-col :span="3">
  67. <el-form-item label="报价专员">
  68. <el-input v-model="quote.quoter" clearable></el-input>
  69. </el-form-item>
  70. </el-col>
  71. <el-col :span="3">
  72. <el-form-item label="状态">
  73. <el-select v-model="quote.status" style="width: 100%">
  74. <el-option label="全部" value=""></el-option>
  75. <el-option label="草稿" value="草稿"></el-option>
  76. <el-option label="下达" value="下达"></el-option>
  77. </el-select>
  78. </el-form-item>
  79. </el-col>
  80. <el-col :span="3">
  81. <el-form-item label="报价日期">
  82. <el-date-picker style="width: 100%" placeholder="开始日期" v-model="quote.startDate" type="date" value-format='yyyy-MM-dd' format='yyyy-MM-dd'></el-date-picker>
  83. </el-form-item>
  84. </el-col>
  85. <el-col :span="3">
  86. <el-form-item label=" ">
  87. <el-date-picker style="width: 100%" placeholder="结束日期" v-model="quote.endDate" type="date" value-format='yyyy-MM-dd' format='yyyy-MM-dd'></el-date-picker>
  88. </el-form-item>
  89. </el-col>
  90. <el-col :span="5">
  91. <el-form-item label=" ">
  92. <el-button @click="$emit('search')"> </el-button>
  93. <el-button type="primary" @click="$emit('save')" v-if="isAuth('5011:save')"> </el-button>
  94. <el-button @click="$emit('filterSearch')">搜索</el-button>
  95. </el-form-item>
  96. </el-col>
  97. </el-row>
  98. </el-form>
  99. </div>
  100. </template>
  101. <style scoped>
  102. .quote-search{
  103. width: 1200px;
  104. }
  105. </style>