planInfo.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <u-cell-group>
  3. <u-cell title="需求编码" arrow-direction="down">
  4. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  5. <u--input readonly style="flex:1" border="surround" v-model="planForm.code">
  6. </u--input>
  7. </view>
  8. </u-cell>
  9. <u-cell title="名称" arrow-direction="down">
  10. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  11. <u--input placeholder="请输入" readonly style="flex:1" border="surround" v-model="planForm.name">
  12. </u--input>
  13. </view>
  14. </u-cell>
  15. <u-cell title="自动派单" arrow-direction="down">
  16. <!-- <uni-data-picker v-model="planForm.isSyncBill" slot="value" placeholder="请选择"
  17. :localdata="isSyncBillist" @change="dispatchOnchange">
  18. </uni-data-picker> -->
  19. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  20. <u--input placeholder="请输入" readonly style="flex:1" border="surround" v-model="planForm.isSyncBill">
  21. </u--input>
  22. </view>
  23. </u-cell>
  24. <u-cell title="预计售后时长" arrow-direction="down">
  25. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  26. <u--input style="flex:1" readonly border="surround" v-model="planForm.duration">
  27. <template #suffix>
  28. <uni-data-picker class="time_select" readonly v-model="planForm.durationUnit" slot="value"
  29. placeholder="请选择" :localdata="durationList">
  30. </uni-data-picker>
  31. </template>
  32. </u--input>
  33. </view>
  34. </u-cell>
  35. <u-cell title="部门" arrow-direction="down">
  36. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  37. <u--input style="flex:1" readonly placeholder="请选择" border="surround" v-model="planForm.executeGroupName">
  38. </u--input>
  39. </view>
  40. </u-cell>
  41. <u-cell title="执行人" arrow-direction="down">
  42. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  43. <u--input style="flex:1" readonly placeholder="请选择" border="surround" v-model="planForm.executeUserName">
  44. </u--input>
  45. </view>
  46. </u-cell>
  47. <u-cell title="紧急程度" arrow-direction="down">
  48. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  49. <u--input style="flex:1" readonly placeholder="请选择" border="surround" v-model="planForm.urgent">
  50. </u--input>
  51. </view>
  52. <!-- <uni-data-picker v-model="planForm.urgent" slot="value" placeholder="请选择"
  53. :localdata="urgentList" @change="urgentOnchange">
  54. </uni-data-picker> -->
  55. </u-cell>
  56. <u-cell title="备注" arrow-direction="down">
  57. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  58. <u--textarea disabled style="flex:1" border="surround" v-model="planForm.remark">
  59. </u--textarea>
  60. </view>
  61. </u-cell>
  62. </u-cell-group>
  63. </template>
  64. <script>
  65. export default {
  66. props: {
  67. planForm: {
  68. type: Object,
  69. default: () => {}
  70. }
  71. },
  72. watch:{
  73. planForm:{
  74. handler(val){
  75. this.planForm = val;
  76. },
  77. immediate:true,
  78. deep:true,
  79. }
  80. },
  81. data() {
  82. return {
  83. durationList: [{
  84. value: '1',
  85. text: '分钟'
  86. },
  87. {
  88. value: '2',
  89. text: '小时'
  90. },
  91. {
  92. value: '3',
  93. text: '天'
  94. },
  95. ],
  96. }
  97. }
  98. }
  99. </script>
  100. <style>
  101. </style>