|
|
@@ -23,6 +23,7 @@
|
|
23
|
23
|
<uni-popup-dialog ref="inputClose" mode="input" title="原因" @confirm="dialogSelectConfirm">
|
|
24
|
24
|
<view style="width:100%;">
|
|
25
|
25
|
<dictionaries-select :flag="flag" @post-select-dic="postSelectDic" style="margin-bottom: 20px;" ></dictionaries-select>
|
|
|
26
|
+ <uni-datetime-picker v-if="this.flag === 'GQYY'" v-model="dateTimeValue"></uni-datetime-picker>
|
|
26
|
27
|
<uni-easyinput type="textarea" autoHeight maxlength="100" v-model="cbreason" placeholder="请输入原因" v-show="value == '其他'"/>
|
|
27
|
28
|
</view>
|
|
28
|
29
|
</uni-popup-dialog>
|
|
|
@@ -98,6 +99,7 @@
|
|
98
|
99
|
Maintenancer: '', //维修人
|
|
99
|
100
|
maintenancerDate: [], // 人员信息
|
|
100
|
101
|
workOrderButton: [], // 工单按钮权限
|
|
|
102
|
+ dateTimeValue:this.$mHelper.getNowDate()+' 23:59:59',
|
|
101
|
103
|
cbreason: '', //审核原因
|
|
102
|
104
|
auditPlaceholder: '请输入不通过审核原因'
|
|
103
|
105
|
}
|
|
|
@@ -452,7 +454,7 @@
|
|
452
|
454
|
const addParams = {key: this.key,WorkOrderCode: this.wid, value: this.value,ReturnReason: this.cbreason}
|
|
453
|
455
|
this.workOrderContent("FaultRepair/ReturnWorkOrder",addParams)
|
|
454
|
456
|
}else if (this.flag === 'GQYY') {
|
|
455
|
|
- const addParams = {key: this.key,workordercode: this.wid, value: this.value, reason: this.cbreason}
|
|
|
457
|
+ const addParams = {key: this.key,workordercode: this.wid, value: this.value,expectfinishtime:this.dateTimeValue, reason: this.cbreason}
|
|
456
|
458
|
this.workOrderContent("FaultRepair/HangUp",addParams)
|
|
457
|
459
|
}else if (this.flag === 'TDYY') {
|
|
458
|
460
|
if(this.orderT == 'zx') {
|