baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
+233
@@ -0,0 +1,233 @@
|
||||
<template>
|
||||
<view class="report" :style="containerStyle">
|
||||
<view class="gray-title" style="display: flex;">
|
||||
{{detailData}}
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
编号
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
执行结果
|
||||
</view>
|
||||
<view v-if="detailData" class="line-child">
|
||||
执行中
|
||||
</view>
|
||||
<view v-else-if="detailData" class="line-child">
|
||||
完成
|
||||
</view>
|
||||
<view v-else class="line-child">-</view>
|
||||
</view>
|
||||
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
汇报人
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
维修时间
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="gray-title">
|
||||
汇报内容
|
||||
</view>
|
||||
<view class="textarea-wrapper" style="margin-bottom: 24rpx;">
|
||||
<text>测试</text>
|
||||
</view>
|
||||
<view class="gray-title">
|
||||
时间
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
开始时间
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
结束时间
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
执行时长
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}} 分钟
|
||||
</view>
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
停机开始时间
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
停机结束时间
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="line-wrapper">
|
||||
<view class="line-title">
|
||||
停机时长
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{detailData}} 分钟
|
||||
</view>
|
||||
</view>
|
||||
<view class="gray-title">
|
||||
备件领用
|
||||
</view>
|
||||
<view v-if="partsList.length>0" v-for="(i, k) in partsList" :key="k" class="line-wrapper">
|
||||
<view class="line-title">
|
||||
{{i.materialName}}
|
||||
</view>
|
||||
<view class="line-child">
|
||||
{{i.num}}
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="partsList.length==0" class="line-wrapper">
|
||||
<view class="line-title">
|
||||
无备件领用
|
||||
</view>
|
||||
</view>
|
||||
<view class="gray-title">
|
||||
汇报图片
|
||||
</view>
|
||||
<view class="pic-wrapper">
|
||||
<view v-if="picList.length == 0" style="width: 100%; color: gray; display: flex; justify-content: center; font-size: 12px;">
|
||||
<text>- 没有图片 -</text>
|
||||
</view>
|
||||
<u-image @click="handleClickPic(item, index)" v-for="(item, index) in picList" :key="index" width="250rpx" height="250rpx"
|
||||
:src="item"></u-image>
|
||||
<view v-if="picList.length !== 0" style="width: 100%; color: gray; display: flex; justify-content: center; font-size: 12px; margin: 10rpx 0;"><text>已经到底了</text></view>
|
||||
</view>
|
||||
<view v-if="hasDelete" @click="handleDelete" style="background-color: #E30026;" class="fixed-bottom">删除</view>
|
||||
<opsoft-dialog-notice
|
||||
:dialogNoticeShow="showDialog"
|
||||
:dialogNoticeType="dialogNoticeType"
|
||||
:dialogNoticeTitle="dialogNoticeTitle"
|
||||
:dialogNoticeContent="dialogNoticeContent"
|
||||
@dialogNoticeConfirmClick="dialogNoticeConfirmClick"
|
||||
>
|
||||
</opsoft-dialog-notice>
|
||||
</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');
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
dialogNoticeContent:'',
|
||||
dialogNoticeTitle:'',
|
||||
dialogNoticeType:'',
|
||||
showDialog:false,
|
||||
|
||||
detailData: [],
|
||||
partsList:[],
|
||||
picList:[],
|
||||
hasEmpty: false,
|
||||
getPartFailed: false,
|
||||
containerStyle: "padding-bottom: 100rpx",
|
||||
hasDelete: false,
|
||||
loadPartsSuccessfully: false,
|
||||
FInterID:'',
|
||||
orgid:''
|
||||
};
|
||||
},
|
||||
components: {
|
||||
opsoftDialogNotice
|
||||
},
|
||||
computed: {
|
||||
...mapState(['userInfo'])
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
this.FInterID = uni.getStorageSync('FInterID');
|
||||
this.orgid = uni.getStorageSync('orgid');
|
||||
this.getDetailreportInfo();
|
||||
},
|
||||
|
||||
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;
|
||||
},
|
||||
getDetailreportInfo(){
|
||||
let requestParams = {
|
||||
"id": this.userInfo.ID,
|
||||
"orgid":this.orgid,
|
||||
"FInterID":'830c0621-cffd-4faa-9833-29fa66fde7b7',
|
||||
"FAEndTime":'',
|
||||
"OrderType":1
|
||||
};
|
||||
|
||||
this.$request.post({
|
||||
data: {
|
||||
action: 'OrderIformation',
|
||||
params: requestParams
|
||||
}
|
||||
}).then(res => {
|
||||
let _self = this;
|
||||
let data = JSON.parse(res);
|
||||
_self.detailData = data;
|
||||
}).catch(err => {
|
||||
uni.hideLoading();
|
||||
this.dialogNoticeProps(err,'error')
|
||||
});
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
page {
|
||||
background-color: #F7F7F7;
|
||||
}
|
||||
</style>
|
||||
<style lang="scss" scoped>
|
||||
@import './style.scss';
|
||||
.pic-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user