handover.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <view>
  3. <u-popup :show="show" :mode='mode' :closeOnClickOverlay='false'>
  4. <view class="popup_list">
  5. <u-form labelPosition="left" :model="form" labelWidth="180" labelAlign="left" class="">
  6. <u-form-item label="交接班组:" borderBottom prop="">
  7. <zxz-uni-data-select :localdata="bzList" v-model="form.bz" dataValue='id' dataKey="name"
  8. filterable format='{name}'></zxz-uni-data-select>
  9. </u-form-item>
  10. </u-form>
  11. </view>
  12. <view class="operate_box rx-bc">
  13. <u-button size="small" class="u-reset-button" @click="close">
  14. 取消
  15. </u-button>
  16. <u-button type="success" size="small" class="u-reset-button" @click="handOK">
  17. 提交
  18. </u-button>
  19. </view>
  20. </u-popup>
  21. </view>
  22. </template>
  23. <script>
  24. import SearchPopup from './searchPopup.vue'
  25. export default {
  26. components: {},
  27. data() {
  28. return {
  29. mode: 'center',
  30. show: false,
  31. topHight: 20 || 20,
  32. form: {},
  33. bzList: []
  34. }
  35. },
  36. methods: {
  37. open(obj) {
  38. this.show = true
  39. },
  40. close() {},
  41. handOK() {},
  42. }
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. .popup_list {
  47. width: 78vw;
  48. min-height: 360rpx;
  49. padding: 0 32rpx;
  50. }
  51. .operate_box {
  52. padding: 10rpx 32rpx;
  53. /deep/ .u-button {
  54. width: 40%;
  55. }
  56. }
  57. </style>