| | |
| | | <!-- <view class="text-gray margin-bottom-lg">—————————管理员领用备件——————————</view> --> |
| | | <uni-forms-item :label-width="100" required name="sparePartDescription" label="备件描述:"> |
| | | <uni-easyinput type="textarea" v-model="ScanData.sparePartDescription" placeholder="请输入备件描述" |
| | | :disabled="isRuning" /> |
| | | :disabled="isRuning"/> |
| | | </uni-forms-item> |
| | | |
| | | </uni-group> |
| | |
| | | } |
| | | |
| | | |
| | | // if (this.formData.reportStatus == 'UNDER_REPAIR' && this.formData.isSpare == 0 && this.flag !== 'task') { |
| | | // if (this.formData.faultReason == undefined || this.formData.faultReason == null || |
| | | // this |
| | | // .formData.faultReason == |
| | | // '') { |
| | | |
| | | // uni.showToast({ |
| | | // icon: 'none', |
| | | // title: '故障原因不能为空' |
| | | // }); |
| | | // return false; |
| | | // } |
| | | // if (this.formData.repairDescription == undefined || this.formData.repairDescription == null || |
| | | // this |
| | | // .formData.repairDescription == |
| | | // '') { |
| | | |
| | | // uni.showToast({ |
| | | // icon: 'none', |
| | | // title: '维修结果不能为空' |
| | | // }); |
| | | // return false; |
| | | // } |
| | | |
| | | // } |
| | | // if (this.formData.reportStatus == 'UNDER_REPAIR' && this.formData.isSpare == 1 && this.flag !== 'task') { |
| | | // if (this.formData.faultReason == undefined || this.formData.faultReason == null || |
| | | // this |
| | | // .formData.faultReason == |
| | | // '') { |
| | | |
| | | // uni.showToast({ |
| | | // icon: 'none', |
| | | // title: '故障原因不能为空' |
| | | // }); |
| | | // return false; |
| | | // } |
| | | // if (this.formData.repairDescription == undefined || this.formData.repairDescription == null || |
| | | // this |
| | | // .formData.repairDescription == |
| | | // '') { |
| | | |
| | | // uni.showToast({ |
| | | // icon: 'none', |
| | | // title: '维修结果不能为空' |
| | | // }); |
| | | // return false; |
| | | // } |
| | | |
| | | // } |
| | | if (this.formData.reportStatus == 'UNDER_REPAIR' && this.flag !== 'task') { |
| | | |
| | | if (this.formData.reportStatus == 'UNDER_REPAIR' && this.flag !== 'task' && this.formData.isSpare == 0) { |
| | | if (this.formData.faultReason == undefined || this.formData.faultReason == null || this.formData.faultReason == '') { |
| | | uni.showToast({ |
| | | icon: 'none', |