demandInfo.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template>
  2. <u-cell-group>
  3. <!-- 售后对象信息 -->
  4. <u-cell title="需求编码" arrow-direction="down">
  5. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  6. <u--input readonly style="flex:1" border="surround" v-model="demandForm.code">
  7. </u--input>
  8. </view>
  9. </u-cell>
  10. <u-cell title="需求名称" arrow-direction="down">
  11. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  12. <u--input style="flex:1" readonly placeholder="请输入" border="surround" v-model="demandForm.name">
  13. </u--input>
  14. </view>
  15. </u-cell>
  16. <u-cell title="客户名称" arrow-direction="down">
  17. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  18. <u--input style="flex:1" readonly placeholder="请选择" border="surround" v-model="demandForm.contactName">
  19. </u--input>
  20. </view>
  21. </u-cell>
  22. <u-cell v-if="demandForm.associationType==1||demandForm.associationType==2" :title="demandForm.associationType==1?'发货单':demandForm.associationType==2?'销售订单':''" arrow-direction="down">
  23. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  24. <u--input style="flex:1" readonly placeholder="请选择" border="surround" v-model="demandForm.orderCode">
  25. </u--input>
  26. </view>
  27. </u-cell>
  28. <u-cell title="报修地址" arrow-direction="down">
  29. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  30. <u--input style="flex:1" readonly placeholder="请输入" border="surround" v-model="demandForm.contactAddress">
  31. </u--input>
  32. </view>
  33. </u-cell>
  34. <u-cell title="故障等级" arrow-direction="down">
  35. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  36. <u--input style="flex:1" readonly placeholder="请输入" border="surround" v-model="demandForm.fault_level">
  37. </u--input>
  38. </view>
  39. </u-cell>
  40. <u-cell title="期望解决时间" arrow-direction="down">
  41. <uni-datetime-picker disabled type="date" slot="value" v-model="demandForm.expectedTime">
  42. </uni-datetime-picker>
  43. </u-cell>
  44. <u-cell title="报修人" arrow-direction="down">
  45. <view slot="value" style="display: flex;align-items: center;width: 100%;">
  46. <u--input style="flex:1" placeholder="请输入" readonly border="surround"
  47. v-model="demandForm.createUserName">
  48. </u--input>
  49. </view>
  50. </u-cell>
  51. </u-cell-group>
  52. </template>
  53. <script>
  54. export default {
  55. props: {
  56. demandForm: {
  57. type: Object,
  58. default: () => {}
  59. }
  60. },
  61. data() {
  62. return {
  63. }
  64. },
  65. }
  66. </script>
  67. <style>
  68. </style>