质量草稿功能,wms调整

master
guoshuang 1 year ago
parent 8d9a23c1d0
commit dc47efd533

@ -575,6 +575,22 @@
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/equipment/RepairAudit/index",
"style": {
"navigationBarTitleText": "报修审核",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/equipment/RepairAudit/Audit",
"style": {
"navigationBarTitleText": "报修审核",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
}
}

@ -0,0 +1,745 @@
<template>
<view class="page-product-receipt">
<view class="header" :style="{ backgroundColor: `rgba(250, 53, 52, ${scrollTop / 100})` }">
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
</view>
<view class="title">报修审核</view>
<view class="right"></view>
</view>
<view class="fiexdcontent">
<u-form v-if="noitem" class="form" ref="form" label-width="180rpx">
<u-form-item label="报修来源">
<u-input disabled :border="true" v-model="histroyItem.orderSource" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="设备名称">
<u-input disabled :border="true" v-model="histroyItem.equipmentName" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="设备编码">
<u-input disabled :border="true" v-model="histroyItem.equipmentCode" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="故障时间">
<u-input disabled :border="true" v-model="histroyItem.orderBreakdownTime" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="故障描述">
<u-input disabled :border="true" v-model="histroyItem.orderDesc" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="报修人">
<u-input disabled :border="true" v-model="histroyItem.orderRepairmanName" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item>
<u-button type="primary" @click="showpicture"></u-button>
</u-form-item>
<view v-show="isshowpic">
<scroll-view class="scroll-view_H" scroll-x="true" :scroll-left="scrollLeft()">
<view class="photoList">
<view class="itemBox photoBox" v-for="(img, index) in imgList" :key="index + 'd'">
<image class="img" :src="img.fileAddress" mode="aspectFit" @click="showScreenImg(index)"></image>
</view>
<!-- <view class="itemBox chooseBtn" @click="chooseImg">
<view class="inner">
<image class="img" src="../../../static/images/upload-pic-icon.svg" mode="scaleToFill"></image>
<text class="desc">添加照片</text>
</view>
</view> -->
</view>
</scroll-view>
</view>
</u-form>
<u-form v-if="!noitem" class="form" ref="form" label-width="180rpx">
<u-form-item label="报修来源">
<u-input disabled :border="true" v-model="histroyItem.productDescZh" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="设备名称">
<u-input disabled :border="true" v-model="histroyItem.productDescZh" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="设备编码">
<u-input disabled :border="true" v-model="histroyItem.productDescZh" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="报修人">
<u-input disabled :border="true" v-model="histroyItem.productDescZh" placeholder="" style="overflow: hidden" />
</u-form-item>
</u-form>
<view v-for="item in TraysList" :key="item.id" class="list">
<u-form v-if="!noitem" style="margin-top: 10rpx" class="form3">
<view class="row-list">
<view style="width: 35%" class="list-item"> 检验项: </view>
<view style="width: 65%"> {{ item.materialCode }} </view>
</view>
<view class="row-list">
<view style="width: 35%" class="list-item"> 检验方法: </view>
<view style="width: 65%"> {{ item.materialDesc }} </view>
</view>
<view class="row-list">
<view style="width: 35%" class="list-item"> 检验标准: </view>
<view style="width: 65%"> {{ item.materialDesc }} </view>
</view>
<view class="row-list">
<view style="width: 35%" class="list-item"> 是否符合标准: </view>
<view style="width: 65%"> {{ item.materialDesc }} </view>
</view>
</u-form>
</view>
<u-form style="margin-top: 10rpx" class="form" ref="form" label-width="180rpx">
<view style="font-size: 30rpx; display: flex; justify-content: center">审核</view>
<u-form-item label="报修去向">
<jPicker sureColor="#ff0000" @bindpicker="selectgoneStatus" showKey="label" valKey="value" :val="gone.value" :options="goneList" />
</u-form-item>
<view v-if="gone.value == '1' || gone.value == '2'">
<u-form-item label="维修组">
<jPicker sureColor="#ff0000" @bindpicker="selectgroupStatus" showKey="label" valKey="value" :val="group.value" :options="groupList" />
</u-form-item>
<u-form-item label="计划维修时间">
<picker mode="time" :value="startdate" @change="startchange">
<view class="uni-input">{{ startdate }}</view>
</picker>
</u-form-item>
<u-form-item label="是否停机">
<u-radio-group v-model="isShutdown" @change="changeradio1(isShutdown)">
<u-radio v-for="(n, indexn) in listselectdetermine" :key="indexn" :name="n.type" :disabled="n.disabled">
{{ n.name }}
</u-radio>
</u-radio-group>
</u-form-item>
<u-form-item label="计划停机时间">
<picker mode="time" :value="stopdate" @change="stopchange">
<view class="uni-input">{{ stopdate }}</view>
</picker>
</u-form-item>
</view>
<view v-if="gone.value == '3'">
<u-form-item label="审核意见">
<u-input :border="true" v-model="form1.yijian" placeholder="" style="overflow: hidden" />
</u-form-item>
</view>
<view v-if="gone.value == '4'">
<u-form-item label="委外单位">
<u-input :border="true" v-model="form1.yijian" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="委外维修人员">
<u-input :border="true" v-model="form1.yijian" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="联系方式">
<u-input :border="true" v-model="form1.yijian" placeholder="" style="overflow: hidden" />
</u-form-item>
<u-form-item label="委外原因">
<u-input :border="true" v-model="form1.yijian" placeholder="" style="overflow: hidden" />
</u-form-item>
</view>
</u-form>
</view>
<!-- <view style="height: 14rpx"></view> -->
<view class="bottom-bar">
<u-row class="button-bar">
<!-- 确定 -->
<u-col :span="6">
<u-button @click="onSubmit" type="primary">确认</u-button>
</u-col>
<!-- 返回 -->
<u-col :span="6">
<u-button type="error" @click="uni.navigateBack({})"></u-button>
</u-col>
</u-row>
</view>
<u-toast ref="uToast" />
</view>
</template>
<script lang="ts">
import { Component } from 'vue-property-decorator';
import { BasePage } from '@/components/base/page';
import jPicker from '@/components/J-Picker/jPicker.vue';
import model from './model';
//import { session } from '@/store/modules/session';
import dayjs from 'dayjs';
interface OptionType {
label: string;
value: string;
}
//import { session } from '@/store/modules/session';
@Component({
components: {
jPicker,
},
})
export default class ProductionREQ extends BasePage {
model = model;
noitem = true;
isshowpic = false;
imgList: any = ['/Users/guoshuang/Documents/KHD/榄菊/lanju-app/src/static/images/add.png', '/Users/guoshuang/Documents/KHD/榄菊/lanju-app/src/static/images/iconCloseGray.svg', '/Users/guoshuang/Documents/KHD/榄菊/lanju-app/src/static/logo.png', '/Users/guoshuang/Documents/KHD/榄菊/lanju-app/src/static/images/iconCloseGray.svg'];
listselectdetermine: any = [
{
type: '1',
name: '是',
radiovalue: null,
},
{
type: '0',
name: '否',
radiovalue: null,
},
];
isShutdown: any = '1';
gone: any = {};
goneList: any = [
{
label: '计划性维修',
value: '1',
},
{
label: '立即维修',
value: '2',
},
{
label: '不维修',
value: '3',
},
{
label: '委外维修',
value: '4',
},
];
group: any = {};
groupList: any = [];
startdate = dayjs().format('YYYY-MM-DD HH:mm:ss');
stopdate = dayjs().format('YYYY-MM-DD HH:mm:ss');
form1: any = {};
histroyItem: any = {};
list: any = [];
aimWl = {} as OptionType;
bimWl = {} as OptionType;
cimWl = {} as OptionType;
boxnumber: any = '';
materilist = [];
userDefined1list = [];
warehouselist = [];
TraysList = [
{ materialCode: '1111', materialDesc: '33333' },
{ materialCode: '1111', materialDesc: '33333' },
{ materialCode: '1111', materialDesc: '33333' },
{ materialCode: '1111', materialDesc: '33333' },
];
orderNo: any = '';
border = true;
orderNoItemList: any = [];
showProduceCodeList: any = [];
itemdetail: any = '';
outnumber: any = 0;
// async onReady() {
// }
async onLoad(options) {
let orderId = options.orderId;
await this.model.getTaskRecord(orderId);
this.histroyItem = this.model.getTaskRecordList;
this.imgList = this.histroyItem.files;
}
changeradio1(checkResult) {
console.log(checkResult);
////111111111
}
selectgoneStatus(e: any) {
this.gone = e.pickerName;
if (this.gone == '2') {
this.startdate = dayjs().format('YYYY-MM-DD HH:mm:ss');
this.stopdate = dayjs().format('YYYY-MM-DD HH:mm:ss');
this.isShutdown = '1';
}
}
showpicture() {
this.isshowpic = true;
}
showScreenImg(i) {
let list = this.imgList.map((item) => {
return item.fileAddress;
});
uni.previewImage({
current: i,
urls: list,
// loop: true
});
}
scrollLeft() {
return 222 * (this.imgList.length + 1);
}
selectgroupStatus(e: any) {
this.group = e.pickerName;
}
startchange(e) {
this.startdate = e.detail.value;
}
stopchange(e) {
this.stopdate = e.detail.value;
}
//
warehouseChange(e: any) {
this.cimWl = e.pickerName;
this.list = [];
}
//
async query() {
// if (this.orderNo == '' || this.orderNo.length == 0) {
// (this.$refs.uToast as any).show({
// title: '',
// // url: '/pages/user/index'
// });
// return;
// }
// await this.model.ProductionMaterialRequisition(this.orderNo);
// if (model.orderNoItemList) {
// this.materilist = [];
// // let a: any = {};
// // model.orderNoItemList.forEach((item) => {
// // a.label = item.productName;
// // a.value = item.productCode;
// // this.materilist.push(a);
// // });
// this.materilist = model.orderNoItemList;
// this.aimWl = this.materilist[0];
// this.queryinformation();
// //this.getlist();
// } else {
// this.materilist = [];
// }
}
//
async onSubmit() {
////
}
mepty() {
this.orderNo = '';
this.list = [];
this.aimWl = {} as OptionType;
this.bimWl = {} as OptionType;
this.materilist = [];
this.userDefined1list = [];
//this.model.mepty();
this.boxnumber = '';
this.TraysList = [];
}
}
</script>
<style>
body {
background-color: rgb(242, 242, 242);
}
</style>
<style lang="scss" scoped>
.page-product-receipt {
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #f8262c 51%, #d9001b 100%) no-repeat;
background-size: 100% 600rpx;
padding: 118rpx 30rpx 162rpx;
min-height: 100%;
.header {
position: fixed;
top: 0rpx;
left: 0;
right: 0;
z-index: 99;
display: flex;
height: 120rpx;
line-height: 88rpx;
color: #fff;
font-size: 34rpx;
font-weight: 500;
text-align: center;
padding: 45rpx 0rpx 0rpx;
.title {
flex: 3;
}
.left,
.right {
flex: 1;
}
.icon {
display: flex;
justify-content: center;
align-items: center;
width: 88rpx;
height: 88rpx;
}
}
.fiexdcontent {
// position: fixed;
width: 100%;
//box-shadow: 0 0 14px 0 rgb(128 128 128 / 46%);
z-index: 100;
}
.form {
background-color: #fff;
padding: 15rpx;
border-radius: 10rpx;
//box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
.u-form-item {
padding: 20rpx 0;
line-height: 35rpx;
.Transfer {
width: 280rpx;
height: 64rpx;
background: rgb(242, 242, 242);
border-radius: 110rpx;
}
}
.single {
width: 100%;
height: 60rpx;
display: flex;
.single-left {
width: 80%;
height: 100%;
display: flex;
view {
width: 142rpx;
height: 100%;
line-height: 55rpx;
}
}
.single-right {
button {
// margin-top: 15rpx;
width: 140rpx;
height: 70rpx;
background-color: #fa3534;
}
}
}
.row {
display: flex;
flex-direction: row;
justify-content: space-around;
flex: 1;
}
.photoList {
display: flex;
padding-top: 12rpx;
.chooseBtn {
width: 202rpx;
height: 202rpx;
background: #fafafa;
border-radius: 12rpx;
border: 2rpx dashed #e2e2e2;
display: flex;
justify-content: center;
align-items: center;
.inner {
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.desc {
font-size: 28rpx;
font-weight: 400;
color: #24252a;
line-height: 40rpx;
}
.img {
width: 50rpx;
height: 50rpx;
margin-bottom: 6rpx;
}
}
.photoBox {
width: 202rpx;
height: 202rpx;
background: #fafafa;
border-radius: 12rpx;
position: relative;
.closeBtn {
position: absolute;
top: -12rpx;
right: -12rpx;
z-index: 2;
width: 36rpx;
height: 36rpx;
.img {
width: 36rpx;
height: 36rpx;
}
}
.img {
width: 202rpx;
height: 202rpx;
border-radius: 12rpx;
}
}
.itemBox {
flex: 0 0 202rpx;
margin-right: 20rpx;
&:last-child {
margin-right: 0;
}
}
}
}
.form3 {
background-color: #fff;
padding: 20rpx 20rpx 20rpx;
border-radius: 10rpx;
height: 210rpx;
overflow: scroll;
//box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
//color: #8d8989;
// .list {
// display: flex;
// flex-direction: row;
// }
.row-list {
display: flex;
flex-direction: row;
justify-content: space-between;
.row-list-item {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 40%;
}
.row-list-item1 {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 50%;
}
.row-list-item2 {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 40%;
}
.list-item {
display: flex;
flex-direction: row;
// flex: 1;
}
}
.righttitle {
display: flex;
justify-content: flex-end;
.boder-icon-rigth {
border: 1rpx solid #fa3534;
width: 130rpx;
text-align: center;
background: #fa3534;
color: #ffffff;
margin-top: 10px;
}
}
}
.form4 {
background-color: #fff;
padding: 18rpx;
border-radius: 10rpx;
margin-top: 2rpx;
.u-input__input {
min-height: 36px;
}
}
.scroll {
// margin-top: 2rpx;
height: 680rpx;
position: absolute;
width: 92%;
top: 740rpx;
/* bottom: 40px; */
overflow: auto;
// background-color: #f2f2f2;
.form2 {
background-color: #fff;
padding: 20rpx 20rpx 20rpx;
border-radius: 10rpx;
box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
color: #8d8989;
.list {
display: flex;
flex-direction: row;
.rowleft {
width: 80%;
.row-list {
display: flex;
flex-direction: row;
justify-content: space-between;
.row-list-item {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 40%;
}
.list-item {
display: flex;
flex-direction: row;
flex: 1;
}
}
}
.rowright {
width: 20%;
display: flex;
justify-content: right;
.righttitle {
width: 60%;
background-color: #8d898947;
color: red;
text-align: center;
/* margin: auto; */
height: 100%;
line-height: 70rpx;
}
}
}
// .righttitle {
// display: flex;
// justify-content: flex-end;
// .boder-icon-rigth {
// border: 1rpx solid #fa3534;
// width: 130rpx;
// text-align: center;
// background: #fa3534;
// color: #ffffff;
// margin-top: 10px;
// }
// .zhuangtai {
// background: #a7a0a04a;
// width: 224rpx;
// margin-right: -27rpx;
// border: 2rpx solid #a7a0a04a;
// border-radius: 12rpx;
// text-align: center;
// margin-bottom: 10rpx;
// }
// .zhuangtai[data-state='1'] {
// color: green;
// }
// .zhuangtai[data-state='0'] {
// color: blue;
// }
// }
}
}
.bottom-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 99;
background: #ffffff;
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
padding: 20rpx;
}
.button-bar {
}
.photoList {
display: flex;
padding-top: 12rpx;
.chooseBtn {
width: 202rpx;
height: 202rpx;
background: #fafafa;
border-radius: 12rpx;
border: 2rpx dashed #e2e2e2;
display: flex;
justify-content: center;
align-items: center;
.inner {
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.desc {
font-size: 28rpx;
font-weight: 400;
color: #24252a;
line-height: 40rpx;
}
.img {
width: 50rpx;
height: 50rpx;
margin-bottom: 6rpx;
}
}
.photoBox {
width: 202rpx;
height: 202rpx;
background: #fafafa;
border-radius: 12rpx;
position: relative;
.closeBtn {
position: absolute;
top: -12rpx;
right: -12rpx;
z-index: 2;
width: 36rpx;
height: 36rpx;
.img {
width: 36rpx;
height: 36rpx;
}
}
.img {
width: 202rpx;
height: 202rpx;
border-radius: 12rpx;
}
}
.itemBox {
flex: 0 0 202rpx;
margin-right: 20rpx;
&:last-child {
margin-right: 0;
}
}
// /deep/ .remarksBox textarea {
// font-size: 24rpx;
// }
}
}
</style>

@ -0,0 +1,316 @@
<!-- 扫描rfid,选择缓存区根据选择的缓存区查询库位勾选是否取走托盘提交托盘变更信息 -->
<template>
<view class="page-product-receipt">
<view class="header" :style="{ backgroundColor: `rgba(250, 53, 52, ${scrollTop / 100})` }">
<view class="left">
<u-icon class="icon" name="arrow-left" @click="goback()" />
</view>
<view class="title">报修审核</view>
<view class="right"></view>
</view>
<div class="singlebox">
<view class="single-left" style="background-color: #ffffff; margin-top: 10px">
<view style="width: 25%">审核状态</view>
<jPicker sureColor="#ff0000" @bindpicker="selectAuditStatus" showKey="label" valKey="value" :val="AuditStatusType.value" :options="AuditStatusList" />
</view>
</div>
<!-- <u-tabs name="cate_name" count="cate_count" :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs> -->
<view class="list" v-show="current == 0" v-for="(item, index) in listdata" :key="index" @click="linkdetails(item)">
<div class="list-top">
<div class="name">报修单号: {{ item.orderCode }}</div>
<div class="tag">{{ item.orderStatus == 0 ? '待处理' : item.orderStatus == 1 ? '已完成' : item.orderStatus == 2 ? '已逾期' : '进行中' }}</div>
<u-icon @click="linkdetails(item)" name="arrow-right" color="#2979ff" size="28"></u-icon>
</div>
<div class="item1">报修来源: {{ item.orderSource }}</div>
<div class="item1" style="color: red">设备编码:{{ item.equipmentCode }}</div>
<div class="item1" style="color: red">设备名称:{{ item.equipmentName }}</div>
<div class="item1" style="color: red">故障时间:{{ item.orderBreakdownTime }}</div>
<div class="item1" style="color: red">故障描述:{{ item.orderDesc }}</div>
<div class="item1">报修人: {{ item.orderRepairmanName }}</div>
</view>
<u-toast ref="uToast" />
<!-- <u-calendar v-model="iscalendar" :mode="mode" @change="changetime"></u-calendar> -->
</view>
</template>
<script lang="ts">
import { Component } from 'vue-property-decorator';
import { BasePage } from '@/components/base/page';
import model from './model';
import chooseOne from '@/components/choose-one/choose-one.vue';
import jPicker from '@/components/J-Picker/jPicker.vue';
import moment from 'moment';
// import { session } from '@/store/modules/session';
//import store from '@/store';
@Component({
components: {
chooseOne,
jPicker,
},
})
export default class RepairAudit extends BasePage {
model = model;
AuditStatusList: any = [
{ label: '待审核', value: '待审核' },
{ label: '审核通过', value: '审核通过' },
{ label: '驳回', value: '驳回' },
];
AuditStatusType: any = {};
list: any = [
{
cate_name: '今日任务',
},
{
cate_name: '保养记录',
},
];
current: any = 0;
moren = '选择缓存区';
shouciFocus = true;
zaiciFocus = false;
ischecked = false;
switchListText = [
{
title: '是',
value: 0,
},
{
title: '否',
value: 1,
},
];
listdata: any = [];
detailsdata: any = [];
orderNoItemList: any = {};
productCodeList: any = {};
productCodelocList: any = {};
detailsdataceshi: any = [
{
itemq: '保养任务1',
item2: '已保养',
item3: '2023-08-01 - 2023-08-31',
item4: '每月保养',
item5: 'XXXXX',
item6: '未发现异常',
},
{
itemq: '保养任务1',
item2: '已保养',
item3: '2023-08-01 - 2023-08-31',
item4: '每月保养',
item5: 'XXXXX',
item6: '未发现异常',
},
];
createTime: any = null;
iscalendar = false;
userinfo: any = null;
Sparepartlist: any = [];
// remove: any = {};
async onReady() {
this.createTime = moment().format('YYYY-MM-DD');
//await this.model.getpalletLocation();
//this.remove = this.model.WlList[0];
}
async onShow() {
this.AuditStatusType = this.AuditStatusList[0];
// await this.model.getTodayTask(this.AuditStatusType.value);
// this.listdata = model.orderNoItemList;
//
this.listdata = [
{
orderNo: '123456789',
orderStatus: 0,
orderSource: '0000dfcdcs',
equipmentCode: '123456789',
equipmentName: '2023-08-01',
orderBreakdownTime: 'jnnihnninin',
orderDesc: 'xscxdcdc',
orderRepairmanName: 'dwdxdwx',
},
{
orderNo: '123456789',
orderStatus: 0,
orderSource: '0000dfcdcs',
equipmentCode: '123456789',
equipmentName: '2023-08-01',
orderBreakdownTime: 'jnnihnninin',
orderDesc: 'xscxdcdc',
orderRepairmanName: 'dwdxdwx',
},
{
orderNo: '123456789',
orderStatus: 0,
orderSource: '0000dfcdcs',
equipmentCode: '123456789',
equipmentName: '2023-08-01',
orderBreakdownTime: 'jnnihnninin',
orderDesc: 'xscxdcdc',
orderRepairmanName: 'dwdxdwx',
},
];
}
selectAuditStatus(e: any) {
this.AuditStatusType = e;
}
clear() {
this.createTime = null;
}
onfocus() {
this.iscalendar = true;
}
async onLoad() {
// console.log(uni.getStorageSync('userinfo'));
}
// selectItem(e: any) {
// this.remove = e.pickerName;
// }
orderNo: any = '';
isorderNo: any = null;
location: any = '';
locationStatus: any = 1;
goback() {
uni.navigateTo({
url: `/pages/equipment/index`,
});
}
linkdetails(item) {
uni.navigateTo({
url: `/pages/equipment/RepairAudit/Audit?orderId=` + item.orderId,
});
// this.model.rowdatanull();
// this.orderNo = null;
// // this.model.rowdata = []
// // item.workStatus == 0 ? '' : item.workStatus == 1 ? '' : item.workStatus == 2 ? '' : '';
// if (item.orderStatus == 0) {
// uni.navigateTo({
// url: `/pages/equipment/RepairAudit/Audit`
// //?listitem=` + encodeURIComponent(JSON.stringify(item)) + '&equipmentCode=' + value,
// });
// } else if (item.orderStatus == 2 || item.orderStatus == 3) {
// uni.navigateTo({
// url: `/pages/equipment/Upkeep/repairing?listitem=` + encodeURIComponent(JSON.stringify(item)) + '&equipmentCode=' + value,
// });
// } else {
// this.ischecked = true;
// item.ischecked = true;
// uni.navigateTo({
// url: `/pages/equipment/Upkeep/repairingview?listitem=` + encodeURIComponent(JSON.stringify(item)) + '&equipmentCode=' + value,
// });
// }
}
}
</script>
<style lang="scss" scoped>
.page-product-receipt {
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #f8262c 51%, #d9001b 100%) no-repeat;
background-size: 100% 600rpx;
padding: 118rpx 30rpx 162rpx;
min-height: 100%;
.singlebox {
margin-top: 10px;
background-color: #fff;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px 0 rgba(128, 128, 128, 0.2);
}
.single-left {
display: flex;
.Scan {
border-radius: 6px;
}
}
.header {
position: fixed;
top: 0rpx;
left: 0;
right: 0;
z-index: 99;
display: flex;
height: 120rpx;
line-height: 88rpx;
color: #fff;
font-size: 34rpx;
font-weight: 500;
text-align: center;
padding: 45rpx 0rpx 0rpx;
.title {
flex: 3;
}
.left,
.right {
flex: 1;
}
.icon {
display: flex;
justify-content: center;
align-items: center;
width: 88rpx;
height: 88rpx;
}
}
.quest {
width: 367px;
border-radius: 5px;
border: rgba(121, 121, 121, 1) solid 1px;
background-color: #ffffff;
padding: 7px 8px 7px 12px;
box-sizing: border-box;
text-align: center;
font-size: 18px;
font-weight: 600;
color: black;
}
.list {
margin-top: 15px;
width: 367px;
border-radius: 5px;
border: rgba(121, 121, 121, 1) solid 1px;
background-color: #ffffff;
padding: 7px 8px 7px 8px;
box-sizing: border-box;
.list-top {
display: flex;
justify-content: space-between;
position: relative;
height: 24px;
align-items: center;
margin-bottom: 10px;
.name {
font-weight: 600;
font-size: 15px;
}
.tag {
width: 71px;
height: 24px;
border-radius: 5px;
text-align: center;
line-height: 24px;
// box-shadow: 0 1rpx 20rpx 0 #54B0D7;
border: 2px solid #54b0d7;
position: absolute;
right: 18px;
color: #54b0d7;
}
.tag1 {
border: 2px solid #83c874;
color: #83c874;
}
}
.item1 {
margin-bottom: 10px;
white-space: 1px;
}
}
::v-deep .yjy-switch-container .yjy-switch-item {
width: 100%;
}
::v-deep .yjy-switch-container {
width: 50%;
}
}
</style>

@ -0,0 +1,69 @@
import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
import store from '@/store';
import http from '@/utils/request';
import { url } from '@/utils/url';
@Module({
namespaced: true,
dynamic: true,
store,
name: 'page.equipment.RepairAudit',
})
export class RepairAudit extends VuexModule {
rowdata: any = [];
orderNoItemList: any = [];
getTaskRecordList: any = {};
@MutationAction
async getTodayTask(params: any) {
const result: any = await http.get(url.lanjuequipment.product.RepairAudit.getBXList, {
params: {
orderStatus: params,
},
});
const orderNoItemList = result.data;
return { orderNoItemList };
}
@MutationAction
async getTaskRecord(params: any) {
const result: any = await http.get(url.lanjuequipment.product.RepairAudit.getBXDetail + params);
const getTaskRecordList = result.data;
return { getTaskRecordList };
}
//巡检列表巡检记录
OrderInfList: any = [];
@MutationAction
async getInspectionOrderInfo(params: any) {
const result: any = await http.post(url.lanjuequipment.product.Inspection.getInspectionOrderInfo, params);
const OrderInfList: [] = result.data;
return { OrderInfList };
}
SubmitCode: any = '';
//是否开机保养
@MutationAction
async startMaintenanceTask(params: any) {
const result: any = await http.get(url.lanjuequipment.product.Upkeep.startMaintenanceTask, { params });
const SubmitCode: [] = result;
return { SubmitCode };
}
@MutationAction
async updateInspectionRecord(params: any) {
const result: any = await http.post(url.lanjuequipment.product.Inspection.updateInspectionRecord, params);
const SubmitCode: [] = result;
return { SubmitCode };
}
Checklist: any = [];
@MutationAction
async queryhandChecklist(params: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.list, { params: params });
const Checklist: any = result.rows;
console.log('this.tableData', Checklist);
// debugger
return { Checklist };
}
@MutationAction
async rowdatanull() {
const rowdata: [] = [];
return { rowdata };
}
}
export default getModule(RepairAudit);

