| | |
| | | :labelStyle="{fontSize:'28rpx'}"> |
| | | <view class="content"> |
| | | <u-form-item label="对象电话" prop="transactionObjectTel" borderBottom required> |
| | | <u-input v-model="info.transactionObjectTel" border="none" placeholder="请输入" |
| | | <u-input v-model="info.transactionObjectTel" type="number" border="none" placeholder="请输入" |
| | | placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="交易金额" prop="transactionMoney" borderBottom required> |
| | | <u-input v-model="info.transactionMoney" border="none" placeholder="请输入" |
| | | <u-input type="digit" v-model="info.transactionMoney" border="none" placeholder="请输入" |
| | | placeholderClass="f-28 c-99" inputAlign="right"></u-input> |
| | | </u-form-item> |
| | | <u-form-item label="物品数量" prop="goodsNums" borderBottom required> |
| | |
| | | <u-upload :fileList="goodsImageUrls" :previewFullImage="uploadConfig.previewFullImage" |
| | | :accept="uploadConfig.acceptImg" :multiple="uploadConfig.multiple" |
| | | :maxCount="uploadConfig.maxCount" :capture="uploadConfig.capture" |
| | | @afterRead="afterReadImgs($event,'goodsImageUrls')" @delete="deletePics($event,'goodsImageUrls')"> |
| | | @afterRead="afterReadImgs($event,'goodsImageUrls')" |
| | | @delete="deletePics($event,'goodsImageUrls')"> |
| | | <view class="upload-item upload-icon flex_base"> |
| | | <u-icon name="/static/icon/upload.png" width="60rpx" height="60rpx"></u-icon> |
| | | </view> |
| | |
| | | userId: "" |
| | | }, |
| | | rules: { |
| | | 'transactionObjectTel': { |
| | | type: 'string', |
| | | required: true, |
| | | message: '请输入对象电话', |
| | | trigger: ['blur', 'change'] |
| | | }, |
| | | |
| | | 'transactionObjectTel': [{ |
| | | type: 'number', |
| | | required: true, |
| | | message: '请输入对象电话', |
| | | trigger: ['blur', 'change'] |
| | | }, |
| | | { |
| | | validator: (rule, value, callback) => { |
| | | return uni.$u.test.mobile(value); |
| | | }, |
| | | message: '手机号码不正确', |
| | | trigger: ['change', 'blur'] |
| | | } |
| | | ], |
| | | 'transactionMoney': { |
| | | type: 'string', |
| | | required: true, |
| | | message: '请输入交易金额', |
| | | trigger: ['blur', 'change'] |
| | |
| | | }) |
| | | } |
| | | this.$set(this.info, "eventType", option.type); |
| | | |
| | | |
| | | if(option.type == 1){ |
| | | |
| | | |
| | | if (option.type == 1) { |
| | | this.$set(this.info, "reportType", 3); |
| | | }else if(option.type == 2){ |
| | | } else if (option.type == 2) { |
| | | this.$set(this.info, "reportType", 4); |
| | | }else { |
| | | } else { |
| | | this.$set(this.info, "reportType", 5); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | let siteInfo = uni.getStorageSync("siteInfo"); |
| | | let userInfo = uni.getStorageSync("userInfo"); |
| | | this.$set(this.info, "houseCode", siteInfo.houseCode); |