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.

112 lines
3.8 KiB

1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
1 year ago
10 months ago
1 year ago
1 year ago
1 year 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-col :span="3">
  55. <el-form-item label="料号">
  56. <el-input v-model="quote.searchPartNo" clearable></el-input>
  57. </el-form-item>
  58. </el-col>
  59. </el-row>
  60. <el-row :gutter="10">
  61. <el-col :span="3">
  62. <el-form-item label="项目号">
  63. <el-input v-model="quote.projectNo" 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.projectDesc" clearable></el-input>
  69. </el-form-item>
  70. </el-col>
  71. <el-col :span="3">
  72. <el-form-item label="报价专员">
  73. <el-input v-model="quote.quoter" clearable></el-input>
  74. </el-form-item>
  75. </el-col>
  76. <el-col :span="3">
  77. <el-form-item label="状态">
  78. <el-select v-model="quote.status" style="width: 100%">
  79. <el-option label="全部" value=""></el-option>
  80. <el-option label="草稿" value="草稿"></el-option>
  81. <el-option label="下达" value="下达"></el-option>
  82. </el-select>
  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.startDate" 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="3">
  91. <el-form-item label=" ">
  92. <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>
  93. </el-form-item>
  94. </el-col>
  95. <el-col :span="5">
  96. <el-form-item label=" ">
  97. <el-button @click="$emit('search')"> </el-button>
  98. <el-button type="primary" @click="$emit('save')" v-if="isAuth('5011:save')"> </el-button>
  99. <el-button @click="$emit('filterSearch')">搜索</el-button>
  100. </el-form-item>
  101. </el-col>
  102. </el-row>
  103. </el-form>
  104. </div>
  105. </template>
  106. <style scoped>
  107. .quote-search{
  108. width: 1200px;
  109. }
  110. </style>