@ -142,7 +142,7 @@ export default class LoginPage extends BasePage {
// console.log('Version////', this.Version);
}
///******************
version = '0.0.90'; //
version = '0.0.91'; //
//version = '0.0.6'; //
//*************** false true ****************
//isTest = true;

@ -255,7 +255,7 @@
</div>
</div>
<!-- 过程/首见 -->
<div class="" v-show="selectList.value == 'checkTypeSC' || selectList.value == 'checkTypeSCXJ'">
<div class="" v-show="selectList.value == 'checkTypeSC' || selectList.value == 'checkTypeSCXJ' || selectList.value == 'checkTypeCP'">
<u-form-item label="最终判定:">
<!-- <u-input v-model="formdata.checkResult" placeholder="" type="text" /> -->
<u-radio-group v-model="formdata.checkResult" @change="changeradio1(formdata.checkResult)">
@ -298,17 +298,17 @@
<u-form-item label="是否需要主管审核:">
<jPicker sureColor="#ff0000" :moren="moren16" @bindpicker="selectischeck" showKey="label" valKey="value" :val="selectischeckType.value" :options="ischecklist" />
</u-form-item>
<u-form-item label="QC主管:" v-show="selectischeckType.label == '是'">
<u-form-item label="QC主管:" v-show="selectischeckType.value == '0'">
<jPicker sureColor="#ff0000" :moren="moren11" @bindpicker="selectpgzgCode" showKey="label" valKey="value" :val="selectpgzgList.value" :options="pgzgList" />
</u-form-item>
<u-form-item label="质量主管:" v-show="selectischeckType.label == '是'">
<u-form-item label="质量主管:" v-show="selectischeckType.value == '0'">
<jPicker sureColor="#ff0000" :moren="moren17" @bindpicker="selectZLCode" showKey="label" valKey="value" :val="selectZLType.value" :options="pgzgList" />
</u-form-item>
</div>
</div>
<u-form-item label="备注描述:">
<u-input v-model="formdata.attr3" placeholder="" type="textarea" :border="border" :height="height" :auto-height="autoHeight" />
</u-form-item>
</u-form-item>
<!-- <u-form-item v-if="isshow1" label="不合格数量:">
<u-input v-model="formdata.noOkQuality" placeholder="" type="number" />
</u-form-item>
@ -636,7 +636,7 @@ export default class PurchaseWHSRM extends BasePage {
workorderCode: this.clickitem.orderNo,
};
//debugger;
if (this.selectList.value == 'checkTypeSC' || this.selectList.value == 'checkTypeSCXJ') {
if (this.selectList.value == 'checkTypeSC' || this.selectList.value == 'checkTypeSCXJ' || this.selectList.value == 'checkTypeCP') {
console.log('走到这了吗');
await model.getdeptFromListPDA();
this.deptlist = model.deptlist;
@ -670,6 +670,8 @@ export default class PurchaseWHSRM extends BasePage {
if (this.selectList.value == 'checkTypeLL') {
this.formdata.startOA = 1;
} else {
this.formdata.startOA = 0;
}
await this.model.getBatchList(query1);
let labelname = this.selectList.value;
@ -688,34 +690,89 @@ export default class PurchaseWHSRM extends BasePage {
belongTo: belongTo,
checkType: this.selectList.value,
};
await this.model.getCheckTaskList(query);
//稿
await this.model.queryCheckTaskDetailListCG(query);
let dataobj = this.model.returnobj;
//console.log(dataobj, '稿');
//稿
if (Object.keys(dataobj).length === 0) {
await this.model.getCheckTaskList(query);
if (this.clickitem.sampleQuality != null) {
this.formdata.sampleQuality = this.clickitem.sampleQuality;
if (this.clickitem.sampleQuality != null) {
this.formdata.sampleQuality = this.clickitem.sampleQuality;
} else {
this.formdata.sampleQuality = null;
}
this.detaillistceshi = this.model.CheckTaskList.qcCheckTaskDetails;
this.detaillistdefects = this.model.CheckTaskList.defects;
this.detaillistdefects.forEach((item) => {
if (item.noOkQuality == null) {
item.noOkQuality = 0;
}
});
this.detaillistdefects.forEach((item) => {
if (item.sampleQuality == null) {
item.sampleQuality = 0;
}
});
this.detaillistceshi.forEach((item) => {
item.factoryCode = session.PoolName;
item.checkType = this.selectList.value;
item.orderCode = this.clickitem.orderNo;
item.files = [];
item.babtype = this.defectCodelist;
item.defectlabel = null;
});
this.determine();
} else {
this.formdata.sampleQuality = null;
//稿
/***一些页面,回显了但是提交表单字段不对应,导致提交没有以下字段 */
this.formdata = dataobj;
this.formdata.storageFrom = dataobj.czbjr; //
this.formdata.transferFrom = dataobj.zcf; //
this.formdata.qcFrom = dataobj.qczg; //QC
this.formdata.workFrom = dataobj.oaFactory; //
this.formdata.startOA = dataobj.startOA;
this.formdata.sampleQuality = dataobj.sampleQuality;
this.formdata.oem = dataobj.zcoemcm; //OEM
this.formdata.sfxvzq = dataobj.sfxyzg; //
/***用于页面回显,主要是一些下拉选择和表单字段不对应的 */
this.selectdeptType.value = dataobj.sqbm; //
this.selectmaterialType.value = dataobj.materialType; //
this.selectmaterialFromList.value = dataobj.materialFrom; //
this.selectstorageList.value = dataobj.czbjr; //
this.selectTransferList.value = dataobj.zcf; //
this.selectQCList.value = dataobj.qczg; //QC
this.selectworkList.value = dataobj.oaFactory; //
this.selectsupplierType.value = dataobj.sfgyswt; //
this.selectabnormalType.value = dataobj.oaFactoryF; //
this.selectSSCJType.value = dataobj.sccj; //
this.selectischeckType.value = dataobj.sfxyzg; //
this.selectpgzgList.value = dataobj.pgzg; //QC
this.selectZLType.value = dataobj.pgzr; //
this.detaillistceshi = dataobj.qcCheckTaskDetails;
this.detaillistdefects = dataobj.defects;
this.detaillistdefects.forEach((item) => {
if (item.noOkQuality == null) {
item.noOkQuality = 0;
}
});
this.detaillistdefects.forEach((item) => {
if (item.sampleQuality == null) {
item.sampleQuality = 0;
}
});
this.detaillistceshi.forEach((item) => {
item.factoryCode = session.PoolName;
item.checkType = this.selectList.value;
item.orderCode = this.clickitem.orderNo;
item.files = [];
item.babtype = this.defectCodelist;
item.defectlabel = null;
});
//this.determine();
}
this.detaillistceshi = this.model.CheckTaskList.qcCheckTaskDetails;
this.detaillistdefects = this.model.CheckTaskList.defects;
this.detaillistdefects.forEach((item) => {
if (item.noOkQuality == null) {
item.noOkQuality = 0;
}
});
this.detaillistdefects.forEach((item) => {
if (item.sampleQuality == null) {
item.sampleQuality = 0;
}
});
this.detaillistceshi.forEach((item) => {
item.factoryCode = session.PoolName;
item.checkType = this.selectList.value;
item.orderCode = this.clickitem.orderNo;
item.files = [];
item.babtype = this.defectCodelist;
item.defectlabel = null;
});
this.determine();
// if (this.detaillistceshi.some((item) => item.status === 'Y')) {
// this.formdata.checkResult = ''
// }
@ -1070,7 +1127,7 @@ export default class PurchaseWHSRM extends BasePage {
}
}
//oa
if (this.selectList.value == 'checkTypeSC' || this.selectList.value == 'checkTypeSCXJ') {
if (this.selectList.value == 'checkTypeSC' || this.selectList.value == 'checkTypeSCXJ' || this.selectList.value == 'checkTypeCP') {
if (this.formdata.checkResult == 'N') {
if (this.formdata.checkLoc === null || this.formdata.checkLoc === '') {
(this.$refs.uToast as any).show({
@ -1183,7 +1240,7 @@ export default class PurchaseWHSRM extends BasePage {
}
});
let query = {};
if (this.selectList.value == 'checkTypeSC' || this.selectList.value == 'checkTypeSCXJ') {
if (this.selectList.value == 'checkTypeSC' || this.selectList.value == 'checkTypeSCXJ' || this.selectList.value == 'checkTypeCP') {
//
query = {
sampleQuality: this.formdata.sampleQuality,
@ -1205,9 +1262,9 @@ export default class PurchaseWHSRM extends BasePage {
//
materialName: this.clickitem.materialName,
//
//supplierCode: this.clickitem.supplierCode,
supplierCode: this.clickitem.supplierCode,
//
//supplierName: this.clickitem.supplierName,
supplierName: this.clickitem.supplierName,
//
quality: this.formdata.quality,
//
@ -1557,6 +1614,7 @@ export default class PurchaseWHSRM extends BasePage {
showCancel: true,
success: (res) => {
if (res.confirm) {
this.SaveDraft();
this.show = false;
this.sampleQuality = null;
} else if (res.cancel) {
@ -1574,6 +1632,7 @@ export default class PurchaseWHSRM extends BasePage {
showCancel: true,
success: (res) => {
if (res.confirm) {
this.SaveDraft();
this.show = false;
this.sampleQuality = null;
} else if (res.cancel) {
@ -1587,6 +1646,124 @@ export default class PurchaseWHSRM extends BasePage {
}
}
}
async SaveDraft() {
let typeCode = '';
this.nodelist.forEach((item) => {
if (this.selectList.value == item.orderCode) {
typeCode = item.typeCode;
}
});
this.detaillistceshi.forEach((item) => {
if (item.propertyCode == 1) {
if (item.actualValue == null || item.actualValue == '') {
this.isvalue = true;
}
}
});
this.detaillistceshi.forEach((item) => {
if (item.status == 'N') {
if (item.remark == null || item.remark == '') {
this.isremark = true;
}
}
});
this.detaillistdefects.forEach((item) => {
if (item.noOkQuality === null || item.noOkQuality === '') {
this.isquality = true;
}
});
let incomeBatchNo = '';
if (this.isshow3) {
// if (this.incomeBatchNo.value == '' || this.incomeBatchNo.value == undefined) {
// (this.$refs.uToast as any).show({
// title: '',
// type: 'default',
// });
// return;
// }
incomeBatchNo = this.incomeBatchNo.value;
} else {
incomeBatchNo = this.clickitem.incomeBatchNo;
}
this.detaillistceshi.forEach((item) => {
if (item.files.length > 0) {
item.files = [];
} else {
item.files = [];
}
if (this.selectList.value === 'checkTypeCP') {
item.sampleQuality = this.sampleQuality;
}
});
let params = {
sampleQuality: this.formdata.sampleQuality,
updateBy: session.userName,
factoryCode: session.PoolName,
updateByName: session.nickName,
typeCode: typeCode,
checkType: this.selectList.value,
orderCode: this.clickitem.orderNo,
workorderCodeSap: this.clickitem.workorderCodeSap,
qcCheckTaskDetails: this.detaillistceshi,
defects: this.detaillistdefects,
//
checkNo: this.clickitem.checkNo,
//
incomeBatchNo: incomeBatchNo || null,
//
materialCode: this.clickitem.materialCode,
//
materialName: this.clickitem.materialName,
//
supplierCode: this.clickitem.supplierCode,
//
supplierName: this.clickitem.supplierName,
//
quality: this.formdata.quality,
//
unit: this.clickitem.unit,
//oa
startOA: this.formdata.startOA,
//
checkResult: this.formdata.checkResult,
//
remark: this.formdata.remark,
//
materialType: this.formdata.materialType,
//
materialFrom: this.formdata.materialFrom,
//
reason: this.formdata.reason,
//
checkLoc: this.formdata.checkLoc, //
//
oaFactoryF: this.formdata.oaFactoryF,
//1 0()
sfgyswt: this.formdata.sfgyswt,
//] oa sobm()
sqbm: this.formdata.sqbm,
//
sfxyzg: this.formdata.sfxvzq,
//
czbjr: this.formdata.storageFrom,
// //
zcf: this.formdata.transferFrom,
// //oem
zcoemcm: this.formdata.oem,
//qc
pgzg: this.formdata.pgzg,
//
pgzr: this.formdata.pgzr,
sqr: session.loginName, //this.sqrlist.userId,
sccj: this.formdata.sccj,
attr3: this.formdata.attr3,
oaFactory: this.formdata.workFrom,
//qc
qczg: this.formdata.qcFrom,
};
await model.commitDraft(params); //99999
}
}
</script>
<style lang="scss" scoped>

@ -50,6 +50,21 @@ export class Materialinspection extends VuexModule {
const CheckTaskList = result.data;
return { CheckTaskList };
}
//草稿查询
returnobj: any = {};
@MutationAction
async queryCheckTaskDetailListCG(query: any) {
const result: any = await http.get(url.lanjuquality.Materialinspection.getCheckTaskDetailListCG, {
//loginName: session.loginName,
params: query,
});
//console.log(result, '11111');
const returnobj = result.data || {};
//console.log('0099999',returnobj);
return { returnobj };
}
SubmitCode: any = '';
@MutationAction
async commitCheckTaskList(params: any) {
@ -57,6 +72,13 @@ export class Materialinspection extends VuexModule {
const SubmitCode: [] = result;
return { SubmitCode };
}
commitDraftCode: any = '';
@MutationAction
async commitDraft(params: any) {
const result: any = await http.post(url.lanjuquality.Materialinspection.commitCheckResultsCg, params);
const commitDraftCode: [] = result;
return { commitDraftCode };
}
locList: any = [];
@MutationAction
async getBatchList(params: any) {

@ -86,7 +86,7 @@
</view>
<view class="row-list">
<view class="list-item"> 物料编码: </view>
<view> {{ item.materialCode }}</view>
<view> {{ item.handlematerialCode }}</view>
</view>
<view class="row-list">
<view class="list-item"> 物料描述: </view>
@ -521,7 +521,15 @@ export default class receivePO extends BasePage {
};
await this.model.selectOdsProcureOrderAlready(item);
if (model.Alreadycode == '200') {
this.receivedlist = model.ProcureOrderAlreadylist;
let alreadyList = model.ProcureOrderAlreadylist;
this.receivedlist = alreadyList.map((item) => {
let newmsrmMater = item.materialCode.slice(item.materialCode.search(/[1-9]/));
return {
...item,
handlematerialCode: newmsrmMater,
};
});
//this.receivedlist = model.ProcureOrderAlreadylist;
}
}
histroyItem: any = {};
@ -639,8 +647,7 @@ export default class receivePO extends BasePage {
await this.model.ArrivalRegistration(params);
if (this.model.Arrivalcode == 200) {
(this.$refs.uToast as any).show({
title: '成功',
type: 'success',
title: model.Arrivalmsg,
duration: 4000,
});
this.nopoupsing();

@ -104,12 +104,15 @@ export class receivePO extends VuexModule {
};
}
Arrivalcode: any = '';
Arrivalmsg: any = '';
@MutationAction
async ArrivalRegistration(data: any) {
const result: any = await http.post(url.lanjuwms.raw.ReceivePO.ArrivalRegistration, data);
const Arrivalcode = result.code;
const Arrivalmsg = result.msg;
return {
Arrivalcode,
Arrivalmsg,
};
}
singcode: any = '';

@ -84,13 +84,17 @@
<view class="list-item"> 送货单号: </view>
<view> {{ item.userDefined5 }} </view>
</view>
<view v-if="item.procureCode" class="row-list">
<view class="list-item"> 采购单号: </view>
<view> {{ item.procureCode }} </view>
</view>
<view class="row-list">
<view class="list-item"> 行项目: </view>
<view> {{ item.userDefined3 }} </view>
</view>
<view class="row-list">
<view class="list-item"> 物料编码: </view>
<view> {{ item.materialCode }}</view>
<view> {{ item.handlematerialCode }}</view>
</view>
<view class="row-list">
<view class="list-item"> 物料描述: </view>
@ -573,7 +577,14 @@ export default class receiveSRM extends BasePage {
};
await this.model.selectOdsProcureOrderAlready(item);
if (model.Alreadycode == '200') {
this.receivedlist = model.ProcureOrderAlreadylist;
let alreadyList = model.ProcureOrderAlreadylist;
this.receivedlist = alreadyList.map((item) => {
let newmsrmMater = item.materialCode.slice(item.materialCode.search(/[1-9]/));
return {
...item,
handlematerialCode: newmsrmMater,
};
});
}
}
histroyItem: any = {};
@ -695,8 +706,7 @@ export default class receiveSRM extends BasePage {
await this.model.ArrivalRegistration(params);
if (this.model.Arrivalcode == 200) {
(this.$refs.uToast as any).show({
title: '成功',
type: 'success',
title: model.Arrivalmsg,
duration: 4000,
});
this.nopoupsing();

@ -105,12 +105,15 @@ export class receiveSRM extends VuexModule {
};
}
Arrivalcode: any = '';
Arrivalmsg: any = '';
@MutationAction
async ArrivalRegistration(data: any) {
const result: any = await http.post(url.lanjuwms.raw.ReceiveSRM.ArrivalRegistration, data);
const Arrivalcode = result.code;
const Arrivalmsg = result.msg;
return {
Arrivalcode,
Arrivalmsg,
};
}
singcode: any = '';

@ -12,7 +12,7 @@
<!-- 单号 -->
<view class="single">
<view class="single-left">
<view>报工单号:</view>
<view>标志码:</view>
<u-search placeholder="请扫描" v-model="orderNo" @search="query" :show-action="false"></u-search>
</view>
<!-- <view class="single-right">
@ -244,7 +244,7 @@ export default class BatchOfflineStorage extends BasePage {
async query() {
if (this.orderNo == '' || this.orderNo.length == 0) {
(this.$refs.uToast as any).show({
title: '请输入工单号',
title: '请扫描标志码',
// url: '/pages/user/index'
});
return;
@ -262,7 +262,7 @@ export default class BatchOfflineStorage extends BasePage {
async onSubmit() {
if (this.orderNo == '' || this.orderNo.length == 0) {
(this.$refs.uToast as any).show({
title: '请输入工单号',
title: '请扫描标志码',
// url: '/pages/user/index'
});
return;
@ -321,22 +321,22 @@ export default class BatchOfflineStorage extends BasePage {
});
}
}
async getlist() {
await (this.model as any).list(this.orderNo);
if (model.productCodeList.length > 0) {
this.list = model.productCodeList;
} else {
this.list = [];
}
console.log(model.productCodeList);
}
// async getlist() {
// await (this.model as any).list(this.orderNo);
// if (model.productCodeList.length > 0) {
// this.list = model.productCodeList;
// } else {
// this.list = [];
// }
// console.log(model.productCodeList);
// }
async rukubutn() {
this.form5 = {
number: 50,
};
if (this.orderNo == '' || this.orderNo.length == 0) {
(this.$refs.uToast as any).show({
title: '请输入工单号',
title: '请扫描标志码',
// url: '/pages/user/index'
});
return;

@ -15,8 +15,8 @@ export class BatchOfflineStorage extends VuexModule {
orderNoItemList: any = [];
@MutationAction
async queryOrderNo(orderNo: any) {
const result: any = await http.post(url.lanjuwms.product.OfflineStorage.queryinformation, {
workOrder: orderNo,
const result: any = await http.post(url.lanjuwms.product.OfflineStorage.WorkOrderqueryBS, {
pallet: orderNo,
factoryCode: session.FactoryCode,
// headers: {
// poolName: session.PoolName,

@ -51,6 +51,7 @@ export const url = {
selectSnCorrelationBarcode: qianzhuione + '/wms/WmsToWCSmission/selectSnCorrelationBarcode',
addSnCorrelationBarcode: qianzhuione + '/wms/WmsToWCSmission/addSnCorrelationBarcode',
deletSnCorrelationBarcode: qianzhuione + '/wms/WmsToWCSmission/deletSnCorrelationBarcode',
WorkOrderqueryBS: qianzhuione + '/wms/WmsToWCSmission/WmsProductPutByWorkOrderqueryBS',
},
// 销售出库/sellout/showProduceCode/ /sellout/s/订单号/产品编码
@ -248,6 +249,11 @@ export const url = {
},
// 备件备品入库
SparepartsIntoOut: {},
//报修审核
RepairAudit: {
getBXList: qianzhuione + '/device/devicePDA/getBXList', //审核列表查询
getBXDetail: qianzhuione + '/device/devicePDA/getBXDetail', //审核详情查询
},
},
},
// 质量管理
@ -278,6 +284,8 @@ export const url = {
getAutoJudge: qianzhuione + '/quality/handCheck/getAutoJudge',
getstorge: qianzhuione + '/quality/handCheck/getUserIdList',
getOaUserId: qianzhuione + '/quality/handCheck/getOaUserId',
commitCheckResultsCg: qianzhuione + '/quality/handCheck/commitCheckResultsCg',
getCheckTaskDetailListCG: qianzhuione + '/quality/handCheck/getCheckTaskDetailListCg',
},
// 历史记录
Records: {

@ -15,6 +15,7 @@ module.exports = {
target: 'http://192.168.3.93:8080',
// target: 'http://192.168.3.66:8080',
// target: 'http://192.168.3.231:8080',
//target: 'http://192.168.3.158:8080',
changeOrigin: true,
pathRewrite: {
'^/dev-api': '',
@ -22,8 +23,8 @@ module.exports = {
},
'/api': {
//target: 'http://192.168.3.93:81',
//target: 'http://192.168.202.28:9001',
target: 'http://192.168.202.23:5001', //多功能wcs
//target: 'http://192.168.202.28:9001',
target: 'http://192.168.202.23:5001', //多功能wcs
//target: 'http://192168.202.28:9001', //单独wcs
changeOrigin: true,
// pathRewrite: {

Loading…
Cancel
Save