baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
Executable
+387
@@ -0,0 +1,387 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<opsoft-dialog-notice
|
||||
:dialogNoticeShow="showDialog"
|
||||
:dialogNoticeType="dialogNoticeType"
|
||||
:dialogNoticeTitle="dialogNoticeTitle"
|
||||
:dialogNoticeContent="dialogNoticeContent"
|
||||
@dialogNoticeConfirmClick="dialogNoticeConfirmClick"
|
||||
>
|
||||
</opsoft-dialog-notice>
|
||||
<view class="header-row-class-organzie" v-if="isShowOrg">
|
||||
<view class="header-row-title-class-organzie">当前组织:</view>
|
||||
<picker @change="orgChange" :value="index" :range="orgArry" range-key="FNAME">
|
||||
<view class="head-row-content-class-organzie">{{orgArry[index].FNAME}}</view>
|
||||
</picker>
|
||||
<image class="img-organzie" src="../../../static/img/changearrow.svg"></image>
|
||||
</view>
|
||||
<view class="search">
|
||||
<!-- <text class="search-title">设备搜索:</text> -->
|
||||
<input class="search-input" placeholder="输入设备代码" v-model="searchEquipment" focus="focus"
|
||||
@confirm="search(searchEquipment)"></input>
|
||||
<image class="search-img" style="height: 40rpx;width: 40rpx;position: absolute;top: 20rpx;"
|
||||
src="../../../static/emapp/scan.png" @click="scanClick()"></image>
|
||||
</view>
|
||||
<view style="height: 10rpx;"></view>
|
||||
<text class="detail-row-content-class" v-if="taskList.length==0">您当前没有任务</text>
|
||||
<view class="card-list" v-for="(item,index) in taskList" @tap="itemClick(item)" :key="index">
|
||||
<view class="card-info">
|
||||
<view class="card-info-title">
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-title-text-left">设备名称:</text>
|
||||
<text class="card-info-title-text-detail-left" style="font-size: 24rpx;">{{item.FMACHINENAME}}</text>
|
||||
</view>
|
||||
<view class="card-info-title-text-right">
|
||||
<text class="status-red-text" v-show="item.FISFINISHED==false">未验收</text>
|
||||
<!-- <view class="status-red" v-show="item.FIsFinished==false"></view> -->
|
||||
<text class="status-green-text" v-show="item.FISFINISHED==true">已验收</text>
|
||||
<!-- <view class="status-green" v-show="item.FIsFinished==true"></view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">设备代码:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FMACHINENAME}}</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">工单编号:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FBILLNO}}</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">项目名称:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FNAME}}</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">工单日期:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FDATE}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 10rpx;"></view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import Vue from 'vue';
|
||||
import opsoftDialogNotice from '@/components/opsoft-dialog-notice/opsoft-dialog-notice.vue';
|
||||
import errorStrUntil from '@/common/errorStrUntil.js';
|
||||
import {
|
||||
mapState,
|
||||
mapMutations
|
||||
} from 'vuex';
|
||||
|
||||
var commonUtil = require('../../../common/util.js');
|
||||
var _self;
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
dialogNoticeContent:'',
|
||||
dialogNoticeTitle:'',
|
||||
dialogNoticeType:'',
|
||||
showDialog:false,
|
||||
|
||||
focus:true,
|
||||
scrollTop: 0,
|
||||
isShowOrg:true,
|
||||
old: {
|
||||
scrollTop: 0
|
||||
},
|
||||
taskList:[],
|
||||
pageIndex:1,
|
||||
pageSize:6,
|
||||
showTips:false,
|
||||
orgid:'',
|
||||
searchEquipment:'',
|
||||
curDate:''
|
||||
}
|
||||
},
|
||||
components: {
|
||||
opsoftDialogNotice
|
||||
},
|
||||
onShow(){
|
||||
let date = new Date();
|
||||
this.curDate = date.getFullYear()+'/'+(date.getMonth()+1)+'/'+date.getDate()+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
|
||||
this.getTaskList(1, this.pageSize);
|
||||
this.pageIndex = 1;
|
||||
console.log(commonUtil);
|
||||
_self = this;
|
||||
this.getOrgList()
|
||||
},
|
||||
|
||||
onPullDownRefresh:function(){
|
||||
_self.showTips = false;
|
||||
this.getTaskList(1, this.pageSize);
|
||||
setTimeout(()=>{
|
||||
//停止下拉样式
|
||||
uni.stopPullDownRefresh();
|
||||
//隐藏标题读取
|
||||
uni.hideNavigationBarLoading();
|
||||
},
|
||||
500);
|
||||
},
|
||||
|
||||
onReachBottom:function(){
|
||||
if(!_self.showTips) {
|
||||
this.getTaskList(this.pageIndex, this.pageSize);
|
||||
}
|
||||
else {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '已经到底了'
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['userInfo', 'sysParameters'])
|
||||
},
|
||||
|
||||
onBackPress(options) {
|
||||
if(options.from === 'navigateBack'){
|
||||
return false;
|
||||
}
|
||||
this.back();
|
||||
return true;
|
||||
},
|
||||
|
||||
methods: {
|
||||
dialogNoticeConfirmClick(){
|
||||
this.showDialog = false;
|
||||
},
|
||||
dialogNoticeProps(err,type){
|
||||
err = errorStrUntil.handle(err);
|
||||
this.showDialog = true;
|
||||
this.dialogNoticeType = 'error';
|
||||
this.dialogNoticeTitle = '异常提示';
|
||||
if(type=='success'){
|
||||
this.dialogNoticeType = 'success';
|
||||
this.dialogNoticeTitle = '执行成功';
|
||||
}
|
||||
this.dialogNoticeContent = err;
|
||||
},
|
||||
getOrgList:function(){
|
||||
let _self = this;
|
||||
let orgInfo = uni.getStorageSync('orgInfo');
|
||||
|
||||
if(orgInfo && orgInfo.length > 0) {
|
||||
let defaultOrgInfo = uni.getStorageSync('defaultOrgInfo');
|
||||
let isOpenDefaultOrg = uni.getStorageSync('isOpenDefaultOrg');
|
||||
if(!isOpenDefaultOrg){
|
||||
this.orgFItemID = orgInfo[0].FINTERID;
|
||||
}else{
|
||||
if(defaultOrgInfo){
|
||||
this.orgFItemID = defaultOrgInfo.FINTERID;
|
||||
}else{
|
||||
this.orgFItemID = orgInfo[0].FINTERID;
|
||||
}
|
||||
}
|
||||
|
||||
this.orgArry = orgInfo;
|
||||
this.orgArry.forEach(
|
||||
function(el,index){
|
||||
let currentOrgid = el.FINTERID;
|
||||
let result = (currentOrgid == _self.orgFItemID);
|
||||
if(result){
|
||||
_self.index = index;
|
||||
}
|
||||
}
|
||||
);
|
||||
}else{
|
||||
this.orgArry = [{name:"请选择组织", key:"", FNAME:"当前无组织"}];
|
||||
this.index = 0;
|
||||
}
|
||||
},
|
||||
orgChange:function(e){
|
||||
console.log(this.orgArry)
|
||||
this.index = e.target.value;
|
||||
let isOpenDefaultOrg = uni.getStorageSync('isOpenDefaultOrg');
|
||||
if(!this.orgArry[this.index].FItemID){
|
||||
this.orgFItemID = "";
|
||||
}else{
|
||||
this.orgFItemID = this.orgArry[this.index].FItemID;
|
||||
if(isOpenDefaultOrg){
|
||||
uni.setStorageSync('defaultOrgInfo',this.orgArry[this.index]);
|
||||
}
|
||||
}
|
||||
|
||||
console.log(this.orgFItemID);
|
||||
this.orgChangedClear();
|
||||
},
|
||||
|
||||
showOrg:function(){
|
||||
let userID = this.userInfo.token;
|
||||
let currentPage = "MESMT05";
|
||||
let requestParams = {
|
||||
"id": userID,
|
||||
"prgkey": currentPage
|
||||
};
|
||||
|
||||
this.$request.post(
|
||||
{
|
||||
data: {
|
||||
action: 'QueryIsEnableOr',
|
||||
params: requestParams
|
||||
}
|
||||
}
|
||||
).then(res => {
|
||||
uni.hideLoading();
|
||||
this.isShowOrg = JSON.parse(res);
|
||||
if(!this.isShowOrg){
|
||||
this.orgFItemID = "";
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
orgChangedClear:function(){
|
||||
this.currentBarCodeInfo = new Object();
|
||||
this.FInvenPlanNO = "";
|
||||
this.FInvenPlanName = "";
|
||||
this.currentBarCodeInfo.FBarcodeNumber = "";
|
||||
this.currentBarCodeInfo.FItemNumber = "";
|
||||
this.currentBarCodeInfo.FItemName = "";
|
||||
this.currentBarCodeInfo.FAuxPropName = "";
|
||||
this.currentBarCodeInfo.FQty = "";
|
||||
this.currentBarCodeInfo.FLocation = "";
|
||||
this.currentBarCodeInfo.FSCStockNumber = "";
|
||||
this.currentBarCodeInfo.FSCSPNumber = "";
|
||||
this.fQtyDisabled = true;
|
||||
this.showResult = true;
|
||||
this.fSCSPNumberDisabled = true;
|
||||
this.scannedDataList = [];
|
||||
this.totalData = [];
|
||||
this.barcodeList = [];
|
||||
this.commitList = [];
|
||||
this.judgeCash();
|
||||
this.$forceUpdate();
|
||||
},
|
||||
judgeCash:function(){
|
||||
const cashValue = uni.getStorageSync('pageCash'+this.currentTranType+this.orgFItemID);
|
||||
if(cashValue) {
|
||||
if(cashValue.otherInfo.dbAlise == this.userInfo.dbAlise &&
|
||||
cashValue.otherInfo.UserID == this.userInfo.UserID){
|
||||
// this.showCashTips = true;
|
||||
this.loadByCash();
|
||||
}
|
||||
}
|
||||
},
|
||||
back(){
|
||||
uni.redirectTo({
|
||||
url:'../../tabbar/apply/apply'
|
||||
});
|
||||
},
|
||||
|
||||
itemClick: function(item){
|
||||
let sysParameter = uni.getStorageSync('getSysParameter');
|
||||
let ExceedTimeCanEdit = sysParameter;
|
||||
// let ExceedTimeCanEdit = 1;
|
||||
if (ExceedTimeCanEdit == 1) {
|
||||
let fDate = new Date(item.FDate).getTime();
|
||||
let currentTime = new Date().getTime();
|
||||
if (currentTime < fDate) {
|
||||
uni.showToast({
|
||||
title: '当前保养单未到开始时间!',
|
||||
icon:'none'
|
||||
});
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
uni.setStorageSync('firstPageAcceptenceCurItemInfo',item);
|
||||
uni.navigateTo({
|
||||
url: '../../views/EQUM05/EQUM05Item?FIsFinished='+item.FIsFinished+"&FBillNO="+item.FBillNO
|
||||
});
|
||||
},
|
||||
|
||||
scanClick:function(){
|
||||
let _self = this;
|
||||
let count = '';
|
||||
uni.scanCode({
|
||||
success:function(res){
|
||||
_self.searchEquipment = res.result;
|
||||
_self.getTaskList(1, 6, _self.searchEquipment);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
search:function(searchEquipment){
|
||||
this.getTaskList(1, 6, searchEquipment);
|
||||
},
|
||||
|
||||
getTaskList: function(index, size, searchEquipment) {
|
||||
let userID = this.userInfo.UserID;
|
||||
this.orgid = uni.getStorageSync('orgid');
|
||||
let psw = uni.getStorageSync('psw')?uni.getStorageSync('psw'):'';
|
||||
this.pageIndex = index;
|
||||
|
||||
let requestParams = {
|
||||
"fNO":searchEquipment?searchEquipment:'',
|
||||
"PageNumber": this.pageIndex,
|
||||
"BarNumber": size,
|
||||
"basicType":2,
|
||||
"statusType":2
|
||||
};
|
||||
|
||||
this.$request.get('/RepairOreder/RepairOrder',{params:requestParams}).then(res => {
|
||||
let data = res;
|
||||
if(this.pageIndex == 1) {
|
||||
this.taskList = data;
|
||||
this.pageIndex = this.pageIndex+1;
|
||||
}
|
||||
else {
|
||||
if(data.length != 0) {
|
||||
let newArray = this.taskList.concat(data);
|
||||
this.taskList = newArray;
|
||||
this.pageIndex = this.pageIndex+1;
|
||||
if(data.length < 6) {
|
||||
_self.showTips = true;
|
||||
}
|
||||
}
|
||||
else {
|
||||
_self.showTips = true;
|
||||
}
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.hideLoading();
|
||||
this.dialogNoticeProps(err,'error')
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
page{background-color: #EFEFF4;}
|
||||
.content {
|
||||
// height: 100%;
|
||||
background-color: #F5F5F5;
|
||||
// display: flex;
|
||||
// flex-direction:column;
|
||||
// flex-wrap: nowrap;
|
||||
// justify-content: flex-start;
|
||||
}
|
||||
.header-row-class-organzie{
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
// padding-right: 50rpx;
|
||||
}
|
||||
|
||||
.header-row-title-class-organzie{
|
||||
font-size: 32rpx;
|
||||
font-family: MicrosoftYaHei;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.head-row-content-class-organzie{
|
||||
font-size: 32rpx;
|
||||
font-family: MicrosoftYaHei;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.img-organzie{
|
||||
height: 32rpx;
|
||||
width: 32rpx;
|
||||
margin-left: 24rpx;
|
||||
}
|
||||
|
||||
</style>
|
||||
Executable
+347
@@ -0,0 +1,347 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<opsoft-dialog-notice
|
||||
:dialogNoticeShow="showDialog"
|
||||
:dialogNoticeType="dialogNoticeType"
|
||||
:dialogNoticeTitle="dialogNoticeTitle"
|
||||
:dialogNoticeContent="dialogNoticeContent"
|
||||
@dialogNoticeConfirmClick="dialogNoticeConfirmClick"
|
||||
>
|
||||
</opsoft-dialog-notice>
|
||||
<view class="order-title">工单信息</view>
|
||||
<view class="head">
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">工单代码:</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData.length>0">{{ticketData[0].FBILLNO}}</text>
|
||||
</view>
|
||||
<view class="card-info-item" v-if="ticketData.length>0">
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERFROM == 1" style="color: #007AFF;">申请故障维修</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERFROM == 2" style="color: #007AFF;">申请事故维修</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERFROM == 3" style="color: #007AFF;">事后事故维修</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERFROM == 4" style="color: #007AFF;">事后故障维修</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERFROM == 5" style="color: #007AFF;">其它</text>
|
||||
</view>
|
||||
<view class="card-info-item" v-if="ticketData.length>0">
|
||||
<text class="card-info-item-text">工单日期:</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData.length>0">{{ticketData[0].FDATE}}</text>
|
||||
</view>
|
||||
<view class="card-info-item" v-if="ticketData.length>0">
|
||||
<text class="card-info-item-text">工单状态:</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERSTATUS == 0">未安排</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERSTATUS == 1" style="color: green;">已安排</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERSTATUS == 2" style="color: #007AFF;">完工</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FORDERSTATUS == 3" style="color: #007AFF;">验收</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">工单内容:</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData.length>0">{{ticketData[0].FNAME}}</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">负责人:</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData.length>0">{{ticketData[0].FEMPNAME}}</text>
|
||||
</view>
|
||||
<view class="card-info-item" v-if="ticketData.length>0">
|
||||
<text class="card-info-item-text">是否停机:</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FISSTOPMACHINE==false" style="color: #007AFF;">否</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData[0].FISSTOPMACHINE==true" style="color: red;">是</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">停机开始时间:</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData.length>0">{{ticketData[0].FMACHINESTOPSTART}}</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text">停机结束时间:</text>
|
||||
<text class="card-info-item-text-detail" v-if="ticketData.length>0">{{ticketData[0].FMACHINESTOPEND}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="head" style="margin-top: 24rpx;">
|
||||
<view class="card-info-item" style="border-bottom: 1px solid #f9f9f9;">
|
||||
<text class="card-info-item-text">总体评分:</text>
|
||||
<!-- <text class="card-info-item-text-detail">{{FTotalScore}}</text> -->
|
||||
<input v-model="FTotalScore"
|
||||
placeholder="输入评分" placeholder-style="color: #8F8F8F;font-size:26rpx"/>
|
||||
</view>
|
||||
<!-- <view class="card-info-item" v-if="ticketData.length>0" style="border-bottom: 1px solid #f9f9f9;">
|
||||
<text class="card-info-item-text">故障是否消除:</text>
|
||||
<checkbox value="cb" :checked="FFaultClearance==0" @click="faultClearance" style="transform:scale(0.7)"/>是
|
||||
<checkbox value="cb" :checked="FFaultClearance==1" @click="faultUnclearance" style="margin-left: 100rpx;transform:scale(0.7)"/>否
|
||||
</view> -->
|
||||
<view class="card-info-item" v-if="ticketData.length>0">
|
||||
<text class="card-info-item-text">维护后状态:</text>
|
||||
<checkbox value="cb" :checked="FStatusAfterMaint==0" @click="normal" style="transform:scale(0.7)"/>正常
|
||||
<!-- <checkbox value="cb" :checked="FStatusAfterMaint==1" @click="underRepair" style="margin-left: 24rpx;transform:scale(0.7)"/>维修中 -->
|
||||
<checkbox value="cb" :checked="FStatusAfterMaint==2" @click="underUphold" style="margin-left: 72rpx;transform:scale(0.7)"/>维护中
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="lable-change">
|
||||
<view class="lable-change-item" @click="spanClick(1)">
|
||||
<text :class="[spanFlag==1?'lable-change-text':'lable-change-text-gray']">保养记录</text>
|
||||
<view class="lable-change-line" v-show="spanFlag == 1"></view>
|
||||
</view>
|
||||
<view class="lable-change-item" @click="spanClick(2)">
|
||||
<text :class="[spanFlag==2?'lable-change-text':'lable-change-text-gray']">备件领用</text>
|
||||
<view class="lable-change-line" v-show="spanFlag == 2"></view>
|
||||
</view>
|
||||
<view class="lable-change-item" @click="spanClick(3)">
|
||||
<text :class="[spanFlag==3?'lable-change-text':'lable-change-text-gray']">保养人</text>
|
||||
<view class="lable-change-line" v-show="spanFlag == 3"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-show="spanFlag==1">
|
||||
<view class="card-list" @click="reportClick(item)" v-for="(item,index) in recordList" :key="index">
|
||||
<image class="img-left-large" src="../../../static/emapp/repair.png"></image>
|
||||
<view class="card-info">
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text" style="width: 140rpx;">部件名称:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FPARTNAME}}</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text" style="width: 140rpx;">保养内容:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FCONTENTSANDREQUIREMENTS}}</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text" style="width: 140rpx;">执行结果:</text>
|
||||
<text class="card-info-item-text-detail" v-if="item.FORDERSTATUS == 0" style="color: red;">未执行</text>
|
||||
<text class="card-info-item-text-detail" v-if="item.FORDERSTATUS == 1" style="color: #FAAE12;">执行中</text>
|
||||
<text class="card-info-item-text-detail" v-if="item.FORDERSTATUS == 2" style="color: green;">完成</text>
|
||||
<!-- <text class="card-info-item-text-detail" v-else style="color: rgba(0,0,0,0.6);">-</text> -->
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text" style="width: 140rpx;">保养人:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FEMPNAME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<image class="img-arrow" src="../../../static/myinfo/right-arrow.png" style="width: 30rpx;height: 30rpx;"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view v-show="spanFlag==2">
|
||||
<view class="card-list" v-for="(item,index) in sparePartList">
|
||||
<image class="img-left-large" src="../../../static/emapp/part.png"></image>
|
||||
<view class="card-info">
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text" style="width: 140rpx;">备件名称:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FSPAREPARTNAME}}</text>
|
||||
</view>
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text" style="width: 140rpx;">领用数量:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FQTY}} {{item.FUNITNAME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-show="spanFlag==3">
|
||||
<view class="card-list" v-for="(item,index) in workList">
|
||||
<image class="img-left-large" src="../../../static/emapp/human.png"></image>
|
||||
<view class="card-info">
|
||||
<view class="card-info-item">
|
||||
<text class="card-info-item-text" style="width: 140rpx;">保养人:</text>
|
||||
<text class="card-info-item-text-detail">{{item.FEMPNAME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 100rpx;width: 100%;"></view>
|
||||
<view class="addBtn" @click="submit">提交</view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import Vue from 'vue';
|
||||
import opsoftDialogNotice from '@/components/opsoft-dialog-notice/opsoft-dialog-notice.vue';
|
||||
import errorStrUntil from '@/common/errorStrUntil.js';
|
||||
import {
|
||||
mapState,
|
||||
mapMutations
|
||||
} from 'vuex';
|
||||
var commonUtil = require('../../../common/util.js');
|
||||
var _self;
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
dialogNoticeContent:'',
|
||||
dialogNoticeTitle:'',
|
||||
dialogNoticeType:'',
|
||||
showDialog:false,
|
||||
|
||||
FInterID:'',
|
||||
FFaultClearance:0,
|
||||
FStatusAfterMaint:0,
|
||||
FTotalScore:0,
|
||||
spanFlag:1,
|
||||
ticketData: [],
|
||||
recordList: [],
|
||||
sparePartList: [],
|
||||
workList:[],
|
||||
orgid:'',
|
||||
equipmentInfo:[],
|
||||
FBillNO:'',
|
||||
FStdValue:'',
|
||||
FIsFinished: true
|
||||
};
|
||||
},
|
||||
components: {
|
||||
opsoftDialogNotice
|
||||
},
|
||||
onLoad(option) {
|
||||
this.orgid = uni.getStorageSync('orgid');
|
||||
let firstPageCurItemInfo = uni.getStorageSync('firstPageAcceptenceCurItemInfo');
|
||||
this.FBillNO = firstPageCurItemInfo.FBILLNO;
|
||||
this.getOrderDetailInfo();
|
||||
|
||||
if(Object.keys(option).length==0){
|
||||
this.FBillNO = firstPageCurItemInfo.FBILLNO;
|
||||
}else{
|
||||
this.FBillNO = option.FBILLNO
|
||||
|
||||
if (option.FISFINISHED == null || option.FISFINISHED.length == 0) {
|
||||
this.FIsFinished = false;
|
||||
}
|
||||
else {
|
||||
this.FIsFinished = JSON.parse(option.FISFINISHED);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['userInfo'])
|
||||
},
|
||||
|
||||
onBackPress(options) {
|
||||
if(options.from === 'navigateBack'){
|
||||
return false;
|
||||
}
|
||||
this.back();
|
||||
return true;
|
||||
},
|
||||
|
||||
methods: {
|
||||
back(){
|
||||
uni.redirectTo({
|
||||
url:'EQUM05'
|
||||
});
|
||||
},
|
||||
dialogNoticeConfirmClick(){
|
||||
this.showDialog = false;
|
||||
},
|
||||
dialogNoticeProps(err,type){
|
||||
err = errorStrUntil.handle(err);
|
||||
this.showDialog = true;
|
||||
this.dialogNoticeType = 'error';
|
||||
this.dialogNoticeTitle = '异常提示';
|
||||
if(type=='success'){
|
||||
this.dialogNoticeType = 'success';
|
||||
this.dialogNoticeTitle = '执行成功';
|
||||
}
|
||||
this.dialogNoticeContent = err;
|
||||
},
|
||||
faultClearance() {
|
||||
this.FFaultClearance = 0;
|
||||
},
|
||||
|
||||
faultUnclearance() {
|
||||
this.FFaultClearance = 1;
|
||||
},
|
||||
|
||||
normal() {
|
||||
this.FStatusAfterMaint = 0;
|
||||
},
|
||||
|
||||
underUphold() {
|
||||
this.FStatusAfterMaint = 2;
|
||||
},
|
||||
|
||||
getOrderDetailInfo: function() {
|
||||
let requestParams = {
|
||||
"billNO":this.FBillNO?this.FBillNO:'',
|
||||
"basicType":2,
|
||||
};
|
||||
|
||||
this.$request.get('/RepairOreder/MaintenanceOrder',{params:requestParams}).then(res => {
|
||||
let _self = this;
|
||||
let data = res;
|
||||
_self.ticketData = data;
|
||||
_self.FTotalScore = _self.ticketData[0].FTOTALSCORE;
|
||||
_self.FStatusAfterMaint = _self.ticketData[0].FSTATUS;
|
||||
uni.setStorageSync('ticketDataAcceptenceInfo',_self.ticketData);
|
||||
_self.recordList = data[0].Body1;
|
||||
if (_self.FIsFinished) {
|
||||
_self.FFaultClearance = _self.ticketData[0].FFAULTCLEARANCE? 1:0;
|
||||
}
|
||||
_self.FSTATUS = _self.ticketData[0].FSTATUS;
|
||||
if(data.length>0){
|
||||
_self.FInterID = data[0].FINTERID;
|
||||
if (_self.ticketData[0].FDATE) {
|
||||
_self.ticketData[0].FDATE = commonUtil.removeLetter(_self.ticketData[0].FDATE);
|
||||
_self.ticketData[0].FDATE = _self.ticketData[0].FDATE.substr(0,10) + " " + _self.ticketData[0].FDATE.substr(10 ,8);
|
||||
}
|
||||
}else{
|
||||
_self.FINTERID = "";
|
||||
uni.showToast({
|
||||
icon:'none',
|
||||
title:'工单表头信息为空'
|
||||
});
|
||||
}
|
||||
_self.sparePartList = data[0].Body2;
|
||||
_self.workList = data[0].Body3;
|
||||
}).catch(err => {
|
||||
uni.hideLoading();
|
||||
this.dialogNoticeProps(err,'error')
|
||||
});
|
||||
},
|
||||
|
||||
reportClick:function(item){
|
||||
uni.setStorageSync('currAcceptenceRecordList',item);
|
||||
uni.navigateTo({
|
||||
url:'./EQUM05Report'
|
||||
})
|
||||
},
|
||||
|
||||
spanClick:function(type){
|
||||
this.spanFlag = type;
|
||||
},
|
||||
|
||||
submit(){
|
||||
let _self = this;
|
||||
let data = [{"FInterID":this.FInterID,
|
||||
"FFaultClearance":this.FFaultClearance,
|
||||
"FMachineStopStart":this.ticketData[0].FMACHINESTOPSTART,
|
||||
"FMachineStopEnd":this.ticketData[0].FMACHINESTOPEND,
|
||||
"FTotalScore":this.FTotalScore?this.FTotalScore:0,
|
||||
"FStatusAfterMaint":this.FStatusAfterMaint?this.FStatusAfterMaint:0}];
|
||||
let requestParams = {
|
||||
"basicType":2,
|
||||
"SData":data
|
||||
};
|
||||
|
||||
this.$request.post('/RepairOreder/OrderReportAcceptance',requestParams).then(res => {
|
||||
uni.redirectTo({
|
||||
url:'EQUM05Item'
|
||||
})
|
||||
}).catch(err => {
|
||||
uni.hideLoading();
|
||||
this.dialogNoticeProps(err,'error')
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
page {
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
.page{overflow-x: hidden;}
|
||||
.card-info-item-text{width: 190rpx;}
|
||||
.addBtn{
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
width: 100%;
|
||||
font-size: 32rpx;
|
||||
color: #FFFFFF;
|
||||
text-align: center;
|
||||
background-color: #2560C9;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
+428
@@ -0,0 +1,428 @@
|
||||
<template>
|
||||
<view class="report">
|
||||
<opsoft-dialog-notice
|
||||
:dialogNoticeShow="showDialog"
|
||||
:dialogNoticeType="dialogNoticeType"
|
||||
:dialogNoticeTitle="dialogNoticeTitle"
|
||||
:dialogNoticeContent="dialogNoticeContent"
|
||||
@dialogNoticeConfirmClick="dialogNoticeConfirmClick"
|
||||
>
|
||||
</opsoft-dialog-notice>
|
||||
<view class="order-title">工单执行结果</view>
|
||||
<view class="card-list" style="padding-left: 0;">
|
||||
<view class="card-list-report">
|
||||
<text class="card-info-item-text-none">总体评分:</text>
|
||||
<!-- <text class="card-info-item-text-detail">{{FTotalScore}}</text> -->
|
||||
<input v-model="FScore" placeholder="输入评分" placeholder-style="color: #8c8c8c;"
|
||||
style="height: 34rpx; line-height: 34rpx; font-size: 28rpx;"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info-title">备件领用</view>
|
||||
<view class="card-list" style="flex-direction: column;">
|
||||
<view class="card-list-report" v-if="partList.length>0" v-for="(item,index) in partList" :key="index">
|
||||
<view class="card-info-title-text-detail-left">{{item.FName}}</view>
|
||||
<view class="card-info-title-text-detail-left-report">数量:{{item.FQty}}</view>
|
||||
</view>
|
||||
<view class="card-list-report" v-if="partList.length==0" >
|
||||
<view class="card-info-item-text-none" style="text-align: left;">无领用</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info-title">保养人</view>
|
||||
<view class="card-list" style="flex-direction: column;">
|
||||
<view class="card-list-report" v-if="selWorker.length>0" v-for="(item,index) in selWorker" :key="index">
|
||||
<view class="card-info-title-text-detail-left">{{item.FName}}</view>
|
||||
<view class="card-info-title-text-detail-left-report">保养工时:{{item.FACraftTime?item.FACraftTime:0}}H
|
||||
</view>
|
||||
</view>
|
||||
<view class="card-list-report" v-if="selWorker.length==0" @click="workerListClick">
|
||||
<view class="card-info-item-text-none" style="text-align: left;">无保养人</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="info-title">状态描述</view>
|
||||
<view class="info-body">
|
||||
<textarea placeholder="输入状态描述" v-model="FCondition" placeholder-class="text-area-holder"
|
||||
class="text-area"></textarea>
|
||||
</view>
|
||||
<view class="info-title">备注</view>
|
||||
<view class="info-body">
|
||||
<textarea placeholder="输入备注信息" v-model="FExplain" placeholder-class="text-area-holder"
|
||||
class="text-area"></textarea>
|
||||
</view>
|
||||
<view style="height: 200rpx;width: 100%;"></view>
|
||||
<view @click="handleSubmit" class="btn-confirm" v-show="submitShow">验收</view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import imgUpload from '@/components/poiuy-uImgUpload/imgUpload.vue';
|
||||
import { pathToBase64, base64ToPath } from '@/js_sdk/mmmm-image-tools/index.js';
|
||||
import opsoftDialogNotice from '@/components/opsoft-dialog-notice/opsoft-dialog-notice.vue';
|
||||
import errorStrUntil from '@/common/errorStrUntil.js';
|
||||
import Vue from 'vue';
|
||||
import {
|
||||
mapState,
|
||||
mapMutations
|
||||
} from 'vuex';
|
||||
var commonUtil = require('../../../common/util.js');
|
||||
export default {
|
||||
computed: {
|
||||
...mapState(['userInfo'])
|
||||
},
|
||||
components: {
|
||||
imgUpload,
|
||||
opsoftDialogNotice
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
dialogNoticeContent:'',
|
||||
dialogNoticeTitle:'',
|
||||
dialogNoticeType:'',
|
||||
showDialog:false,
|
||||
FCondition:'',
|
||||
FScore:'',
|
||||
FExplain:'',
|
||||
submitShow:true,
|
||||
currRecordList:[],
|
||||
ticketDataInfo:[],
|
||||
FOrderStatus:0,
|
||||
|
||||
FContentAndRequir:'',
|
||||
FNote:'',
|
||||
partList:[],
|
||||
workerList:[],
|
||||
OrderEntryInfo:[],
|
||||
FInterID:'',
|
||||
|
||||
FMaintManID:[],
|
||||
FMachinePartID:'',
|
||||
selWorker:[],
|
||||
empNO:'',
|
||||
imgArray:new Array(),
|
||||
clickEnable:true,
|
||||
imgBase64Url:new Array(),
|
||||
|
||||
dataList: [],
|
||||
orgid:'',
|
||||
commitList:[],
|
||||
userID:'',
|
||||
basicType:0,
|
||||
equipID:'',
|
||||
sparePartName:'',
|
||||
};
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
this.userID = this.userInfo.ID;
|
||||
let equipInfo = uni.getStorageSync('firstPageAcceptenceCurItemInfo');
|
||||
this.equipID = equipInfo.FItemID;
|
||||
this.currRecordList = uni.getStorageSync('currAcceptenceRecordList');
|
||||
this.ticketDataInfo = uni.getStorageSync('ticketDataAcceptenceInfo');
|
||||
this.orgid = uni.getStorageSync('orgid');
|
||||
this.getReportInfo();
|
||||
},
|
||||
|
||||
methods: {
|
||||
dialogNoticeConfirmClick(){
|
||||
this.showDialog = false;
|
||||
},
|
||||
dialogNoticeProps(err,type){
|
||||
err = errorStrUntil.handle(err);
|
||||
this.showDialog = true;
|
||||
this.dialogNoticeType = 'error';
|
||||
this.dialogNoticeTitle = '异常提示';
|
||||
if(type=='success'){
|
||||
this.dialogNoticeType = 'success';
|
||||
this.dialogNoticeTitle = '执行成功';
|
||||
}
|
||||
this.dialogNoticeContent = err;
|
||||
},
|
||||
getReportInfo(){
|
||||
let _self = this;
|
||||
let requestParams = {
|
||||
"basicType":2,
|
||||
"detailID":this.currRecordList.FDETAILID,
|
||||
};
|
||||
|
||||
this.$request.get('/RepairOreder/MaintenanceOrderEntry',{params:requestParams}).then(res => {
|
||||
let data = res;
|
||||
this.FMaintManID = [];
|
||||
if(data){
|
||||
if(data.Body1.length>0){
|
||||
this.OrderEntryInfo = data.Body1[0];
|
||||
this.FOrderStatus = this.OrderEntryInfo.FOrderStatus;
|
||||
if(this.FOrderStatus == 3){
|
||||
this.submitShow = false;
|
||||
}
|
||||
this.FCondition = this.OrderEntryInfo.FCONDITION;
|
||||
this.FScore = this.OrderEntryInfo.FSCORE;
|
||||
this.FExplain = this.OrderEntryInfo.FEXPLAIN;
|
||||
this.FMachinePartID = this.OrderEntryInfo.FMACHINEPARTID;
|
||||
this.FInterID = this.OrderEntryInfo.FINTERID;
|
||||
this.FContentAndRequir = this.OrderEntryInfo.FCONTENTSANDREQUIREMENTS;
|
||||
this.FNote = this.OrderEntryInfo.FNOTE
|
||||
}
|
||||
if(data.Body2.length>0){
|
||||
data.Body2.forEach(
|
||||
function(el){
|
||||
let arr = {
|
||||
FInterID:el.FSPAREPARTID,
|
||||
FBillNO:_self.OrderEntryInfo.FBILLNO,
|
||||
FName:el.FSPAREPARTNAME,
|
||||
FEqModel:el.FEqModel,
|
||||
FQty:el.FQTY
|
||||
}
|
||||
_self.partList.push(arr)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
if(data.Body3.length>0){
|
||||
data.Body3.forEach(
|
||||
function(el){
|
||||
let arr = {"FName":el.FEMPNAME,"FID":el.FMAINTMANID,"FACraftTime":el.FACRAFTTIME?el.FACRAFTTIME:0};
|
||||
let arrID = {"FMaintID":el.FMAINTMANID,"FACraftTime":el.FACRAFTTIME?el.FACRAFTTIME:0};
|
||||
_self.selWorker.push(arr);
|
||||
_self.FMaintManID.push(arrID)
|
||||
}
|
||||
);
|
||||
}
|
||||
console.log(_self.selWorker)
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.hideLoading();
|
||||
this.dialogNoticeProps(err,'error')
|
||||
});
|
||||
},
|
||||
|
||||
handleSubmit(){
|
||||
let _self = this;
|
||||
let data = [{"FInterID":this.FInterID,
|
||||
"FDetailID":this.currRecordList.FDETAILID,
|
||||
"FCondition":this.FCondition,
|
||||
"FScore":this.FScore,
|
||||
"FExplain":this.FExplain,
|
||||
"FOrderStatus":this.FOrderStatus}];
|
||||
let requestParams = {
|
||||
"basicType":2,
|
||||
"SData":data
|
||||
};
|
||||
|
||||
this.$request.post('/RepairOreder/PartReportAcceptance',requestParams).then(res => {
|
||||
uni.redirectTo({
|
||||
url:'EQUM05Item'
|
||||
});
|
||||
}).catch(err => {
|
||||
uni.hideLoading();
|
||||
this.dialogNoticeProps(err,'error')
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
page {
|
||||
background-color: #F7F7F7;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.report{overflow-x: hidden;}
|
||||
.card-list-report {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
padding: 20rpx 0;
|
||||
}
|
||||
|
||||
.card-info-title-text-detail-left-report {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
.alter{
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top:0;
|
||||
bottom: 0;
|
||||
background-color: #333333;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.err{
|
||||
position: fixed;
|
||||
left: 100rpx;
|
||||
right: 100rpx;
|
||||
top: 400rpx;
|
||||
background-color: #FFFFFF;
|
||||
border-radius: 20rpx;
|
||||
opacity: 1;
|
||||
z-index: 5;
|
||||
}
|
||||
.alter-head{
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
.errTitle{
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
width: 100%;
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
border-bottom: 2rpx solid #3D3D3D;
|
||||
}
|
||||
.errTitle-search{
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
width: 100%;
|
||||
color: #C0C0C0;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
border-bottom: 2rpx solid #3D3D3D;
|
||||
}
|
||||
.errList{
|
||||
width: 100%;
|
||||
margin-left: 30%;
|
||||
display: flex;
|
||||
}
|
||||
.errDetails{
|
||||
/* width: 90%; */
|
||||
font-size: 26rpx;
|
||||
color: #3D3D3D;
|
||||
}
|
||||
.errConfirm{
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
width: 100%;
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
color: #007AFF;
|
||||
border-top: 2rpx solid #3D3D3D;
|
||||
}
|
||||
.worker-alter{position: fixed;left: 0rpx;right: 0rpx;top: 300rpx;bottom: 0;
|
||||
background-color: #FFFFFF;opacity: 1;z-index: 5;border-top-left-radius: 20rpx;border-top-right-radius: 20rpx;}
|
||||
.worker-alter-head{display: flex;flex-direction: row;border-bottom: solid #F5F5F5 1px;}
|
||||
.worker-alter-title{height: 100rpx;line-height: 100rpx;text-align: center;font-size: 32rpx;width: 100%;}
|
||||
.worker-alter-list{display: flex;justify-content: space-between;align-items: center;padding: 20rpx 0;border-bottom: solid #F5F5F5 1px;}
|
||||
.worker-alter-details{font-size: 26rpx;}
|
||||
.worker-alter-time{font-size: 26rpx;display: flex;flex-direction: row;}
|
||||
.worker-alter-time input{border: solid #F5F5F5 1px;border-radius: 10rpx;width: 100rpx;margin-right: 20rpx;text-align: center;}
|
||||
.worker-alter-confirm{height: 80rpx;line-height: 80rpx;width: 100%;position: fixed;bottom: 0;
|
||||
font-size: 32rpx;text-align: center;color: #FFFFFF;background-color: #007AFF;}
|
||||
.sparePart{
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 300rpx;
|
||||
bottom: 0;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.top-row-class{
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
height: 50rpx;
|
||||
line-height: 50rpx;
|
||||
// padding-top: 10rpx;
|
||||
// padding-bottom: 10rpx;
|
||||
// padding-left: 24rpx;
|
||||
// padding-right: 24rpx;
|
||||
margin-left: 32rpx;
|
||||
margin-right: 32rpx;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
background-color: #FFFFFF;
|
||||
margin-top: 10rpx;
|
||||
margin-bottom: 16rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.uni-input{
|
||||
display: flex;
|
||||
border: 1px solid #D8D8D8;
|
||||
color: #666666;
|
||||
padding: 5rpx 10rpx;
|
||||
border-radius: 10rpx;
|
||||
flex-wrap: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-break: break-all;
|
||||
}
|
||||
.top-row-title-class{
|
||||
text-align: end;
|
||||
font-size: 30rpx;
|
||||
font-style: auto;
|
||||
color: #666666;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
line-height: 50rpx;
|
||||
height: 50rpx;
|
||||
// width: 150rpx;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
.top-row-input-class{
|
||||
position: relative;
|
||||
font-size: 30rpx;
|
||||
color: #6B6B6B;
|
||||
width: 100%;
|
||||
padding-left: 15rpx;
|
||||
padding-right: 15rpx;
|
||||
border-radius: 10rpx;
|
||||
border: 1px solid #D8D8D8;
|
||||
height: 60rpx; line-height: 60rpx;
|
||||
margin-left: 32rpx;
|
||||
}
|
||||
.scanImg{
|
||||
height: 40rpx;
|
||||
width: 40rpx;
|
||||
position: absolute;
|
||||
right: 48rpx;
|
||||
}
|
||||
|
||||
.inner {
|
||||
display: flex;
|
||||
padding: 4rpx 5% 10rpx 5%;
|
||||
border-bottom: 1px solid #F7F7F7;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.title-s {
|
||||
color: #222222;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.slave-s {
|
||||
color: #858585;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.slave-k {
|
||||
color: #858585;
|
||||
font-size: 12px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.count-input{
|
||||
height: 40rpx;
|
||||
line-height: 40rpx;
|
||||
width: 100rpx;
|
||||
border: 1px solid #6D6D72;
|
||||
border-radius: 10rpx;
|
||||
margin: 0 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.confirmBtn{
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
width: 100%;
|
||||
font-size: 32rpx;
|
||||
color: #FFFFFF;
|
||||
text-align: center;
|
||||
background-color: #2560C9;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
Executable
+159
@@ -0,0 +1,159 @@
|
||||
.search-wrapper {
|
||||
z-index: 20;
|
||||
display: flex;
|
||||
padding: 12rpx 1% 12rpx 5%;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
background-color: white;
|
||||
|
||||
.search-selector {
|
||||
position: relative;
|
||||
top: 1rpx;
|
||||
height: 64rpx;
|
||||
width: 25%;
|
||||
background-color: #f5f5f5;
|
||||
color: #666666;
|
||||
text-align: center;
|
||||
line-height: 64rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.card-wrapper {
|
||||
// padding-top: 92rpx;
|
||||
.accurate-wrapper{
|
||||
width: 100%;
|
||||
background-color: white;
|
||||
padding-left: 37rpx;
|
||||
padding-bottom: 2%;
|
||||
.accurate-title{
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #454545;
|
||||
|
||||
}
|
||||
.accurate-inner{
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #2c2c2c;
|
||||
text-align: right;
|
||||
|
||||
}
|
||||
.accurate-input{
|
||||
margin-left: 24rpx;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #7d7d7d;
|
||||
}
|
||||
}
|
||||
|
||||
.card-item {
|
||||
width: 100%;
|
||||
height: 128px;
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #efefef;
|
||||
display: flex;
|
||||
|
||||
.icon-wrapper{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
line-height: 85px;
|
||||
width: 15%;
|
||||
height: 100%;
|
||||
padding-left: 5%;
|
||||
}
|
||||
.text-wrapper{
|
||||
width: 80%;
|
||||
padding-left: 6%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
.text-title{
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #474747;
|
||||
}
|
||||
text{
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #474747;
|
||||
}
|
||||
}
|
||||
.arrow-wrapper{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
line-height: 85px;
|
||||
width: 10%;
|
||||
padding-right: 5%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.report{
|
||||
padding-bottom: 120rpx;
|
||||
overflow-x: hidden;
|
||||
.gray-title{
|
||||
padding: 0 5%;
|
||||
height: 80rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
color: #797979;
|
||||
line-height: 80rpx;
|
||||
text{
|
||||
position: relative;
|
||||
top: 3px;
|
||||
margin-left: 8rpx;
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
.line-wrapper{
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
background-color: white;
|
||||
padding: 0 1%;
|
||||
padding-left: 5%;
|
||||
border-bottom: 1px solid #F5F5F5;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
|
||||
|
||||
.line-title{
|
||||
line-height: 80rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 400;
|
||||
color: #2c2c2c;
|
||||
}
|
||||
.line-child{
|
||||
line-height: 80rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 400;
|
||||
color: #7d7d7d;
|
||||
padding-right: 10%;
|
||||
}
|
||||
|
||||
}
|
||||
.textarea-wrapper{
|
||||
background-color: white;
|
||||
padding: 0 5%;
|
||||
border-bottom: 1px solid #F5F5F5;
|
||||
}
|
||||
}
|
||||
|
||||
.fixed-bottom {
|
||||
height: 80rpx;
|
||||
background-color: #2f7fe3;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
color: #fff;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 20;
|
||||
width: 100%;
|
||||
}
|
||||
Reference in new issue
Block a user