|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
<view class="page-css"> |
|
|
|
|
<view class="repair_detail"> |
|
|
|
|
<view class="repair_title">提报信息</view> |
|
|
|
|
<!-- <iframe src="http://111.34.85.148:9008/jeewms/loginController.do?login" frameborder="0" ref="refed" width="100%" height="500px"></iframe> --> |
|
|
|
|
<!-- <iframe src="http://111.34.85.148:9008/jeewms/loginController.do?login" frameborder="0" ref="refed" width="100%" height="500px"></iframe> --> |
|
|
|
|
|
|
|
|
|
<u-form labelPosition="left" :rules="rules" ref="repairDetailsForm" :model="repairDetails" |
|
|
|
|
:label-width="200" class="repair_form"> |
|
|
|
|
@ -40,6 +40,13 @@ |
|
|
|
|
<view class="repair_title">派单信息</view> |
|
|
|
|
<u-form labelPosition="left" :rules="sendRules" ref="sendOrderForm" :model="sendOrder" :label-width="200" |
|
|
|
|
class="repair_form"> |
|
|
|
|
<!-- 维修类型 --> |
|
|
|
|
<u-form-item label="维修类型:" prop="name" :border-bottom="false" :required="true"> |
|
|
|
|
<u-input v-if="dataTypes == 2" v-model="repairTypeData.name" type="select" :border="true" |
|
|
|
|
@click="repairTypeShow = true" :disabled="disabled" /> |
|
|
|
|
<u-input v-if="dataTypes == 4" v-model="repairTypeData.name" :border="true" placeholder="" |
|
|
|
|
:disabled="disabled" :class="disabled ? 'sp-new-input-diabled' : ''" /> |
|
|
|
|
</u-form-item> |
|
|
|
|
<u-form-item label="维修人员:" prop="name" :border-bottom="false" :required="true"> |
|
|
|
|
<u-input v-if="dataTypes == 2" v-model="sendOrder.name" type="select" :border="true" |
|
|
|
|
@click="sendOrdersShow = true" :disabled="disabled" /> |
|
|
|
|
@ -83,25 +90,27 @@ |
|
|
|
|
</u-form-item> |
|
|
|
|
</u-form> |
|
|
|
|
</view> |
|
|
|
|
<view class="repair_detail" v-if="detailForm.status == 400 || detailForm.status == 300 || detailForm.status == 102"> |
|
|
|
|
<view class="repair_detail" |
|
|
|
|
v-if="detailForm.status == 400 || detailForm.status == 300 || detailForm.status == 102"> |
|
|
|
|
<view class="repair_title" v-if="detailForm.status == 400">维修人员驳回</view> |
|
|
|
|
<view class="repair_title" v-if="detailForm.status == 300">主管驳回</view> |
|
|
|
|
<view class="repair_title" v-if="detailForm.status == 102">客户驳回</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<u-form labelPosition="left" ref="sendOrderForm" :model="detailForm" :label-width="200" class="repair_form"> |
|
|
|
|
<u-form-item v-if="detailForm.status == 400" label="驳回原因:" prop="customerOpinion" :border-bottom="false"> |
|
|
|
|
<view>{{ detailForm.repaiRejectReason }}</view> |
|
|
|
|
<u-form-item v-if="detailForm.status == 400" label="驳回原因:" prop="customerOpinion" |
|
|
|
|
:border-bottom="false"> |
|
|
|
|
<view>{{ detailForm.repaiRejectReason }}</view> |
|
|
|
|
</u-form-item> |
|
|
|
|
<u-form-item v-else label="驳回原因:" prop="customerOpinion" :border-bottom="false"> |
|
|
|
|
<view>{{ detailForm.approveRemark }}</view> |
|
|
|
|
<view>{{ detailForm.approveRemark }}</view> |
|
|
|
|
</u-form-item> |
|
|
|
|
<!-- repaiRejectReason --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</u-form> |
|
|
|
|
</view> |
|
|
|
|
<!-- 维修详情 待提交维修方案 展示 --> |
|
|
|
|
<view class="repair_detail" |
|
|
|
|
v-if="(dataTypes == 4 && (detailForm.status == 401||detailForm.status == 300)) || (dataTypes == 3 && (detailForm.status == 402||detailForm.status == 102)) || (dataTypes == 1 && detailForm.status == 301)"> |
|
|
|
|
v-if="(dataTypes == 4 && (detailForm.status == 401 || detailForm.status == 300 || detailForm.status == 105)) || (dataTypes == 3 && (detailForm.status == 402 || detailForm.status == 102)) || (dataTypes == 1 && detailForm.status == 301)"> |
|
|
|
|
<view class="repair_title">维修详情</view> |
|
|
|
|
<u-form labelPosition="left" :rules="repairInfoRules" ref="repairInfoForm" :model="repairInfo" |
|
|
|
|
:label-width="140" class="repair_form"> |
|
|
|
|
@ -111,7 +120,9 @@ |
|
|
|
|
class="sp-new-input-diabled" /> |
|
|
|
|
</u-form-item> |
|
|
|
|
<u-form-item label="设备名称:" prop="deviceName" :border-bottom="false" :required="true"> |
|
|
|
|
<u-input v-model="deviceData.name" :border="true" placeholder="" :disabled="optionDisabled" :class="optionDisabled ? 'sp-new-input-diabled' : ''" type="select" @click="deviceShow = true" /> |
|
|
|
|
<u-input v-model="deviceData.name" :border="true" placeholder="" :disabled="optionDisabled" |
|
|
|
|
:class="optionDisabled ? 'sp-new-input-diabled' : ''" type="select" |
|
|
|
|
@click="deviceShow = true" /> |
|
|
|
|
</u-form-item> |
|
|
|
|
<u-form-item label="故障原因:" prop="faultReason" :border-bottom="false" :required="true"> |
|
|
|
|
<u-input v-model="repairInfo.faultReason" :border="true" placeholder="请输入" type="textarea" |
|
|
|
|
@ -139,7 +150,7 @@ |
|
|
|
|
<view class="material-text">型号:{{ item.xh }}</view> |
|
|
|
|
<view class="material-text">数量:{{ item.goodsNum }}</view> |
|
|
|
|
<view class="material-text">单位:{{ item.unit }}</view> |
|
|
|
|
<view class="material-text">价格:{{ item.materialPrice}}</view> |
|
|
|
|
<view class="material-text">价格:{{ item.materialPrice }}</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<u-button v-if="!optionDisabled" size="medium" :plain="true" |
|
|
|
|
@ -148,15 +159,16 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<block |
|
|
|
|
v-if="(dataTypes == 3 && (detailForm.status == 402||detailForm.status == 102)) || (dataTypes == 1 && detailForm.status == 301) && repairInfo.isMaterial == 1"> |
|
|
|
|
v-if="(dataTypes == 3 && (detailForm.status == 402 || detailForm.status == 102)) || (dataTypes == 1 && detailForm.status == 301) && repairInfo.isMaterial == 1"> |
|
|
|
|
<u-form-item label="总价:" prop="reportPeople" :border-bottom="false"> |
|
|
|
|
<view>{{ approveInfo.totalPrice }}</view> |
|
|
|
|
</u-form-item> |
|
|
|
|
<u-form-item label="折扣:" prop="reportPeople" :border-bottom="false"> |
|
|
|
|
<!-- <betone-new-input label="" v-model="approveInfo.discount" placeholder="" type="number" |
|
|
|
|
@changevalue="changDiscount" />折 --> |
|
|
|
|
<u-input v-model="approveInfo.discount" :border="true" placeholder="" :disabled="optionPiceDisabled" |
|
|
|
|
:class="optionPiceDisabled ? 'sp-new-input-diabled' : ''" @input="changDiscount" type="number"/>折 |
|
|
|
|
<u-input v-model="approveInfo.discount" :border="true" placeholder="" |
|
|
|
|
:disabled="optionPiceDisabled" :class="optionPiceDisabled ? 'sp-new-input-diabled' : ''" |
|
|
|
|
@input="changDiscount" type="number" />折 |
|
|
|
|
</u-form-item> |
|
|
|
|
<u-form-item label="折扣后的金额:" prop="reportPeople" :border-bottom="false" :label-width="240"> |
|
|
|
|
<view>{{ approveInfo.discountPrice }}</view> |
|
|
|
|
@ -166,7 +178,7 @@ |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<!-- 维修负责人 审批 --> |
|
|
|
|
<view class="repair_detail" v-if="dataTypes == 3 && (detailForm.status == 402||detailForm.status == 102)"> |
|
|
|
|
<view class="repair_detail" v-if="dataTypes == 3 && (detailForm.status == 402 || detailForm.status == 102)"> |
|
|
|
|
<view class="repair_title">主管审批</view> |
|
|
|
|
<u-form labelPosition="left" ref="repairInfoForm" :model="approveInfo" :label-width="140" |
|
|
|
|
class="repair_form"> |
|
|
|
|
@ -213,17 +225,20 @@ |
|
|
|
|
<u-button size="medium" type="primary" @click="sendOrderSubmit()">确定派单</u-button> |
|
|
|
|
</view> |
|
|
|
|
<!-- 维修人员 提交维修方案 --> |
|
|
|
|
<view class="repair-btn" style="margin-right: 32rpx;width:100%" v-if="dataTypes == 4 && (detailForm.status == 401||detailForm.status == 300)"> |
|
|
|
|
<view class="repair-btn" style="margin-right: 32rpx;width:100%" |
|
|
|
|
v-if="dataTypes == 4 && (detailForm.status == 401 || detailForm.status == 300 || detailForm.status == 105)"> |
|
|
|
|
<u-button size="medium" @click="endOrderCancel()">取消</u-button> |
|
|
|
|
<u-button size="medium" type="primary" @click="servicemanSubmit()">提交</u-button> |
|
|
|
|
</view> |
|
|
|
|
<!-- 维修负责人 审批 --> |
|
|
|
|
<view class="repair-btn" style="margin-right: 32rpx;width:100%" v-if="dataTypes == 3 && (detailForm.status == 102||detailForm.status == 402)"> |
|
|
|
|
<view class="repair-btn" style="margin-right: 32rpx;width:100%" |
|
|
|
|
v-if="dataTypes == 3 && (detailForm.status == 102 || detailForm.status == 402)"> |
|
|
|
|
<u-button size="medium" @click="endOrderCancel()">取消</u-button> |
|
|
|
|
<u-button size="medium" type="primary" @click="approveSubmit()">提交</u-button> |
|
|
|
|
</view> |
|
|
|
|
<!-- 客户确认维修方案 --> |
|
|
|
|
<view class="repair-btn" style="margin-right: 32rpx;width:100%" v-if="dataTypes == 1 && detailForm.status == 301"> |
|
|
|
|
<view class="repair-btn" style="margin-right: 32rpx;width:100%" |
|
|
|
|
v-if="dataTypes == 1 && detailForm.status == 301"> |
|
|
|
|
<u-button size="medium" @click="endOrderCancel()">取消</u-button> |
|
|
|
|
<u-button size="medium" type="primary" @click="customerSubmit()">提交</u-button> |
|
|
|
|
</view> |
|
|
|
|
@ -284,9 +299,12 @@ |
|
|
|
|
</view> |
|
|
|
|
</betone-modal> |
|
|
|
|
<!-- 选择设备 --> |
|
|
|
|
<u-select v-model="deviceShow" :list="deviceList" @confirm="deviceConfirm" :isShowsearch="true" |
|
|
|
|
value-name="id" title="选择设备"></u-select> |
|
|
|
|
<u-select v-model="deviceShow" :list="deviceList" @confirm="deviceConfirm" :isShowsearch="true" value-name="id" |
|
|
|
|
title="选择设备"></u-select> |
|
|
|
|
<betone-loading ref="BetLoading" /> |
|
|
|
|
<!-- 选择维修类型 --> |
|
|
|
|
<u-select v-model="repairTypeShow" :list="repairTypeList" @confirm="repairTypeConfirm" :isShowsearch="true" |
|
|
|
|
value-name="dictKey" title="选择维修类型"></u-select> |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
@ -301,10 +319,10 @@ export default { |
|
|
|
|
return this.$store.state.dataType == 2 ? false : true |
|
|
|
|
}, |
|
|
|
|
optionDisabled() { |
|
|
|
|
return (this.$store.state.dataType == 3 && (this.detailForm.status == 402||this.detailForm.status == 102)) || (this.$store.state.dataType == 1 && this.detailForm.status == 301) ? true : false |
|
|
|
|
return (this.$store.state.dataType == 3 && (this.detailForm.status == 402 || this.detailForm.status == 102)) || (this.$store.state.dataType == 1 && this.detailForm.status == 301) ? true : false |
|
|
|
|
}, |
|
|
|
|
optionPiceDisabled(){ |
|
|
|
|
return (this.$store.state.dataType == 3 && (this.detailForm.status == 402||this.detailForm.status == 102)) ? false : true |
|
|
|
|
optionPiceDisabled() { |
|
|
|
|
return (this.$store.state.dataType == 3 && (this.detailForm.status == 402 || this.detailForm.status == 102)) ? false : true |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
@ -426,29 +444,37 @@ export default { |
|
|
|
|
|
|
|
|
|
submitOrderShow: false,//维修人员接单确认 |
|
|
|
|
|
|
|
|
|
deviceShow:false,//选择设备 |
|
|
|
|
deviceData:{ |
|
|
|
|
deviceShow: false,//选择设备 |
|
|
|
|
deviceData: { |
|
|
|
|
repairPerson: '',//维修人员 id |
|
|
|
|
name: '',//维修人员名字 |
|
|
|
|
}, |
|
|
|
|
deviceList:[],//设备列表 |
|
|
|
|
deviceList: [],//设备列表 |
|
|
|
|
repairTypeShow: false,//维修类型 |
|
|
|
|
repairTypeList: [],//维修类型列表 |
|
|
|
|
repairTypeData: { |
|
|
|
|
name: '', |
|
|
|
|
key: '', |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onReady() { |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
onShow() { |
|
|
|
|
this.getType()//维修类型列表 |
|
|
|
|
this.getRepairPersons()//获取维修人员列表 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.orderId = this.$route.query.id |
|
|
|
|
this.getDtails() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.userInfo = uni.getStorageSync("userinfo"); |
|
|
|
|
// 维修人员 获取物料选择 |
|
|
|
|
if (this.dataTypes == 4) { |
|
|
|
|
this.getGoodsList() |
|
|
|
|
} |
|
|
|
|
this.initDate() |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getDtails() { |
|
|
|
|
@ -475,31 +501,36 @@ export default { |
|
|
|
|
let data = 0 |
|
|
|
|
if (this.detailForm.materials.length > 0) { |
|
|
|
|
this.detailForm.materials.forEach(item => { |
|
|
|
|
item.materialPrice=item.materialPrice |
|
|
|
|
item.materialPrice = item.materialPrice |
|
|
|
|
data = data + item.materialPrice |
|
|
|
|
item.goodsNum = item.materialCount |
|
|
|
|
item.name = item.materialName |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
this.approveInfo.discount = |
|
|
|
|
} |
|
|
|
|
this.approveInfo.discount = |
|
|
|
|
|
|
|
|
|
// 获取审批总价 |
|
|
|
|
this.approveInfo.totalPrice = data |
|
|
|
|
this.approveInfo.discount = this.detailForm.discount<0?null:this.detailForm.discount |
|
|
|
|
this.approveInfo.discountPrice = this.detailForm.discountPrice<0?null:this.detailForm.discountPrice |
|
|
|
|
// 获取审批总价 |
|
|
|
|
this.approveInfo.totalPrice = data |
|
|
|
|
this.approveInfo.discount = this.detailForm.discount < 0 ? null : this.detailForm.discount |
|
|
|
|
this.approveInfo.discountPrice = this.detailForm.discountPrice < 0 ? null : this.detailForm.discountPrice |
|
|
|
|
|
|
|
|
|
// 设备名称 |
|
|
|
|
if(this.detailForm.status != 201){ |
|
|
|
|
if (this.detailForm.status != 201) { |
|
|
|
|
this.deviceData.repairPerson = this.detailForm.deviceId |
|
|
|
|
this.deviceData.name = this.detailForm.deviceName |
|
|
|
|
} |
|
|
|
|
if(this.detailForm.status == 401){ |
|
|
|
|
if (this.detailForm.status == 401 || this.detailForm.status == 105) { |
|
|
|
|
this.deviceData.repairPerson = '' |
|
|
|
|
this.deviceData.name = '' |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 维修类型 |
|
|
|
|
let type_ = this.repairTypeList.filter(v => v.dictKey == this.detailForm.repairType) |
|
|
|
|
this.repairTypeData.name = type_.length <= 0 ? '' : type_[0].dictValue |
|
|
|
|
this.repairTypeData.key = type_.length <= 0 ? '' : type_[0].dictKey |
|
|
|
|
|
|
|
|
|
this.getDeviceList() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
@ -543,13 +574,16 @@ export default { |
|
|
|
|
deviceName: this.repairDetails.deviceName, |
|
|
|
|
dispatchTime: dateFormat("yyyy-MM-dd hh:mm:ss", new Date()), |
|
|
|
|
remark: this.repairDetails.remark, |
|
|
|
|
repairType: Number(this.repairTypeData.key) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
let sendOrderQuery_ = { |
|
|
|
|
id: this.orderId, |
|
|
|
|
repairPerson: this.sendOrder.repairPerson, |
|
|
|
|
planCompleteTime: this.sendOrder.planCompleteTime ? this.sendOrder.planCompleteTime + ' 00:00:00' : '', |
|
|
|
|
remark: this.repairDetails.remark, |
|
|
|
|
customerOpinion: this.sendOrder.customerOpinion |
|
|
|
|
customerOpinion: this.sendOrder.customerOpinion, |
|
|
|
|
repairType: Number(this.repairTypeData.key) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.$u.api.workOrderupdate(updayeQuery).then(res => { |
|
|
|
|
@ -622,8 +656,8 @@ export default { |
|
|
|
|
uni.showToast({ title: "申领数量不能为0", icon: "none" }); |
|
|
|
|
return false |
|
|
|
|
} |
|
|
|
|
selected.forEach(item=>{ |
|
|
|
|
item.materialPrice = item.goodsNum*item.purchasePrice |
|
|
|
|
selected.forEach(item => { |
|
|
|
|
item.materialPrice = item.goodsNum * item.purchasePrice |
|
|
|
|
}) |
|
|
|
|
this.sendOrder.materialsData = JSON.parse(JSON.stringify(selected)) |
|
|
|
|
this.aterialShow = false |
|
|
|
|
@ -693,7 +727,7 @@ export default { |
|
|
|
|
uni.showToast({ title: "申领数量不能为0", icon: "none" }); |
|
|
|
|
return false |
|
|
|
|
} |
|
|
|
|
if(this.deviceData.name==''){ |
|
|
|
|
if (this.deviceData.name == '') { |
|
|
|
|
uni.showToast({ title: "请选择设备", icon: "none" }); |
|
|
|
|
return false |
|
|
|
|
} |
|
|
|
|
@ -709,6 +743,7 @@ export default { |
|
|
|
|
materialPrice: item.materialPrice, |
|
|
|
|
materialCount: item.goodsNum,//领用数量 |
|
|
|
|
orderId: this.detailForm.id, |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
@ -718,16 +753,27 @@ export default { |
|
|
|
|
processMethod: this.repairInfo.dealMethods, |
|
|
|
|
isNeedMaterial: this.repairInfo.isMaterial, |
|
|
|
|
materials: data, |
|
|
|
|
|
|
|
|
|
deviceId: this.deviceData.repairPerson, |
|
|
|
|
deviceName: this.deviceData.name, |
|
|
|
|
repairType: this.detailForm.repairType, |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
// 紧急维修 |
|
|
|
|
if (this.detailForm.repairType == 1) { |
|
|
|
|
query.discountPrice = data.reduce((sum, item) => sum + item.materialPrice, 0).toFixed(2) |
|
|
|
|
query.totalPrice = data.reduce((sum, item) => sum + item.materialPrice, 0).toFixed(2) |
|
|
|
|
query.discount = 0 |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
this.$u.api.workOrderupdate(query).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
|
|
|
|
|
let query1 = { |
|
|
|
|
id: this.detailForm.id, |
|
|
|
|
deviceId:this.deviceData.repairPerson, |
|
|
|
|
deviceName:this.deviceData.name |
|
|
|
|
deviceId: this.deviceData.repairPerson, |
|
|
|
|
deviceName: this.deviceData.name |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.$u.api.servicemanSubmit(query1).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
uni.showToast({ title: "提交成功", icon: "none" }); |
|
|
|
|
@ -881,7 +927,8 @@ export default { |
|
|
|
|
// 维修人员确认接单 |
|
|
|
|
submitOrderShowFn() { |
|
|
|
|
let query_ = { |
|
|
|
|
id: this.detailForm.id |
|
|
|
|
id: this.detailForm.id, |
|
|
|
|
repairType: this.detailForm.repairType, |
|
|
|
|
} |
|
|
|
|
this.$u.api.servicemanReceive(query_).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
@ -898,12 +945,12 @@ export default { |
|
|
|
|
repairOrderSubmit() { |
|
|
|
|
this.submitOrderShow = true |
|
|
|
|
}, |
|
|
|
|
// 设备列表 |
|
|
|
|
getDeviceList() { |
|
|
|
|
let query={ |
|
|
|
|
current:1, |
|
|
|
|
size:9999, |
|
|
|
|
limsId:this.detailForm.reportUnit, |
|
|
|
|
// 设备列表 |
|
|
|
|
getDeviceList() { |
|
|
|
|
let query = { |
|
|
|
|
current: 1, |
|
|
|
|
size: 9999, |
|
|
|
|
limsId: this.detailForm.reportUnit, |
|
|
|
|
} |
|
|
|
|
this.$u.api.getDeviceList(query).then(res => { |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
@ -915,10 +962,31 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 选择设备 |
|
|
|
|
deviceConfirm(e){ |
|
|
|
|
deviceConfirm(e) { |
|
|
|
|
this.deviceData.name = e[0].label |
|
|
|
|
this.deviceData.repairPerson = e[0].value |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
getType() { |
|
|
|
|
let _params = { |
|
|
|
|
current: 1, |
|
|
|
|
size: 100, |
|
|
|
|
parentId: "1869925082102702082", |
|
|
|
|
}; |
|
|
|
|
this.$u.api |
|
|
|
|
.getChildList(_params) |
|
|
|
|
.then((res) => { |
|
|
|
|
// this.repairTypeList = res.data |
|
|
|
|
let data_ = res.data |
|
|
|
|
data_.forEach(i => { |
|
|
|
|
this.repairTypeList.push({ ...i, label: i.dictValue }) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
.catch((err) => { }); |
|
|
|
|
}, |
|
|
|
|
repairTypeConfirm(e) { |
|
|
|
|
this.repairTypeData.name = e[0].label |
|
|
|
|
this.repairTypeData.key = e[0].value |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|