Merge branch 'master' of http://git.scdxtc.com/chen/flying-monkey
commit
d2d47f5355
|
@ -20,37 +20,36 @@
|
||||||
|
|
||||||
<view class="work-order-from">
|
<view class="work-order-from">
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">工单编号:</view>
|
<view class="title flexs">工单编号:</view>
|
||||||
<input type="text" disabled class="input" value="GD20211203-001" />
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="li">
|
|
||||||
<view class="title">项目编号:</view>
|
|
||||||
<input type="text" disabled class="input" value="GD20211203-001" />
|
<input type="text" disabled class="input" value="GD20211203-001" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">项目名称:</view>
|
<view class="title flexs">项目编号:</view>
|
||||||
|
<input type="text" disabled class="input" value="GD20211203-001" />
|
||||||
|
</view>
|
||||||
|
<view class="li">
|
||||||
|
<view class="title flexs">项目名称:</view>
|
||||||
<input type="text" disabled class="input input-black" value="湖南省林业科学院11楼会议室P2.5" />
|
<input type="text" disabled class="input input-black" value="湖南省林业科学院11楼会议室P2.5" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">产品类型:</view>
|
<view class="title flexs">产品类型:</view>
|
||||||
<input type="text" class="input" v-model="productType" placeholder="请填写产品类型" :style="{color: productType!='' ? '#000' : ''}" />
|
<input type="text" class="input" v-model="productType" placeholder="请填写产品类型" :style="{color: productType!='' ? '#000' : ''}" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">安装位置:</view>
|
<view class="title flexs">安装位置:</view>
|
||||||
<input type="text" class="input" v-model="installLocation" placeholder="请填写安装位置" :style="{color: installLocation!='' ? '#000' : ''}" />
|
<input type="text" class="input" v-model="installLocation" placeholder="请填写安装位置(例:详细地址+某某栋11楼会议室)" :style="{color: installLocation!='' ? '#000' : ''}" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">故障类型:</view>
|
<view class="title flexs">故障类型:</view>
|
||||||
<input type="text" class="input" v-model="faultType" placeholder="请填写故障类型" :style="{color: faultType!='' ? '#000' : ''}" />
|
<input type="text" class="input" v-model="faultType" placeholder="请填写故障类型(例:供电不足)" :style="{color: faultType!='' ? '#000' : ''}" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">紧急程度:</view>
|
<view class="title flexs">紧急程度:</view>
|
||||||
<input type="text" disabled class="input" placeholder="" value="紧急" />
|
<input type="text" disabled class="input" placeholder="" value="紧急" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title"> 故障说明:</view>
|
<view class="title flexs"> 故障说明:</view>
|
||||||
<textarea auto-height class="input" v-model="faultExplain" placeholder="请输入故障说明" :style="{color: faultExplain!='' ? '#000' : ''}" />
|
<textarea class="input line-h36" v-model="faultExplain" style="height: 110rpx;" placeholder="请输入故障说明" :style="{color: faultExplain!='' ? '#000' : ''}" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title flexs">故障图片:</view>
|
<view class="title flexs">故障图片:</view>
|
||||||
|
@ -58,25 +57,27 @@
|
||||||
<view v-for="(item,index) in faultImgList" :key="index" v-if="faultImgList.length!=0">
|
<view v-for="(item,index) in faultImgList" :key="index" v-if="faultImgList.length!=0">
|
||||||
<image class="img" :src="item" mode="aspectFill" ></image>
|
<image class="img" :src="item" mode="aspectFill" ></image>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="faultImgList.length!=2" @tap="chooseImg" class="img disjcac fon70" style="background-color: #DDDDDD;color: #EEEEEE;">+</view>
|
<view v-if="faultImgList.length!=2" @tap="chooseImg" class="img disjcac" style="background-color: #DDDDDD;">
|
||||||
|
<image src="/static/iocn/jia.png" style="width: 80rpx;height: 80rpx;position: relative!important;" lazy-load></image>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="work-order-from">
|
<view class="work-order-from">
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">报 单 人:</view>
|
<view class="title flexs">报 单 人:</view>
|
||||||
<input type="text" disabled class="input" placeholder="" value="林某" />
|
<input type="text" disabled class="input" placeholder="" value="林某" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">报单时间:</view>
|
<view class="title flexs">报单时间:</view>
|
||||||
<input type="text" disabled disabled class="input" placeholder="" value="2021/12/3 12:00:05" />
|
<input type="text" disabled disabled class="input" placeholder="" value="2021/12/3 12:00:05" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">服务方式:</view>
|
<view class="title flexs">服务方式:</view>
|
||||||
<input type="text" v-model="serviceMode" class="input input-black" placeholder="请填写服务方式" :style="{color: serviceMode!='' ? '#000' : ''}" />
|
<input type="text" v-model="serviceMode" class="input input-black" placeholder="请填写服务方式(例:上门服务)" :style="{color: serviceMode!='' ? '#000' : ''}" />
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">定位地址:</view>
|
<view class="title flexs">定位地址:</view>
|
||||||
<input type="text" disabled class="input" placeholder="定位地址" />
|
<input type="text" disabled class="input" placeholder="定位地址" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -98,12 +99,13 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
productType:'Q2.5-E', // 产品类型
|
productType:'', // 产品类型
|
||||||
installLocation:'详细地址+某某栋11楼会议室', // 安装位置
|
installLocation:'', // 安装位置
|
||||||
faultType:'供电不足', // 故障类型
|
faultType:'', // 故障类型
|
||||||
faultExplain:'', // 故障说明
|
faultExplain:'', // 故障说明
|
||||||
faultImgList:[],
|
faultImgList:[], // 故障图片
|
||||||
serviceMode: '' ,// 服务方式
|
serviceMode: '' ,// 服务方式
|
||||||
|
flag:true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -119,10 +121,44 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goWorkOrderThree() {
|
goWorkOrderThree() {
|
||||||
uni.navigateTo({
|
if(this.checkEmpty()){
|
||||||
url: "/pages/workOrder/workorderTwo"
|
if(this.flag) {
|
||||||
})
|
this.flag = false;
|
||||||
}
|
let params = {
|
||||||
|
a:this.productType,
|
||||||
|
b:this.installLocation,
|
||||||
|
c:this.faultType,
|
||||||
|
d:this.faultExplain,
|
||||||
|
f:this.faultImgList.join(','),
|
||||||
|
e:this.serviceMode
|
||||||
|
}
|
||||||
|
console.log(params);
|
||||||
|
uni.navigateTo({
|
||||||
|
url: "/pages/workOrder/workorderTwo"
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 判空
|
||||||
|
checkEmpty(){
|
||||||
|
let result = false;
|
||||||
|
if(!this.productType) {
|
||||||
|
this.$toolAll.tools.showToast('请填写产品类型');
|
||||||
|
} else if(!this.installLocation) {
|
||||||
|
this.$toolAll.tools.showToast('请填写安装位置');
|
||||||
|
} else if(!this.faultType) {
|
||||||
|
this.$toolAll.tools.showToast('请填写故障类型');
|
||||||
|
} else if(!this.faultExplain) {
|
||||||
|
this.$toolAll.tools.showToast('请填写故障说明');
|
||||||
|
} else if(this.faultImgList.length==0) {
|
||||||
|
this.$toolAll.tools.showToast('请添加故障图片');
|
||||||
|
} else if(!this.serviceMode) {
|
||||||
|
this.$toolAll.tools.showToast('请填写服务方式');
|
||||||
|
} else {
|
||||||
|
result = true;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -187,9 +223,7 @@
|
||||||
|
|
||||||
.work-order-from .li .title {
|
.work-order-from .li .title {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
width: 133rpx;
|
/* width: 150rpx; */
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.work-order-from .li .input {
|
.work-order-from .li .input {
|
||||||
|
|
|
@ -5,280 +5,155 @@
|
||||||
<view slot="content" returnColor="#c2c2c2" style="margin: -20rpx -25rpx 0rpx;">
|
<view slot="content" returnColor="#c2c2c2" style="margin: -20rpx -25rpx 0rpx;">
|
||||||
<view class="work-order-schedule">
|
<view class="work-order-schedule">
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="icon icon-after">
|
<view class="icon icon-after">1</view>
|
||||||
1
|
<view class="text">签到执行</view>
|
||||||
</view>
|
|
||||||
<view class="text">
|
|
||||||
签到执行
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="icon on icon-after">
|
<view class="icon on icon-after">2</view>
|
||||||
2
|
<view class="text">填写维保单</view>
|
||||||
|
|
||||||
</view>
|
|
||||||
<view class="text">
|
|
||||||
填写维保单
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="icon">
|
<view class="icon">3</view>
|
||||||
3
|
<view class="text">结算审核</view>
|
||||||
|
|
||||||
</view>
|
|
||||||
<view class="text">
|
|
||||||
结算审核
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="work-order-from">
|
<view class="work-order-from">
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">工单编号:</view>
|
||||||
工单编号:
|
<input type="text" class="input" disabled value="GD20211203-001" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input" placeholder="" value="GD20211203-001" />
|
|
||||||
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="li">
|
|
||||||
<view class="title">
|
|
||||||
项目编号:
|
|
||||||
</view>
|
|
||||||
<input type="text" class="input" placeholder="" value="XM20211203-001" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">项目编号:</view>
|
||||||
项目名称:
|
<input type="text" class="input" disabled value="XM20211203-001" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="湖南省林业科学院11楼会议室P2.5" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">项目名称:</view>
|
||||||
产品类型:
|
<input type="text" class="input input-black" disabled value="湖南省林业科学院11楼会议室P2.5" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="Q2.5-E" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">产品类型:</view>
|
||||||
安装位置:
|
<input type="text" class="input input-black" disabled value="Q2.5-E" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="详细地址+某某栋11楼会议室" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">安装位置:</view>
|
||||||
故障类型:
|
<input type="text" class="input input-black" disabled value="详细地址+某某栋11楼会议室" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="供电不足" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">故障类型:</view>
|
||||||
服务方式:
|
<input type="text" class="input input-black" disabled value="供电不足" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="上门服务" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">服务方式:</view>
|
||||||
|
<input type="text" class="input input-black" disabled value="上门服务" />
|
||||||
故障说明:
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<textarea auto-height class="input input-black"
|
|
||||||
value="*********************************************************************************************************"
|
|
||||||
placeholder="" />
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">故障说明:</view>
|
||||||
故障图片:
|
<textarea auto-height disabled class="input input-black" value="确实供电不足" />
|
||||||
</view>
|
</view>
|
||||||
|
<view class="li">
|
||||||
|
<view class="title">故障图片:</view>
|
||||||
<view class="input add-display">
|
<view class="input add-display">
|
||||||
<view class="">
|
<view class="">
|
||||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
<image class="img" src="../../static/del/img001.png" mode="aspectFill" lazy-load></image>
|
||||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
<image class="img" src="../../static/del/img001.png" mode="aspectFill" lazy-load></image>
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
<view class="add-img">
|
|
||||||
<image class="icon" src="../../static/iocn/jia.png" mode=""></image>
|
|
||||||
</view>
|
</view>
|
||||||
|
<!-- <view class="add-img">
|
||||||
|
<image class="icon" src="../../static/iocn/jia.png" mode="" lazy-load></image>
|
||||||
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">开始时间:</view>
|
||||||
开始时间:
|
<input type="text" disabled class="input" placeholder="请选择开始时间" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input " placeholder="" value="2022-01-25 09:39" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">结束时间:</view>
|
||||||
结束时间:
|
<input type="text" class="input input-black" placeholder="请选择结束时间" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="2022-01-25 15:30" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">维保用时:</view>
|
||||||
维保用时:
|
<input type="text" disabled class="input " placeholder="(例:5小时51分钟)" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input " placeholder="" value="5小时51分钟" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">维保费用:</view>
|
||||||
维保费用:
|
<input type="digit" disabled class="input input-black" placeholder="" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="¥500.00元" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">等待时长:</view>
|
||||||
等待时长:
|
<input type="text" disabled class="input" placeholder="请填写等待时长" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input " placeholder="" value="1天6小时35分钟" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">主维保人:</view>
|
||||||
主维保人:
|
<input type="text" disabled class="input input-black" value="陈志远" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="陈志远" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">更换配件:</view>
|
||||||
更换配件:
|
<view class="rideo" style="margin-left: 14rpx;">
|
||||||
</view>
|
|
||||||
<view class="rideo">
|
|
||||||
<view class="isrideo" @click="isrideoFun(true)">
|
<view class="isrideo" @click="isrideoFun(true)">
|
||||||
<view class="icon " :class="isrideo?'on':''">
|
<view class="icon " :class="isrideo?'on':''">
|
||||||
<view class="icon-content">
|
<view class="icon-content"></view>
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="">
|
|
||||||
是
|
|
||||||
</view>
|
</view>
|
||||||
|
<view class="">是</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="isrideo" @click="isrideoFun(false)">
|
<view class="isrideo" @click="isrideoFun(false)">
|
||||||
<view class="icon" :class="isrideo?'':'on'">
|
<view class="icon" :class="isrideo?'':'on'">
|
||||||
<view class="icon-content">
|
<view class="icon-content"></view>
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="">
|
|
||||||
否
|
|
||||||
</view>
|
</view>
|
||||||
|
<view class="">否</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<view class="work-order-from">
|
<view class="work-order-from">
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">工作描述:</view>
|
||||||
|
<textarea maxlength="-1" class="input input-black line-h36" placeholder="请填写工作描述" style="height: 110rpx;" />
|
||||||
工作描述:
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<textarea auto-height class="input input-black"
|
|
||||||
value="*********************************************************************************************************"
|
|
||||||
placeholder="" />
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">维保图片:</view>
|
||||||
维保图片:
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="input add-display">
|
<view class="input add-display">
|
||||||
<view class="">
|
<view class="posir" v-if="maintenanceImgList.length!=0" v-for="(item,index) in maintenanceImgList" :key="index">
|
||||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
<image class="img" :src="item" mode="aspectFill" lazy-load></image>
|
||||||
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
|
<i @tap="delImg(index)" class="icon icon-del-white posia" style="font-size: 24rpx;top: 10rpx;right: 20rpx;"></i>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="add-img" @tap="chooseImg">
|
||||||
|
|
||||||
<view class="add-img">
|
|
||||||
<image class="icon" src="../../static/iocn/jia.png" mode=""></image>
|
<image class="icon" src="../../static/iocn/jia.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">故障原因:</view>
|
||||||
|
<textarea maxlength="-1" class="input input-black line-h36" placeholder="请填写故障原因" style="height: 110rpx;" />
|
||||||
故障原因:
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<textarea auto-height class="input input-black"
|
|
||||||
value="*********************************************************************************************************"
|
|
||||||
placeholder="" />
|
|
||||||
</view>
|
</view>
|
||||||
<view class="li">
|
<view class="li">
|
||||||
<view class="title">
|
<view class="title">维保人员:</view>
|
||||||
维保人员:
|
<input type="text" class="input input-black" placeholder="请填写维保人员" />
|
||||||
</view>
|
|
||||||
<input type="text" class="input input-black" placeholder="" value="罗帅 陈志远" />
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cost-breakdown">
|
<view class="cost-breakdown">
|
||||||
<view class="cost-breakdown-title">
|
<view class="cost-breakdown-title">
|
||||||
<view class="title">
|
<view class="title">费用明细</view>
|
||||||
费用明细
|
<view @click="addMountingsList()" class="btn">添加配件</view>
|
||||||
</view>
|
|
||||||
<view @click="addMountingsList()" class="btn">
|
|
||||||
添加配件
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="cost-breakdown-content">
|
<view class="cost-breakdown-content">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<view class="li">
|
<view class="li">序号</view>
|
||||||
序号
|
<view class="li">配件名称</view>
|
||||||
</view>
|
<view class="li">数量</view>
|
||||||
<view class="li">
|
<view class="li">价格</view>
|
||||||
配件名称
|
|
||||||
</view>
|
|
||||||
<view class="li">
|
|
||||||
数量
|
|
||||||
</view>
|
|
||||||
<view class="li">
|
|
||||||
|
|
||||||
价格
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="text" v-for="(item,index) in accessoriesData">
|
<view class="text" v-for="(item,index) in accessoriesData">
|
||||||
<view class="li">
|
<view class="li">{{item.id}}</view>
|
||||||
{{item.id}}
|
<view class="li">{{item.title}}</view>
|
||||||
</view>
|
<view class="li">{{item.num}}</view>
|
||||||
<view class="li">
|
<view class="li">{{item.price}}元</view>
|
||||||
{{item.title}}
|
|
||||||
</view>
|
|
||||||
<view class="li">
|
|
||||||
{{item.num}}
|
|
||||||
</view>
|
|
||||||
<view class="li">
|
|
||||||
{{item.price}}元
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<button class="submit-button" @click="goWorkorderTwo()" type="default">下一步</button>
|
<button class="submit-button" @click="goWorkorderTwo()" type="default">下一步</button>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</container-subgroup-two>
|
</container-subgroup-two>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -316,10 +191,28 @@
|
||||||
price: "430"
|
price: "430"
|
||||||
|
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
|
maintenanceImgList:[]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 维保图片选择
|
||||||
|
chooseImg(){
|
||||||
|
uni.chooseImage({
|
||||||
|
count:9,
|
||||||
|
sourceType:['album','camera'],
|
||||||
|
success: (res) => {
|
||||||
|
let imgsrc = res.tempFilePaths;
|
||||||
|
imgsrc.forEach(item=>{
|
||||||
|
this.maintenanceImgList.push(item);
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 删除维保图片
|
||||||
|
delImg(index) {
|
||||||
|
this.maintenanceImgList.splice(index,1);
|
||||||
|
},
|
||||||
isrideoFun(is) {
|
isrideoFun(is) {
|
||||||
this.isrideo = is
|
this.isrideo = is
|
||||||
},
|
},
|
||||||
|
@ -406,9 +299,7 @@
|
||||||
|
|
||||||
.work-order-from .li .title {
|
.work-order-from .li .title {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
width: 133rpx;
|
/* width: 133rpx; */
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.work-order-from .li .input {
|
.work-order-from .li .input {
|
||||||
|
@ -419,13 +310,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.work-order-from .li .input .img {
|
.work-order-from .li .input .img {
|
||||||
width: 169rpx;
|
/* width: 169rpx; */
|
||||||
|
width: 160rpx;
|
||||||
height: 127rpx;
|
height: 127rpx;
|
||||||
margin-right: 10rpx;
|
margin-right: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.work-order-from .li .input .add-img {
|
.work-order-from .li .input .add-img {
|
||||||
width: 136rpx;
|
/* width: 136rpx; */
|
||||||
|
width: 160rpx;
|
||||||
height: 127rpx;
|
height: 127rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -440,6 +333,7 @@
|
||||||
|
|
||||||
.work-order-from .li .add-display {
|
.work-order-from .li .add-display {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.work-order-from .li .input-black {
|
.work-order-from .li .input-black {
|
||||||
|
|
Loading…
Reference in New Issue