对接质量页面接口

master
LAPTOP-R6EHHS26\86155 2 years ago
parent 7d3a61b74f
commit 659247694b

@ -45,7 +45,7 @@
<div>检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" v-model="item1.actualValue" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" v-model="item1.actualValue" @focus="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>

@ -44,7 +44,7 @@
<div @click="checkimg(item1, item1.detailReach, index, index1)">检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @focus="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>
@ -59,8 +59,8 @@
<div style="margin-left: 42px">巡检时间:{{ detailsinfolist.orderStart }}</div>
</div>
<div class="details">
<div>是否异常: {{ detailsinfolist.workCode == null ? '否' : '是' }}</div>
<div style="margin-left: 42px">报修单:{{ detailsinfolist.workCode }}</div>
<div>是否异常: {{ detailsinfolist.repairCode == null ? '否' : '是' }}</div>
<div style="margin-left: 42px">报修单:{{ detailsinfolist.repairCode }}</div>
</div>
</div>
</view>

@ -109,7 +109,7 @@ export default class ChangePalletNew extends BasePage {
console.log(uni.getStorageSync('userinfo'));
this.userinfo = uni.getStorageSync('userinfo');
if (this.userinfo) {
await this.model.getTodayTask(this.userinfo.userId);
await this.model.getTodayTask(this.userinfo.userName);
console.log(model.orderNoItemList);
this.listdata = model.orderNoItemList;
}
@ -125,12 +125,12 @@ export default class ChangePalletNew extends BasePage {
this.current = index;
if (index == 0) {
if (this.userinfo) {
await this.model.getTodayTask(this.userinfo.userId);
await this.model.getTodayTask(this.userinfo.userName);
this.listdata = model.orderNoItemList;
}
} else {
if (this.userinfo) {
await this.model.getTaskRecord(this.userinfo.userId);
await this.model.getTaskRecord(this.userinfo.userName);
this.detailsdata = model.getTaskRecordList;
}
}

@ -114,7 +114,7 @@ export default class ChangePalletNew extends BasePage {
this.userinfo = uni.getStorageSync('userinfo');
if (this.userinfo) {
let query = {
userId: this.userinfo.userId,
userId: this.userinfo.userName,
workStatus: '0',
workOutsource: '0',
};
@ -135,7 +135,7 @@ export default class ChangePalletNew extends BasePage {
if (index == 0) {
if (this.userinfo) {
let query = {
userId: this.userinfo.userId,
userId: this.userinfo.userName,
workStatus: '0',
workOutsource: '0',
};
@ -145,7 +145,7 @@ export default class ChangePalletNew extends BasePage {
} else {
if (this.userinfo) {
let query = {
userId: this.userinfo.userId,
userId: this.userinfo.userName,
workStatus: '0',
workOutsource: '0',
};

@ -72,7 +72,7 @@
<div>检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" v-model="item1.actualValue" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" v-model="item1.actualValue" @focus="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>

@ -84,7 +84,7 @@
<div @click="checkimg(item1, item1.detailReach, index, index1)">检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @focus="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>

@ -44,7 +44,7 @@
</u-form-item>
<!-- 机台 -->
<u-form-item label="故障时间:">
<u-input @blur="blur()" @focus="focus()" placeholder="" v-model="orderBreakdownTime" />
<u-input @click="blur()" type="select" v-model="orderBreakdownTime" />
<u-picker mode="time" :default-time="defaulttime" :params="params" v-model="showtime" @confirm="timeConfirm" :timeEnd="endTime"></u-picker>
</u-form-item>
<u-form-item label="上传图片:">
@ -206,7 +206,7 @@ export default class ChangePalletNew extends BasePage {
});
}
timeConfirm(e) {
this.orderBreakdownTime = this.defaulttime;
this.orderBreakdownTime = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.month;
this.formdata.orderBreakdownTime = this.orderBreakdownTime;
console.log(e, this.formdata.orderBreakdownTime);
}
@ -264,7 +264,7 @@ export default class ChangePalletNew extends BasePage {
}
blur() {
console.log(1);
this.showtime = false;
this.showtime = true;
}
focus() {
console.log(2);

@ -45,7 +45,7 @@
<div>检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" v-model="item1.actualValue" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" v-model="item1.actualValue" @focus="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>

@ -44,7 +44,7 @@
<div @click="checkimg(item1, item1.detailReach, index, index1)">检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @focus="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>
@ -59,8 +59,8 @@
<div style="margin-left: 42px">点检时间:{{ detailsinfolist.orderStart }}</div>
</div>
<div class="details">
<div>是否异常: {{ detailsinfolist.workCode == null ? '否' : '是' }}</div>
<div style="margin-left: 42px">报修单:{{ detailsinfolist.workCode }}</div>
<div>是否异常: {{ detailsinfolist.repairCode == null ? '否' : '是' }}</div>
<div style="margin-left: 42px">报修单:{{ detailsinfolist.repairCode }}</div>
</div>
</div>
</view>

@ -108,7 +108,7 @@ export default class ChangePalletNew extends BasePage {
console.log(uni.getStorageSync('userinfo'));
this.userinfo = uni.getStorageSync('userinfo');
if (this.userinfo) {
await this.model.getTodayTask(this.userinfo.userId);
await this.model.getTodayTask(this.userinfo.userName);
console.log(model.orderNoItemList);
this.listdata = model.orderNoItemList;
}
@ -124,12 +124,12 @@ export default class ChangePalletNew extends BasePage {
this.current = index;
if (index == 0) {
if (this.userinfo) {
await this.model.getTodayTask(this.userinfo.userId);
await this.model.getTodayTask(this.userinfo.userName);
this.listdata = model.orderNoItemList;
}
} else {
if (this.userinfo) {
await this.model.getTaskRecord(this.userinfo.userId);
await this.model.getTaskRecord(this.userinfo.userName);
this.detailsdata = model.getTaskRecordList;
}
}

@ -129,7 +129,7 @@ export default class ChangePalletNew extends BasePage {
// workStatus: '0',
// workOutsource: '0',
// };
await this.model.getTodayTask(this.userinfo.userId);
await this.model.getTodayTask(this.userinfo.userName);
console.log(model.orderNoItemList);
this.listdata = model.orderNoItemList;
}
@ -150,7 +150,7 @@ export default class ChangePalletNew extends BasePage {
// workStatus: '0',
// workOutsource: '0',
// };
await this.model.getTodayTask(this.userinfo.userId);
await this.model.getTodayTask(this.userinfo.userName);
this.listdata = model.orderNoItemList;
}
} else {
@ -160,7 +160,7 @@ export default class ChangePalletNew extends BasePage {
// workStatus: '0',
// workOutsource: '0',
// };
await this.model.getTaskRecord(this.userinfo.userId);
await this.model.getTaskRecord(this.userinfo.userName);
this.detailsdata = model.getTaskRecordList;
}
}

@ -60,7 +60,7 @@
<div>检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" v-model="item1.actualValue" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" v-model="item1.actualValue" @focus="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>

@ -60,7 +60,7 @@
<div @click="checkimg(item1, item1.detailReach, index, index1)">检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @focus="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>

@ -237,6 +237,7 @@ export default class LoginPage extends BasePage {
const poolNameList = loginResultuser.poolNameList;
const userName = loginResultuser.user.userName;
const loginName = username;
const userId = loginResultuser.user.userId;
const createBy = loginResultuser.user.createBy;
const menuListold = loginResultuser.menuList;
let menuList = [];
@ -255,6 +256,7 @@ export default class LoginPage extends BasePage {
poolNameList,
createBy,
menuList,
userId,
});
uni.showToast({
//icon: 'success',

@ -1,303 +0,0 @@
<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">采购入库(SRM)详细</view>
<view class="right"></view>
</view>
<view class="scroll">
<view v-for="item in list" :key="item.id">
<u-form style="margin-top: 10rpx" class="form2">
<view class="list">
<view class="row-list">
<view class="list-item"> 物资编码: </view>
<view> 4500331750 </view>
</view>
<view class="row-list">
<view class="list-item"> 物资名称: </view>
<view> 40000006954 </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 托盘号: </view>
<view> 100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 批次号: </view>
<view> </view>
</view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 入库数量: </view>
<view> 100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 单位: </view>
<view> </view>
</view>
</view>
<view class="row-list">
<view class="list-item"> 库位码: </view>
<view> 1000/0(PC) </view>
</view>
</view>
</u-form>
</view>
</view>
</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';
@Component({
components: {
jPicker,
},
})
export default class PurchaseWHSRM extends BasePage {
model = model;
list: any = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }];
form3: any = {};
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
// this.remove = this.model.WlList[0];
// }
// selectItem(e: any) {
// this.remove = e.pickerName;
// }
orderNo: any = '';
border = true;
height = 100;
autoHeight = true;
imgList: any = [];
imgUrlList: any = [];
isqualified = [
{
label: '合格',
value: '1',
},
{
label: '不合格',
value: '0',
},
];
productCodeList: any = {};
async query() {
if (this.orderNo == '' || this.orderNo.length == 0) {
this.customToast('请输入nficl');
return;
}
await this.model.queryOrderNo(this.orderNo);
this.productCodeList = this.model.productCodeList[0];
this.histroyItem = this.model.orderNoItemList[0];
}
histroyItem: any = {};
barcode: any = '';
}
</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%;
.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;
}
}
.scroll {
// margin-top: 120rpx;
// padding-left: 30rpx;
// padding-right: 16rpx;
// margin-bottom: 20rpx;
// overflow: scroll;
// padding-top: 20rpx;
.form2 {
background-color: #fff;
padding: 25rpx 25rpx 25rpx;
border-radius: 10rpx;
box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
.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;
}
}
.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>

@ -10,44 +10,46 @@
<u-form class="form" ref="form" label-width="180rpx">
<!-- 订单 -->
<!-- <u-form-item label="检验节点"> -->
<u-input @blur="onblur()" @focus="onfocus" @click="onclick" :border="true" v-model="selectvalue" placeholder="请选择检验节点" style="overflow: hidden" />
<jPicker sureColor="#ff0000" :moren="moren" @bindpicker="selectProductlocCode" showKey="label" valKey="value" :val="selectList.value" :options="model.selectList" />
<!-- </u-form-item> -->
</u-form>
<view class="scroll">
<view v-for="item in list" :key="item.id" @dblclick="onFormDoubleClick(item)">
<view v-for="(item, index) in list" :key="index">
<u-form style="margin-top: 10rpx" class="form2">
<view class="list">
<view class="righttitle">
<view class="boder-icon-top zhuangtai" data-state="0">待收货</view>
<view class="boder-icon-top zhuangtai" data-state="0">{{ item.checkStatus == 0 ? '未处理' : item.checkStatus == 1 ? '处理中' : '已处理' }}</view>
</view>
<view class="row-list">
<view class="list-item"> 不合格类型: </view>
<view> 4500331750 </view>
<view> {{ item.checkName }} </view>
</view>
<view class="row-list">
<view class="list-item"> 订单号: </view>
<view> 40000006954 </view>
<view> {{ item.orderNo }} </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 物料号: </view>
<view> tp100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 物料名称: </view>
<view> 12335 </view>
</view>
<view class="list-item"> 物料号: </view>
<view> {{ item.materialName }} </view>
</view>
<view class="row-list">
<view class="list-item"> 物料名称: </view>
<view> {{ item.materialCode }} </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 数量: </view>
<view> 100/0 </view>
<view> {{ item.quality }} </view>
</view>
<view class="row-list-item">
<view class="list-item"> 单位: </view>
<view> {{ item.unit }} </view>
</view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 下一节点: </view>
<view> 100/0 </view>
<view> {{ item.nextNodeName }} </view>
</view>
</view>
<view a:if="true" class="righttitle">
@ -62,49 +64,49 @@
<view class="selectlist">
<div class="item-name">
<div class="quest">来料不合格处理:</div>
<div class="details">
<div>厂区小榄</div>
<div style="margin-left: 42px">OEM厂名厂名1</div>
<div class="details" style="display: flex; justify-content: space-between">
<div>厂区{{ formdata.factoryCode }}</div>
<div>OEM厂名{{ formdata.supplierCode }}</div>
</div>
<div class="details">
<div>来料类别消杀物料</div>
<div style="margin-left: 42px">物料名称原料1</div>
<div>来料类别{{ formdata.supplierCode }}</div>
<div>物料名称{{ formdata.materialName }}</div>
</div>
<div class="details">
<div>供应商编码112233</div>
<div style="margin-left: 42px">供应商名称名称1</div>
<div>供应商编码{{ formdata.supplierCode }}</div>
<div>供应商名称{{ formdata.supplierName }}</div>
</div>
<div class="details">
<div>生产批号112233</div>
<div style="margin-left: 42px">物料数量名称1</div>
<div>来料批次号{{ formdata.incomeBatchNo }}</div>
<div>来料日期{{ formdata.incomeTime }}</div>
</div>
<div class="details" style="display: flex; justify-content: space-between">
<div>物料数量{{ formdata.quality }}</div>
<div>单位{{ formdata.unit }}</div>
</div>
<div class="details" style="display: flex; justify-content: space-between">
<div>检验编号{{ formdata.orderNo }}</div>
<div>检验人{{ formdata.checkManName }}</div>
</div>
<div class="details">
<div>检验日期2023-01-01:</div>
<div style="margin-left: 42px">单位g</div>
</div>
<div class="details">
<div>检验编号12342</div>
<div style="margin-left: 42px">OEM产品提报人人员1</div>
</div>
<div class="details">
<div>物料来源正常采购</div>
<div>物料来源{{ formdata.supplierCode }}</div>
</div>
</div>
</view>
<u-form class="Belowsform3" ref="form" label-width="230rpx" label-position="top">
<u-form-item label="不合格情况描述:">
<u-input v-model="formdata.workCost" placeholder="请输入内容" border="true" height="100" auto-height="true" type="textarea" />
<u-input v-model="formdata.workCost" placeholder="请输入内容" :border="true" height="100" :auto-height="true" type="textarea" />
</u-form-item>
<div class="title">处理人1 姓名1 2023-01-01 11:11:11</div>
<u-form-item class="input1">
<u-input v-model="formdata.workCost" disabled="true" placeholder="处理意见:退货" />
<u-input v-model="formdata.workCost" :disabled="true" placeholder="处理意见:退货" />
</u-form-item>
<div class="title">处理人2 姓名1 2023-01-01 11:11:11</div>
<u-form-item class="input1">
<u-input v-model="formdata.workCost" disabled="true" placeholder="处理意见:退货" />
<u-input v-model="formdata.workCost" :disabled="true" placeholder="处理意见:退货" />
</u-form-item>
<u-form-item label="处理人3:">
<u-input v-model="formdata.workCost" placeholder="请输入内容" border="true" height="100" auto-height="true" type="textarea" />
<u-input v-model="formdata.workCost" placeholder="请输入内容" :border="true" height="100" :auto-height="true" type="textarea" />
</u-form-item>
</u-form>
<view class="poupbutton" style="margin-top: 10px">
@ -119,19 +121,6 @@
<view v-if="show" class="mask"></view>
</view>
<u-select v-model="showselect" mode="mutil-column-auto" :list="selectlist" @confirm="confirmselect"></u-select>
<u-modal v-model="isshow" class="modal" :show-cancel-button="true" :show-title="false" @cancel="cancel" @confirm="confirm">
<div class="tagsbox">
<u-tag v-for="(item, index) in tagslist" class="tags" :key="item.id" :text="item.tagsname" type="info" closeable @close="tagClick(index)" />
</div>
<div class="upload-name">
<div>
<u-input :border="true" v-model="tagsvalue" style="overflow: hidden" />
</div>
<div>
<u-button style="width: 100px; height: 35px; margin-left: 5px" @click="ontagsadd" size="mini" type="primary">确认</u-button>
</div>
</div>
</u-modal>
</view>
</template>
<script lang="ts">
@ -140,7 +129,7 @@ import { BasePage } from '@/components/base/page';
import jPicker from '@/components/J-Picker/jPicker.vue';
import model from './model';
//import { any } from 'lodash/fp';
//import { session } from '@/store/modules/session';
import { session } from '@/store/modules/session';
@Component({
components: {
jPicker,
@ -148,28 +137,110 @@ import model from './model';
})
export default class PurchaseWHSRM extends BasePage {
model = model;
list: any = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }];
moren = '请选择检验节点';
list: any = [
{
createBy: null,
createTime: '2023-12-05 17:05:38',
updateBy: null,
updateTime: null,
remark: null,
poolName: null,
deptId: null,
id: '6026eb7bb28e463a82f8ce42a28b8644',
taskId: 'bacd97a5eda443a7895a88c484b88a51',
status: '0',
nextNodeCode: null,
nextNodeName: null,
attr1: null,
attr2: null,
attr3: null,
attr4: null,
factoryCode: null,
delFlag: null,
checkTimeStart: null,
checkTimeEnd: null,
type: null,
checkType: 'checkTypeLL',
checkName: '来料检验',
checkNo: '202312050001',
incomeBatchNo: '202312051339zxl',
orderNo: '202312051338zxl',
materialCode: '000000020000000279',
materialName: 'Φ120mm微烟白坯',
quality: '800.00',
unit: 'ST',
supplierCode: '0000102874',
supplierName: '中山恒阳日用制品有限公司',
incomeTime: '2023-12-05 21:34:06',
checkLoc: 'khd',
checkStatus: '0',
checkManCode: 'device',
checkManName: '设备测试',
checkTime: '2023-12-05 17:05:38.0',
checkResult: 'N',
},
];
show = false;
showselect = false;
isshow = false;
form3: any = {
barCodewl: '',
};
formdata: any = {
barCodewl: '',
};
listselect: any = [
{
type: 1,
type: 'Y',
name: '合格',
radiovalue: null,
},
{
type: 0,
type: 'N',
name: '不合格',
radiovalue: null,
},
];
formdata: any = {
createBy: null,
createTime: '2023-12-05 17:05:38',
updateBy: null,
updateTime: null,
remark: null,
poolName: null,
deptId: null,
id: '6026eb7bb28e463a82f8ce42a28b8644',
taskId: 'bacd97a5eda443a7895a88c484b88a51',
status: '0',
nextNodeCode: null,
nextNodeName: null,
attr1: null,
attr2: null,
attr3: null,
attr4: null,
factoryCode: null,
delFlag: null,
checkTimeStart: null,
checkTimeEnd: null,
type: null,
checkType: 'checkTypeLL',
checkName: '来料检验',
checkNo: '202312050001',
incomeBatchNo: '202312051339zxl',
orderNo: '202312051338zxl',
materialCode: '000000020000000279',
materialName: 'Φ120mm微烟白坯',
quality: '800.00',
unit: 'ST',
supplierCode: '0000102874',
supplierName: '中山恒阳日用制品有限公司',
incomeTime: '2023-12-05 21:34:06',
checkLoc: 'khd',
checkStatus: '0',
checkManCode: 'device',
checkManName: '设备测试',
checkTime: '2023-12-05 17:05:38.0',
checkResult: 'N',
};
selectList: any = {};
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
@ -179,22 +250,6 @@ export default class PurchaseWHSRM extends BasePage {
// this.remove = e.pickerName;
// }
orderNo: any = '';
selectvalue: any = '';
border = true;
height = 100;
autoHeight = true;
imgList: any = [];
imgUrlList: any = [];
isqualified = [
{
label: '合格',
value: '1',
},
{
label: '不合格',
value: '0',
},
];
selectlist: any = [
{
value: 1,
@ -247,7 +302,6 @@ export default class PurchaseWHSRM extends BasePage {
],
},
];
productCodeList: any = {};
detailList: any = [
{
createBy: 'job',
@ -511,12 +565,17 @@ export default class PurchaseWHSRM extends BasePage {
equipmentindex: any = [];
tagsvalue: any = '';
tagslist: any = [];
detailsinfo: any = [];
nodelist: any = '';
clickitem: any = '';
isvalue = false;
isfocus = false;
//
tagClick(index) {
this.tagslist.splice(index, 1);
}
ontagsadd() {
let arr1 = {};
if (this.tagsvalue == '' || this.tagsvalue == undefined) {
// this.customToast('');
(this.$refs.uToast as any).show({
@ -525,30 +584,72 @@ export default class PurchaseWHSRM extends BasePage {
});
return;
}
arr1 = {
tagsname: this.tagsvalue,
};
this.tagslist.push(arr1);
this.tagslist.push(this.tagsvalue);
// this.isfocus = false;
// this.$nextTick(() => {
// this.isfocus = true;
// });
}
onPass(item) {
async onLoad(options) {
this.getselectlist();
if (options.listitem) {
let str = decodeURIComponent(options.listitem);
if (str) {
this.detailsinfo = JSON.parse(str);
this.selectList.value = this.detailsinfo.checkType;
console.log(this.detailsinfo);
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: 0,
checkType: this.detailsinfo.checkType,
};
await this.model.getCheckTaskListall(query);
this.list = this.model.CheckTaskListall;
}
}
}
async getselectlist() {
await this.model.getCheckType();
this.nodelist = this.model.orderNoItemList;
}
async onPass(item) {
console.log('1234567', item);
this.clickitem = item;
// let belongTo = item.recordId;
// await this.model.getCheckTaskList(belongTo);
// this.detailList = this.model.CheckTaskListall
this.show = true;
}
radioGroupChange(item, value, index, index1) {
console.log(item, value, index, index1);
radioGroupChange(item, value, index) {
console.log(item, value, index);
}
radioChange(e) {
console.log(e, '11111');
}
blur(item, value, index, index1) {
console.log(item, value, index, index1);
this.equipmentindex = [];
this.equipmentindex.push(index);
this.equipmentindex.push(index1);
this.isshow = true;
async selectProductlocCode(e: any) {
this.selectList = e.pickerName;
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: 0,
checkType: this.selectList.value,
};
await this.model.getCheckTaskListall(query);
// this.productCodelocList = e.pickerName;
// let params = {
// productionState: this.productCodelocList.value.toString(),
// };
// await this.model.getpalletLocation(params); //23
}
focus() {
focus(item, value, index) {
console.log(item, value, index);
this.tagslist = [];
this.equipmentindex = [];
this.tagsvalue = null;
this.equipmentindex.push(index);
this.isshow = true;
console.log(1);
}
changeinput(e) {
console.log(e);
@ -572,65 +673,38 @@ export default class PurchaseWHSRM extends BasePage {
console.log('111');
this.showselect = true;
}
async getlist() {
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: 0,
checkType: this.selectList.value,
};
await this.model.getCheckTaskListall(query);
}
//
onOk() {
console.log('1234567');
async onOk() {
this.formdata.forEach((item) => {
if (item.actualValue == null || item.actualValue == '') {
// console.log(this.isvalue);
this.isvalue = true;
}
});
console.log(this.formdata);
if (this.isvalue) {
(this.$refs.uToast as any).show({
title: '检查标准不能为空',
type: 'default',
});
return;
}
//await this.model.OnSubmit(this.form3.barCodewl);
}
confirmselect(e) {
console.log(e);
}
confirm() {
console.log(this.detailList[this.equipmentindex[0]].standardList[this.equipmentindex[1]]);
}
cancel() {
this.isshow = false;
}
async onFormDoubleClick(item) {
console.log('双击', item);
//await this.model.OnSubmit(item.id);
this.uni.navigateTo({
url: this.page.wms.PurchaseWHSRMDetail,
});
console.log(this.equipmentindex, this.tagslist);
}
//
async query() {
// if (this.orderNo == '' || this.orderNo.length == 0) {
// this.customToast('nficl');
// return;
// }
// await this.model.queryOrderNo(this.orderNo);
// this.list = model.orderNoItemList;
}
//
tidan() {
console.log('11111');
}
histroyItem: any = {};
barcode: any = '';
//
scanwl() {
const self: PurchaseWHSRM = this as PurchaseWHSRM;
const showToast = (message: string) => {
uni.showToast({
title: message,
icon: 'none',
});
};
uni.scanCode({
onlyFromCamera: true,
success: function (res) {
//showToast(res.result);
console.log('条码类型:' + res.scanType);
console.log('条码内容:' + res.result);
self.form3.barCodewl = res.result;
//that.getByPoint();
},
fail: function () {
showToast('扫码不成功');
},
});
}
}
</script>
<style lang="scss" scoped>
@ -839,8 +913,8 @@ export default class PurchaseWHSRM extends BasePage {
font-size: 18px;
}
.details {
display: flex;
font-size: 16px;
// display: flex;
font-size: 15px;
// justify-content: space-between;
align-items: center;
margin-bottom: 8px;

@ -1,7 +1,7 @@
import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
import store from '@/store';
import http from '@/utils/request';
//import { url } from '@/utils/url';
import { url } from '@/utils/url';
import { session } from '@/store/modules/session';
@Module({
namespaced: true,
@ -11,46 +11,53 @@ import { session } from '@/store/modules/session';
})
export class Belowstandard extends VuexModule {
WlList = [];
@MutationAction
async queryLocation() {
const result: any = await http.post('', {
// factoryCode: session.factoryCode,
loginName: session.loginName,
});
const WlList = result.data.map((_: any) => ({
label: _.locationCode,
value: _.locationCode,
}));
return { WlList };
}
orderNoItemList: any = [];
productCodeList: any = [];
selectList: any = [];
@MutationAction
async queryOrderNo(orderNo: any) {
const result: any = await http.post('', {
// factoryCode: session.factoryCode,
loginName: session.loginName,
orderNo,
async getCheckType() {
const result: any = await http.get(url.lanjuquality.Materialinspection.getCheckType, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
},
});
const orderNoItemList = result.data;
// const productCodeList = result.data.map((_: any) => ({
// label: _.productCode,
// value: _.productCode,
// }));
return { orderNoItemList };
const selectList = result.data.map((item: any) => ({
label: item.checkName,
value: item.orderCode,
}));
return { orderNoItemList, selectList };
}
CheckTaskListall: any = [];
@MutationAction
async getCheckTaskListall(query: any) {
const result: any = await http.get(url.lanjuquality.Materialinspection.getCheckTaskListall, {
//loginName: session.loginName,
params: query,
});
const CheckTaskListall = result.data;
return { CheckTaskListall };
}
CheckTaskList: any = [];
@MutationAction
async getCheckTaskList(belongTo: any) {
const result: any = await http.get(url.lanjuquality.Materialinspection.getCheckTaskList, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
belongTo: belongTo,
},
});
const CheckTaskList = result.data;
return { CheckTaskList };
}
SubmitCode: any = '';
@MutationAction
async OnSubmit(params: any) {
const result: any = await http.post('', params);
const SubmitCode = result.code;
async commitCheckTaskList(params: any) {
const result: any = await http.post(url.lanjuquality.Materialinspection.commitCheckTaskList, params);
const SubmitCode: [] = result;
return { SubmitCode };
}
@MutationAction
async empty() {
const productCodeList = [];
return { productCodeList };
}
}
export default getModule(Belowstandard);

@ -7,14 +7,16 @@
<view class="title">检验项目</view>
<view class="right"></view>
</view>
<view class="single-left">
<u-input @blur="onblur()" @focus="onfocus" @click="onclick" style="width: 100%; background-color: #ffffff; margin: auto" v-model="orderNo" placeholder="请选择检验项目" />
<!-- <uni-icons type="scan" size="35" @click="scanCodeOne" style="color: #0b9eff; margin: auto; padding: 22rpx"></uni-icons> -->
</view>
<u-form class="form" ref="form" label-width="180rpx">
<!-- 订单 -->
<!-- <u-form-item label="检验节点"> -->
<jPicker sureColor="#ff0000" :moren="moren" @bindpicker="selectProductlocCode" showKey="label" valKey="value" :val="selectList.value" :options="model.selectList" />
<!-- </u-form-item> -->
</u-form>
<view style="margin: 20px">
<wyb-table ref="table" :headers="headers" :contents="list" width="auto" first-col-bg-color="#ffffff" checker-color="#000000" @onCheck="changeContent" show-left-and-right-border />
<wyb-table ref="table" :headers="headers" :contents="tableData" width="auto" first-col-bg-color="#ffffff" checker-color="#000000" @onCheck="changeContent" show-left-and-right-border />
</view>
<u-select v-model="show" mode="mutil-column-auto" :list="list" @confirm="confirm"></u-select>
<!-- <view class="bottom-bar">
<u-row class="button-bar">
@ -34,7 +36,7 @@ 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 { session } from '@/store/modules/session';
// import wybTable from '@/components/wyb-table/wyb-table.vue';
@Component({
components: {
@ -43,8 +45,7 @@ import model from './model';
})
export default class ProductionQtyInsplist extends BasePage {
model = model;
rowdata: any = {};
formdata: any = {};
moren = '请选择检验项目';
show: any = false;
headers = [
{
@ -74,72 +75,17 @@ export default class ProductionQtyInsplist extends BasePage {
label: '单位',
key: 'unit',
},
];
tableData: any = [];
orderNo: any = '';
shouciFocus = true;
]; //id:id
//
detailsinfo: any = {};
detailsinfolist: any = {};
detailsinfocontent: any = {};
//
isshow = false;
inputmodal = false;
isvalue = false;
ischecked = false;
radiomodal = false;
list: any = [
{
value: 1,
label: '中国',
children: [
{
value: 2,
label: '广东',
children: [
{
value: 3,
label: '深圳',
},
{
value: 4,
label: '广州',
},
],
},
{
value: 5,
label: '广西',
children: [
{
value: 6,
label: '南宁',
},
{
value: 7,
label: '桂林',
},
],
},
],
},
{
value: 8,
label: '美国',
children: [
{
value: 9,
label: '纽约',
children: [
{
value: 10,
label: '皇后街区',
},
],
},
],
},
];
selectList: any = {};
tableData: any = [];
nodelist: any = [];
list: any = [];
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
@ -148,9 +94,44 @@ export default class ProductionQtyInsplist extends BasePage {
// selectItem(e: any) {
// this.remove = e.pickerName;
// }
async onLoad(options) {
this.getselectlist();
if (options.listitem) {
let str = decodeURIComponent(options.listitem);
if (str) {
this.detailsinfo = JSON.parse(str);
this.selectList.value = this.detailsinfo.checkType;
console.log(this.detailsinfo);
let query = {
factoryCode: session.PoolName,
};
await this.model.getCheckTypeProjectList(query);
this.tableData = this.model.CheckTaskListall;
this.tableData.map((item, index) => {
item.index = index + 1;
});
}
} else {
this.getlist();
}
}
async getselectlist() {
await this.model.getCheckType();
this.nodelist = this.model.orderNoItemList;
}
async getlist() {
let query = {
factoryCode: session.PoolName,
};
await this.model.getCheckTypeProjectList(query);
this.tableData = this.model.CheckTaskListall;
this.tableData.map((item, index) => {
item.index = index + 1;
});
}
onShow() {
// this.query();
console.log(2, this.model.rowdata);
console.log(2);
}
onblur() {
console.log('333');
@ -164,50 +145,22 @@ export default class ProductionQtyInsplist extends BasePage {
console.log('111');
this.show = true;
}
confirm(e) {
console.log(e, this.page, this.rowdata);
}
cancel() {
this.isshow = false;
}
goback() {
uni.redirectTo({
url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(this.detailsinfo)),
});
}
async onLoad() {
console.log('111');
}
changeContent(e) {
//console.log('eee', e.data);
this.rowdata = e.data[0]?.lineData;
console.log('eee', e);
// uni.$emit('changeContent',e);
}
onSubmit() {
//debugger
//console.log('xssss',this.rowdata);
if (JSON.stringify(this.rowdata) === '{}' || this.rowdata === undefined) {
this.customToast('请选择至少一个备件');
return;
}
this.isshow = true;
// this.uni.navigateTo({
// url: this.page.mes.ProductionQtyInspDetail,
// });
}
async search() {
let query = {
pageNum: 1,
pageSize: 10000,
materialDesc: this.orderNo,
};
await this.model.queryhandChecklist(query);
this.tableData = this.model.Checklist;
this.tableData.map((item, index) => {
item.index = index + 1;
});
async selectProductlocCode(e: any) {
this.selectList = e.pickerName;
// let query = {
// factoryCode: session.PoolName,
// };
// await this.model.getCheckTypeProjectList(query);
// this.list = this.model.CheckTaskListall
}
histroyItem: any = {};
barcode: any = '';

@ -2,63 +2,41 @@ import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decor
import store from '@/store';
import http from '@/utils/request';
import { url } from '@/utils/url';
import { session } from '@/store/modules/session';
@Module({
namespaced: true,
dynamic: true,
store,
name: 'page.equipment.Inspectionitem',
name: 'page.raw.Inspectionitem',
})
export class Inspectionitem extends VuexModule {
rowdata: any = [];
WlList = [];
orderNoItemList: any = [];
getTaskRecordList: any = [];
selectList: any = [];
@MutationAction
async getTodayTask(params: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.getTodayTask, { params: params });
async getCheckType() {
const result: any = await http.get(url.lanjuquality.Inspection.pdaMaterialTree, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
},
});
const orderNoItemList = result.data;
return { orderNoItemList };
const selectList = result.data.map((item: any) => ({
label: item.checkName,
value: item.orderCode,
}));
return { orderNoItemList, selectList };
}
CheckTaskListall: any = [];
@MutationAction
async getTaskRecord(params: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.getTaskRecord, { params: params });
const getTaskRecordList = result.data;
return { getTaskRecordList };
}
//巡检列表巡检记录
OrderInfList: any = [];
@MutationAction
async getInspectionOrderInfo(workId: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.selectPdaRepairWorkOrderDetails + '/' + workId);
const OrderInfList: [] = result.data;
return { OrderInfList };
}
SubmitCode: any = '';
//巡检提交
@MutationAction
async updateInspectionRecord(params: any) {
const result: any = await http.put(url.lanjuequipment.product.Repair.updateDowntime, params);
const SubmitCode: [] = result;
return { SubmitCode };
}
@MutationAction
async updateMaintenanceRecords(params: any) {
const result: any = await http.put(url.lanjuequipment.product.Repair.updateMaintenanceRecords, 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 };
async getCheckTypeProjectList(query: any) {
const result: any = await http.get(url.lanjuquality.Inspection.getCheckTypeProjectList, {
//loginName: session.loginName,
params: query,
});
const CheckTaskListall = result.rows;
return { CheckTaskListall };
}
}

@ -11,20 +11,9 @@
<u-input @blur="onblur()" @focus="onfocus" @click="onclick" style="width: 100%; background-color: #ffffff; margin: auto;" v-model="orderNo" placeholder="请选择检验项目" />
</view> -->
<view style="margin: 20px">
<wyb-table ref="table" :headers="headers" :contents="list" width="auto" first-col-bg-color="#ffffff" checker-color="#000000" @onCheck="changeContent" show-left-and-right-border />
<wyb-table ref="table" :headers="headers" :contents="tableData" width="auto" first-col-bg-color="#ffffff" checker-color="#000000" @onCheck="changeContent" show-left-and-right-border />
</view>
<u-select v-model="show" mode="mutil-column-auto" :list="list" @confirm="confirm"></u-select>
<!-- <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>
@ -33,7 +22,7 @@ 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 { session } from '@/store/modules/session';
// import wybTable from '@/components/wyb-table/wyb-table.vue';
@Component({
components: {
@ -87,58 +76,7 @@ export default class ProductionQtyInsplist extends BasePage {
isvalue = false;
ischecked = false;
radiomodal = false;
list: any = [
{
value: 1,
label: '中国',
children: [
{
value: 2,
label: '广东',
children: [
{
value: 3,
label: '深圳',
},
{
value: 4,
label: '广州',
},
],
},
{
value: 5,
label: '广西',
children: [
{
value: 6,
label: '南宁',
},
{
value: 7,
label: '桂林',
},
],
},
],
},
{
value: 8,
label: '美国',
children: [
{
value: 9,
label: '纽约',
children: [
{
value: 10,
label: '皇后街区',
},
],
},
],
},
];
list: any = [];
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
@ -147,6 +85,35 @@ export default class ProductionQtyInsplist extends BasePage {
// selectItem(e: any) {
// this.remove = e.pickerName;
// }
async onLoad(options) {
if (options.listitem) {
let str = decodeURIComponent(options.listitem);
if (str) {
this.detailsinfo = JSON.parse(str);
console.log(this.detailsinfo);
let query = {
factoryCode: session.PoolName,
};
await this.model.getCheckTypeProjectList(query);
this.tableData = this.model.CheckTaskListall;
this.tableData.map((item, index) => {
item.index = index + 1;
});
}
} else {
this.getlist();
}
}
async getlist() {
let query = {
factoryCode: session.PoolName,
};
await this.model.getCheckTypeProjectList(query);
this.tableData = this.model.CheckTaskListall;
this.tableData.map((item, index) => {
item.index = index + 1;
});
}
onShow() {
// this.query();
}
@ -173,31 +140,11 @@ export default class ProductionQtyInsplist extends BasePage {
url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(this.detailsinfo)),
});
}
async onLoad() {
console.log('111');
}
changeContent(e) {
//console.log('eee', e.data);
this.rowdata = e.data[0]?.lineData;
// uni.$emit('changeContent',e);
}
onSubmit() {
//debugger
//console.log('xssss',this.rowdata);
if (JSON.stringify(this.rowdata) === '{}' || this.rowdata === undefined) {
this.customToast('请选择至少一个备件');
return;
}
this.isshow = true;
// this.uni.navigateTo({
// url: this.page.mes.ProductionQtyInspDetail,
// });
}
histroyItem: any = {};
barcode: any = '';
}
</script>
<style lang="scss" scoped>

@ -2,63 +2,41 @@ import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decor
import store from '@/store';
import http from '@/utils/request';
import { url } from '@/utils/url';
import { session } from '@/store/modules/session';
@Module({
namespaced: true,
dynamic: true,
store,
name: 'page.equipment.Inspectionrule',
name: 'page.raw.Inspectionrule',
})
export class Inspectionrule extends VuexModule {
rowdata: any = [];
WlList = [];
orderNoItemList: any = [];
getTaskRecordList: any = [];
selectList: any = [];
@MutationAction
async getTodayTask(params: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.getTodayTask, { params: params });
async getCheckType() {
const result: any = await http.get(url.lanjuquality.Inspection.pdaMaterialTree, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
},
});
const orderNoItemList = result.data;
return { orderNoItemList };
const selectList = result.data.map((item: any) => ({
label: item.checkName,
value: item.orderCode,
}));
return { orderNoItemList, selectList };
}
CheckTaskListall: any = [];
@MutationAction
async getTaskRecord(params: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.getTaskRecord, { params: params });
const getTaskRecordList = result.data;
return { getTaskRecordList };
}
//巡检列表巡检记录
OrderInfList: any = [];
@MutationAction
async getInspectionOrderInfo(workId: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.selectPdaRepairWorkOrderDetails + '/' + workId);
const OrderInfList: [] = result.data;
return { OrderInfList };
}
SubmitCode: any = '';
//巡检提交
@MutationAction
async updateInspectionRecord(params: any) {
const result: any = await http.put(url.lanjuequipment.product.Repair.updateDowntime, params);
const SubmitCode: [] = result;
return { SubmitCode };
}
@MutationAction
async updateMaintenanceRecords(params: any) {
const result: any = await http.put(url.lanjuequipment.product.Repair.updateMaintenanceRecords, 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 };
async getCheckTypeProjectList(query: any) {
const result: any = await http.get(url.lanjuquality.Inspection.getCheckTypeProjectList, {
//loginName: session.loginName,
params: query,
});
const CheckTaskListall = result.rows;
return { CheckTaskListall };
}
}

@ -11,20 +11,9 @@
<u-input @blur="onblur()" @focus="onfocus" @click="onclick" style="width: 100%; background-color: #ffffff; margin: auto;" v-model="orderNo" placeholder="请选择检验项目" />
</view> -->
<view style="margin: 20px">
<wyb-table ref="table" :headers="headers" :contents="list" width="auto" first-col-bg-color="#ffffff" checker-color="#000000" @onCheck="changeContent" show-left-and-right-border />
<wyb-table ref="table" :headers="headers" :contents="tableData" width="auto" first-col-bg-color="#ffffff" checker-color="#000000" @onCheck="changeContent" show-left-and-right-border />
</view>
<u-select v-model="show" mode="mutil-column-auto" :list="list" @confirm="confirm"></u-select>
<!-- <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>
@ -33,7 +22,6 @@ 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 wybTable from '@/components/wyb-table/wyb-table.vue';
@Component({
components: {
@ -46,25 +34,25 @@ export default class ProductionQtyInsplist extends BasePage {
formdata: any = {};
show: any = false;
headers = [
// {
// label: '',
// key: 'index',
// width: 100,
// },
{
label: '序号',
key: 'index',
width: 100,
},
{
label: '单位编号',
key: 'ruleName',
width: 300,
key: 'dictValue',
width: 260,
},
{
label: '名称',
key: 'standardValue',
// width: ,
},
{
label: '单位',
key: 'unit',
key: 'dictLabel',
width: 260,
},
// {
// label: '',
// key: 'unit',
// },
];
tableData: any = [];
orderNo: any = '';
@ -79,58 +67,7 @@ export default class ProductionQtyInsplist extends BasePage {
isvalue = false;
ischecked = false;
radiomodal = false;
list: any = [
{
value: 1,
label: '中国',
children: [
{
value: 2,
label: '广东',
children: [
{
value: 3,
label: '深圳',
},
{
value: 4,
label: '广州',
},
],
},
{
value: 5,
label: '广西',
children: [
{
value: 6,
label: '南宁',
},
{
value: 7,
label: '桂林',
},
],
},
],
},
{
value: 8,
label: '美国',
children: [
{
value: 9,
label: '纽约',
children: [
{
value: 10,
label: '皇后街区',
},
],
},
],
},
];
list: any = [];
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
@ -160,36 +97,36 @@ export default class ProductionQtyInsplist extends BasePage {
cancel() {
this.isshow = false;
}
goback() {
uni.redirectTo({
url: `/pages/equipment/Repair/repairing?listitem=` + encodeURIComponent(JSON.stringify(this.detailsinfo)),
});
}
async onLoad() {
console.log('111');
async onLoad(options) {
if (options.listitem) {
let str = decodeURIComponent(options.listitem);
if (str) {
this.detailsinfo = JSON.parse(str);
console.log(this.detailsinfo);
await this.model.getQcUnitList();
this.tableData = this.model.CheckTaskListall;
this.tableData.map((item, index) => {
item.index = index + 1;
});
}
} else {
this.getlist();
}
}
async getlist() {
await this.model.getQcUnitList();
this.tableData = this.model.CheckTaskListall;
this.tableData.map((item, index) => {
item.index = index + 1;
});
console.log(this.tableData);
}
changeContent(e) {
//console.log('eee', e.data);
this.rowdata = e.data[0]?.lineData;
// uni.$emit('changeContent',e);
}
onSubmit() {
//debugger
//console.log('xssss',this.rowdata);
if (JSON.stringify(this.rowdata) === '{}' || this.rowdata === undefined) {
this.customToast('请选择至少一个备件');
return;
}
this.isshow = true;
// this.uni.navigateTo({
// url: this.page.mes.ProductionQtyInspDetail,
// });
}
histroyItem: any = {};
barcode: any = '';
}
</script>
<style lang="scss" scoped>

@ -2,63 +2,41 @@ import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decor
import store from '@/store';
import http from '@/utils/request';
import { url } from '@/utils/url';
import { session } from '@/store/modules/session';
@Module({
namespaced: true,
dynamic: true,
store,
name: 'page.equipment.Inspectionunit',
name: 'page.raw.Inspectionunit',
})
export class Inspectionunit extends VuexModule {
rowdata: any = [];
WlList = [];
orderNoItemList: any = [];
getTaskRecordList: any = [];
selectList: any = [];
@MutationAction
async getTodayTask(params: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.getTodayTask, { params: params });
async getCheckType() {
const result: any = await http.get(url.lanjuquality.Inspection.pdaMaterialTree, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
},
});
const orderNoItemList = result.data;
return { orderNoItemList };
const selectList = result.data.map((item: any) => ({
label: item.checkName,
value: item.orderCode,
}));
return { orderNoItemList, selectList };
}
CheckTaskListall: any = [];
@MutationAction
async getTaskRecord(params: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.getTaskRecord, { params: params });
const getTaskRecordList = result.data;
return { getTaskRecordList };
}
//巡检列表巡检记录
OrderInfList: any = [];
@MutationAction
async getInspectionOrderInfo(workId: any) {
const result: any = await http.get(url.lanjuequipment.product.Repair.selectPdaRepairWorkOrderDetails + '/' + workId);
const OrderInfList: [] = result.data;
return { OrderInfList };
}
SubmitCode: any = '';
//巡检提交
@MutationAction
async updateInspectionRecord(params: any) {
const result: any = await http.put(url.lanjuequipment.product.Repair.updateDowntime, params);
const SubmitCode: [] = result;
return { SubmitCode };
}
@MutationAction
async updateMaintenanceRecords(params: any) {
const result: any = await http.put(url.lanjuequipment.product.Repair.updateMaintenanceRecords, 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 };
async getQcUnitList() {
const result: any = await http.get(url.lanjuquality.Inspection.getQcUnitList, {
//loginName: session.loginName,
params: {},
});
const CheckTaskListall = result.rows;
return { CheckTaskListall };
}
}

@ -1,303 +0,0 @@
<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">采购入库(SRM)详细</view>
<view class="right"></view>
</view>
<view class="scroll">
<view v-for="item in list" :key="item.id">
<u-form style="margin-top: 10rpx" class="form2">
<view class="list">
<view class="row-list">
<view class="list-item"> 物资编码: </view>
<view> 4500331750 </view>
</view>
<view class="row-list">
<view class="list-item"> 物资名称: </view>
<view> 40000006954 </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 托盘号: </view>
<view> 100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 批次号: </view>
<view> </view>
</view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 入库数量: </view>
<view> 100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 单位: </view>
<view> </view>
</view>
</view>
<view class="row-list">
<view class="list-item"> 库位码: </view>
<view> 1000/0(PC) </view>
</view>
</view>
</u-form>
</view>
</view>
</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';
@Component({
components: {
jPicker,
},
})
export default class PurchaseWHSRM extends BasePage {
model = model;
list: any = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }];
form3: any = {};
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
// this.remove = this.model.WlList[0];
// }
// selectItem(e: any) {
// this.remove = e.pickerName;
// }
orderNo: any = '';
border = true;
height = 100;
autoHeight = true;
imgList: any = [];
imgUrlList: any = [];
isqualified = [
{
label: '合格',
value: '1',
},
{
label: '不合格',
value: '0',
},
];
productCodeList: any = {};
async query() {
if (this.orderNo == '' || this.orderNo.length == 0) {
this.customToast('请输入nficl');
return;
}
await this.model.queryOrderNo(this.orderNo);
this.productCodeList = this.model.productCodeList[0];
this.histroyItem = this.model.orderNoItemList[0];
}
histroyItem: any = {};
barcode: any = '';
}
</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%;
.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;
}
}
.scroll {
// margin-top: 120rpx;
// padding-left: 30rpx;
// padding-right: 16rpx;
// margin-bottom: 20rpx;
// overflow: scroll;
// padding-top: 20rpx;
.form2 {
background-color: #fff;
padding: 25rpx 25rpx 25rpx;
border-radius: 10rpx;
box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
.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;
}
}
.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>

@ -10,38 +10,37 @@
<u-form class="form" ref="form" label-width="180rpx">
<!-- 订单 -->
<!-- <u-form-item label="检验节点"> -->
<u-input @blur="onblur()" @focus="onfocus" @click="onclick" :border="true" v-model="selectvalue" placeholder="请选择检验节点" style="overflow: hidden" />
<jPicker sureColor="#ff0000" :moren="moren" @bindpicker="selectProductlocCode" showKey="label" valKey="value" :val="selectList.value" :options="model.selectList" />
<!-- <u-input @blur="onblur()" @focus="onfocus" @click="onclick" :border="true" v-model="selectvalue" placeholder="请选择检验节点" style="overflow: hidden" /> -->
<!-- </u-form-item> -->
</u-form>
<view class="scroll">
<view v-for="item in list" :key="item.id" @dblclick="onFormDoubleClick(item)">
<view v-for="item in list" :key="item.id">
<u-form style="margin-top: 10rpx" class="form2">
<view class="list">
<view class="righttitle">
<view class="boder-icon-top zhuangtai" data-state="0">待收货</view>
<view class="boder-icon-top zhuangtai" data-state="0">{{ item.checkStatus == 0 ? '待检验' : '检验完成' }}</view>
</view>
<view class="row-list">
<view class="list-item"> 来料批次号: </view>
<view> 4500331750 </view>
<view> {{ item.incomeBatchNo }} </view>
</view>
<view class="row-list">
<view class="list-item"> 订单号: </view>
<view> 40000006954 </view>
<view> {{ item.orderNo }} </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 物料号: </view>
<view> tp100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 物料名称: </view>
<view> 12335 </view>
</view>
<view class="list-item"> 物料号: </view>
<view> {{ item.materialCode }} </view>
</view>
<view class="row-list">
<view class="list-item"> 物料名称: </view>
<view> {{ item.materialName }} </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 收货数量: </view>
<view> 100/0 </view>
<view> {{ item.quality }} </view>
</view>
</view>
<view a:if="true" class="righttitle">
@ -55,27 +54,49 @@
<u-popup v-model="show" mode="center" width="98%">
<view class="selectlist">
<div class="item-name">
<div class="quest">检验项目:</div>
<div class="quest">检验项目 :</div>
<div class="details">
<div>批次号:</div>
<div style="margin-left: 132px">订单号:</div>
<div>批次号 : {{ clickitem.incomeBatchNo }}</div>
</div>
<div class="details">
<div>物料号:</div>
<div style="margin-left: 122px">物料名称:</div>
<div>订单号 : {{ clickitem.orderNo }}</div>
</div>
<div class="details">
<div>收货数量:</div>
<div style="margin-left: 102px">检验状态:</div>
<div>物料号 : {{ clickitem.materialCode }}</div>
</div>
<div class="details">
<div>物料名称 : {{ clickitem.materialName }}</div>
</div>
<div class="details">
<div>收货数量 : {{ clickitem.quality }}</div>
<div style="margin-left: 30px">检验状态 : {{ clickitem.checkStatus == 0 ? '待检验' : '检验完成' }}</div>
</div>
</div>
<div style="text-align: center">
<!-- <div style="text-align: center">
<u-button style="width: 100%; height: 35px; margin: auto" @click="onOk" size="mini" type="primary">同步信息</u-button>
</div>
<view class="item" v-for="(item, index) in detailList" :key="index">
<div class="item1">检查: {{ item.itemName }}</div>
</div> -->
<view class="item" v-for="(item, index) in detaillistceshi" :key="index">
<div class="item1">目名称: {{ item.ruleName }}</div>
<div class="item1">检查结果: {{ item.itemMethod }}</div>
<div v-for="(item1, index1) in item.standardList" :key="index1">
<div class="item1 item2" v-if="item.propertyCode == '0'">
<div>检查标准: {{ item.checkStandard }}</div>
<div class="select">
<u-radio-group v-model="item.status" @change="radioGroupChange(item, item.status, index)">
<u-radio @change="radioChange" v-for="(n, indexn) in listselect" :key="indexn" :name="n.type" :disabled="n.disabled">
{{ n.name }}
</u-radio>
</u-radio-group>
</div>
</div>
<div class="item1 item2" v-if="item.propertyCode == '1'">
<div>检查标准: {{ item.checkStandard }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" v-model="item.actualValue" @focus="focus(item, item.actualValue, index)" @change="changeinput(item)" @input="input(item)" type="text" name="" id="" />
单位:mm
</div>
</div>
<!-- <div v-for="(item1, index1) in item.standardList" :key="index1">
<div class="item1 item2" v-if="item1.standardType == 'qualitative'">
<div>检查标准: {{ item1.standardName }}</div>
<div class="select">
@ -94,7 +115,7 @@
单位:mm
</div>
</div>
</div>
</div> -->
</view>
</view>
<view class="poupbutton" style="margin-top: 10px">
@ -111,17 +132,18 @@
<u-select v-model="showselect" mode="mutil-column-auto" :list="selectlist" @confirm="confirmselect"></u-select>
<u-modal v-model="isshow" class="modal" :show-cancel-button="true" :show-title="false" @cancel="cancel" @confirm="confirm">
<div class="tagsbox">
<u-tag v-for="(item, index) in tagslist" class="tags" :key="item.id" :text="item.tagsname" type="info" closeable @close="tagClick(index)" />
<u-tag v-for="(item, index) in tagslist" class="tags" :key="index" :text="item" type="info" closeable @close="tagClick(index)" />
</div>
<div class="upload-name">
<div>
<u-input :border="true" v-model="tagsvalue" style="overflow: hidden" />
<u-input :border="true" v-model="tagsvalue" :focus="isfocus" style="overflow: hidden" />
</div>
<div>
<u-button style="width: 100px; height: 35px; margin-left: 5px" @click="ontagsadd" size="mini" type="primary">确认</u-button>
</div>
</div>
</u-modal>
<u-toast ref="uToast" />
</view>
</template>
<script lang="ts">
@ -130,7 +152,7 @@ import { BasePage } from '@/components/base/page';
import jPicker from '@/components/J-Picker/jPicker.vue';
import model from './model';
//import { any } from 'lodash/fp';
//import { session } from '@/store/modules/session';
import { session } from '@/store/modules/session';
@Component({
components: {
jPicker,
@ -138,7 +160,8 @@ import model from './model';
})
export default class PurchaseWHSRM extends BasePage {
model = model;
list: any = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }];
moren = '请选择检验节点';
list: any = [];
show = false;
showselect = false;
isshow = false;
@ -147,16 +170,17 @@ export default class PurchaseWHSRM extends BasePage {
};
listselect: any = [
{
type: 1,
type: 'Y',
name: '合格',
radiovalue: null,
},
{
type: 0,
type: 'N',
name: '不合格',
radiovalue: null,
},
];
selectList: any = {};
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
@ -166,22 +190,6 @@ export default class PurchaseWHSRM extends BasePage {
// this.remove = e.pickerName;
// }
orderNo: any = '';
selectvalue: any = '';
border = true;
height = 100;
autoHeight = true;
imgList: any = [];
imgUrlList: any = [];
isqualified = [
{
label: '合格',
value: '1',
},
{
label: '不合格',
value: '0',
},
];
selectlist: any = [
{
value: 1,
@ -234,276 +242,21 @@ export default class PurchaseWHSRM extends BasePage {
],
},
];
productCodeList: any = {};
detailList: any = [
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: null,
remark: null,
poolName: null,
deptId: null,
id: '0d28bb4dc1b14186a0ad7610c4ea98a4',
code: null,
orderCode: 'O20231201001',
parentCode: null,
itemCode: '20231128002',
itemName: '纸盒料架',
itemMethod: '目视、触摸',
itemType: 'spotInspection',
itemTypeName: '点检',
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
standardList: [
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: '2023-12-01 09:30:55',
remark: null,
poolName: null,
deptId: null,
id: 'c0c4cc8a651f49ae9a63b4397c8745f4',
code: null,
parentCode: '0d28bb4dc1b14186a0ad7610c4ea98a4',
orderCode: 'O20231201001',
standardType: 'qualitative',
standardName: '检查料架有没有松动,目视有没有异物堵塞线体',
detailUpLimit: null,
detailDownLimit: null,
detailUnit: null,
detailReach: '1',
actualValue: null,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: '0',
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: [],
},
],
itemTools: null,
},
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: null,
remark: null,
poolName: null,
deptId: null,
id: '34220cb558004bd09e08fdf14fada352',
code: null,
orderCode: 'O20231201001',
parentCode: null,
itemCode: '20231128003',
itemName: '入盒机构',
itemMethod: '目视、触摸',
itemType: 'spotInspection',
itemTypeName: '点检',
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
standardList: [
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: '2023-12-01 09:30:55',
remark: null,
poolName: null,
deptId: null,
id: '0b2277d4760c4063b3981a52675ca96b',
code: null,
parentCode: '34220cb558004bd09e08fdf14fada352',
orderCode: 'O20231201001',
standardType: 'qualitative',
standardName: '打开入盒机前用气枪清理表面灰尘、废料',
detailUpLimit: null,
detailDownLimit: null,
detailUnit: null,
detailReach: '1',
actualValue: null,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: '0',
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: [],
},
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: '2023-12-01 09:30:55',
remark: null,
poolName: null,
deptId: null,
id: '6152eff58de14a86af1cb52a010c8bf7',
code: null,
parentCode: '34220cb558004bd09e08fdf14fada352',
orderCode: 'O20231201001',
standardType: 'qualitative',
standardName: '检查入盒机构传动部、螺丝有没有松动',
detailUpLimit: null,
detailDownLimit: null,
detailUnit: null,
detailReach: '1',
actualValue: null,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: '0',
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: [],
},
],
itemTools: null,
},
{
createBy: 'job',
createTime: '2023-12-04 14:32:04',
updateBy: null,
updateTime: null,
remark: null,
poolName: null,
deptId: null,
id: '32e34709fd2846e79b46fce9c1dad477',
code: null,
orderCode: 'O20231204005',
parentCode: null,
itemCode: '20231117006',
itemName: '皮带、轴承、齿轮',
itemMethod: '试机',
itemType: 'spotInspection',
itemTypeName: '点检',
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
standardList: [
{
createBy: 'job',
createTime: '2023-12-04 14:32:04',
updateBy: null,
updateTime: '2023-12-04 14:34:01',
remark: null,
poolName: null,
deptId: null,
id: '8a107dae72d1469590cba36066f46621',
code: null,
parentCode: '32e34709fd2846e79b46fce9c1dad477',
orderCode: 'O20231204005',
standardType: 'quantify',
standardName: '机油量',
detailUpLimit: 30.0,
detailDownLimit: 10.0,
detailUnit: 'ml',
detailReach: '0',
actualValue: 0.0,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: null,
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: [],
},
{
createBy: 'job',
createTime: '2023-12-04 14:32:04',
updateBy: null,
updateTime: '2023-12-04 14:34:01',
remark: null,
poolName: null,
deptId: null,
id: '99ed048515a0456c9126bd83da298e5d',
code: null,
parentCode: '32e34709fd2846e79b46fce9c1dad477',
orderCode: 'O20231204005',
standardType: 'qualitative',
standardName: '运行流畅无异响',
detailUpLimit: null,
detailDownLimit: null,
detailUnit: null,
detailReach: '0',
actualValue: null,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: null,
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: ['http://localhost:9300/downLoadFile?id=656d72d339e7164f038e8baa&fileName=cc764c41967d4cc199193090f4a1b443_th.jpg', 'http://localhost:9300/downLoadFile?id=656d72d639e7164f038e8bac&fileName=dda84cfe50dc462ba731490000c6d6bc.png'],
},
],
itemTools: null,
},
];
detailList: any = [];
equipmentindex: any = [];
tagsvalue: any = '';
tagslist: any = [];
detailsinfo: any = [];
nodelist: any = '';
detaillistceshi: any = [];
clickitem: any = '';
isvalue = false;
isfocus = false;
//
tagClick(index) {
this.tagslist.splice(index, 1);
}
ontagsadd() {
let arr1 = {};
if (this.tagsvalue == '' || this.tagsvalue == undefined) {
// this.customToast('');
(this.$refs.uToast as any).show({
@ -512,29 +265,84 @@ export default class PurchaseWHSRM extends BasePage {
});
return;
}
arr1 = {
tagsname: this.tagsvalue,
};
this.tagslist.push(arr1);
this.tagslist.push(this.tagsvalue);
// this.isfocus = false;
// this.$nextTick(() => {
// this.isfocus = true;
// });
}
onPass(item) {
async onLoad(options) {
this.getselectlist();
if (options.listitem) {
let str = decodeURIComponent(options.listitem);
if (str) {
this.detailsinfo = JSON.parse(str);
this.selectList.value = this.detailsinfo.checkType;
console.log(this.detailsinfo);
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: 0,
checkType: this.detailsinfo.checkType,
};
await this.model.getCheckTaskListall(query);
this.list = this.model.CheckTaskListall;
}
}
}
async getselectlist() {
await this.model.getCheckType();
this.nodelist = this.model.orderNoItemList;
}
async onPass(item) {
console.log('1234567', item);
this.clickitem = item;
let belongTo = item.recordId;
await this.model.getCheckTaskList(belongTo);
this.detaillistceshi = this.model.CheckTaskList;
this.detaillistceshi.forEach((item) => {
item.factoryCode = session.PoolName;
item.checkType = this.selectList.value;
item.orderCode = this.clickitem.orderNo;
});
this.show = true;
}
radioGroupChange(item, value, index, index1) {
console.log(item, value, index, index1);
radioGroupChange(item, value, index) {
console.log(item, value, index);
}
radioChange(e) {
console.log(e, '11111');
}
blur(item, value, index, index1) {
console.log(item, value, index, index1);
this.equipmentindex = [];
this.equipmentindex.push(index);
this.equipmentindex.push(index1);
this.isshow = true;
async selectProductlocCode(e: any) {
this.selectList = e.pickerName;
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: 0,
checkType: this.selectList.value,
};
await this.model.getCheckTaskListall(query);
console.log(this.model.CheckTaskListall);
this.list = this.model.CheckTaskListall;
// let params = {
// productionState: this.productCodelocList.value.toString(),
// };
// await this.model.getpalletLocation(params); //23
}
focus() {
focus(item, value, index) {
console.log(item, value, index);
if (this.detaillistceshi[index].actualValue) {
this.tagslist = JSON.parse(this.detaillistceshi[index].actualValue);
} else {
this.tagslist = [];
}
this.isfocus = false;
this.$nextTick(() => {
this.isfocus = true;
});
this.equipmentindex = [];
this.tagsvalue = null;
this.equipmentindex.push(index);
this.isshow = true;
}
changeinput(e) {
@ -559,65 +367,73 @@ export default class PurchaseWHSRM extends BasePage {
console.log('111');
this.showselect = true;
}
async getlist() {
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: 0,
checkType: this.selectList.value,
};
await this.model.getCheckTaskListall(query);
this.list = this.model.CheckTaskListall;
}
//
onOk() {
console.log('1234567');
async onOk() {
this.isvalue = false;
this.detaillistceshi.forEach((item) => {
if (item.propertyCode == 1) {
if (item.actualValue == null || item.actualValue == '') {
console.log(item);
this.isvalue = true;
}
}
});
console.log(this.detaillistceshi, this.isvalue);
if (this.isvalue) {
(this.$refs.uToast as any).show({
title: '检查标准不能为空',
type: 'default',
});
return;
}
let query = this.detaillistceshi;
await this.model.commitCheckTaskList(query);
if (this.model.SubmitCode.code == '200') {
(this.$refs.uToast as any).show({
title: '成功',
type: 'default',
});
this.show = false;
this.getlist();
} else {
(this.$refs.uToast as any).show({
title: '失败',
type: 'default',
});
}
//await this.model.OnSubmit(this.form3.barCodewl);
}
confirmselect(e) {
console.log(e);
console.log(this.equipmentindex, this.tagslist);
}
confirm() {
console.log(this.detailList[this.equipmentindex[0]].standardList[this.equipmentindex[1]]);
console.log(this.equipmentindex, this.tagslist);
if (this.tagslist.length <= 0) {
this.detaillistceshi[this.equipmentindex[0]].actualValue = null;
} else {
this.detaillistceshi[this.equipmentindex[0]].actualValue = JSON.stringify(this.tagslist);
}
console.log(this.detaillistceshi[this.equipmentindex[0]].actualValue);
this.tagsvalue = null;
}
cancel() {
this.isshow = false;
}
async onFormDoubleClick(item) {
console.log('双击', item);
//await this.model.OnSubmit(item.id);
this.uni.navigateTo({
url: this.page.wms.PurchaseWHSRMDetail,
});
this.tagsvalue = null;
}
//
async query() {
// if (this.orderNo == '' || this.orderNo.length == 0) {
// this.customToast('nficl');
// return;
// }
// await this.model.queryOrderNo(this.orderNo);
// this.list = model.orderNoItemList;
}
//
tidan() {
console.log('11111');
}
histroyItem: any = {};
barcode: any = '';
//
scanwl() {
const self: PurchaseWHSRM = this as PurchaseWHSRM;
const showToast = (message: string) => {
uni.showToast({
title: message,
icon: 'none',
});
};
uni.scanCode({
onlyFromCamera: true,
success: function (res) {
//showToast(res.result);
console.log('条码类型:' + res.scanType);
console.log('条码内容:' + res.result);
self.form3.barCodewl = res.result;
//that.getByPoint();
},
fail: function () {
showToast('扫码不成功');
},
});
}
}
</script>
<style lang="scss" scoped>
@ -919,7 +735,7 @@ export default class PurchaseWHSRM extends BasePage {
}
.details {
display: flex;
font-size: 16px;
font-size: 15px;
// justify-content: space-between;
align-items: center;
margin-bottom: 8px;

@ -1,7 +1,7 @@
import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
import store from '@/store';
import http from '@/utils/request';
//import { url } from '@/utils/url';
import { url } from '@/utils/url';
import { session } from '@/store/modules/session';
@Module({
namespaced: true,
@ -11,46 +11,53 @@ import { session } from '@/store/modules/session';
})
export class Materialinspection extends VuexModule {
WlList = [];
@MutationAction
async queryLocation() {
const result: any = await http.post('', {
// factoryCode: session.factoryCode,
loginName: session.loginName,
});
const WlList = result.data.map((_: any) => ({
label: _.locationCode,
value: _.locationCode,
}));
return { WlList };
}
orderNoItemList: any = [];
productCodeList: any = [];
selectList: any = [];
@MutationAction
async queryOrderNo(orderNo: any) {
const result: any = await http.post('', {
// factoryCode: session.factoryCode,
loginName: session.loginName,
orderNo,
async getCheckType() {
const result: any = await http.get(url.lanjuquality.Materialinspection.getCheckType, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
},
});
const orderNoItemList = result.data;
// const productCodeList = result.data.map((_: any) => ({
// label: _.productCode,
// value: _.productCode,
// }));
return { orderNoItemList };
const selectList = result.data.map((item: any) => ({
label: item.checkName,
value: item.orderCode,
}));
return { orderNoItemList, selectList };
}
CheckTaskListall: any = [];
@MutationAction
async getCheckTaskListall(query: any) {
const result: any = await http.get(url.lanjuquality.Materialinspection.getCheckTaskListall, {
//loginName: session.loginName,
params: query,
});
const CheckTaskListall = result.rows;
return { CheckTaskListall };
}
CheckTaskList: any = [];
@MutationAction
async getCheckTaskList(belongTo: any) {
const result: any = await http.get(url.lanjuquality.Materialinspection.getCheckTaskList, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
belongTo: belongTo,
},
});
const CheckTaskList = result.data;
return { CheckTaskList };
}
SubmitCode: any = '';
@MutationAction
async OnSubmit(params: any) {
const result: any = await http.post('', params);
const SubmitCode = result.code;
async commitCheckTaskList(params: any) {
const result: any = await http.post(url.lanjuquality.Materialinspection.commitCheckTaskList, params);
const SubmitCode: [] = result;
return { SubmitCode };
}
@MutationAction
async empty() {
const productCodeList = [];
return { productCodeList };
}
}
export default getModule(Materialinspection);

@ -1,303 +0,0 @@
<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">采购入库(SRM)详细</view>
<view class="right"></view>
</view>
<view class="scroll">
<view v-for="item in list" :key="item.id">
<u-form style="margin-top: 10rpx" class="form2">
<view class="list">
<view class="row-list">
<view class="list-item"> 物资编码: </view>
<view> 4500331750 </view>
</view>
<view class="row-list">
<view class="list-item"> 物资名称: </view>
<view> 40000006954 </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 托盘号: </view>
<view> 100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 批次号: </view>
<view> </view>
</view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 入库数量: </view>
<view> 100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 单位: </view>
<view> </view>
</view>
</view>
<view class="row-list">
<view class="list-item"> 库位码: </view>
<view> 1000/0(PC) </view>
</view>
</view>
</u-form>
</view>
</view>
</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';
@Component({
components: {
jPicker,
},
})
export default class PurchaseWHSRM extends BasePage {
model = model;
list: any = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }];
form3: any = {};
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
// this.remove = this.model.WlList[0];
// }
// selectItem(e: any) {
// this.remove = e.pickerName;
// }
orderNo: any = '';
border = true;
height = 100;
autoHeight = true;
imgList: any = [];
imgUrlList: any = [];
isqualified = [
{
label: '合格',
value: '1',
},
{
label: '不合格',
value: '0',
},
];
productCodeList: any = {};
async query() {
if (this.orderNo == '' || this.orderNo.length == 0) {
this.customToast('请输入nficl');
return;
}
await this.model.queryOrderNo(this.orderNo);
this.productCodeList = this.model.productCodeList[0];
this.histroyItem = this.model.orderNoItemList[0];
}
histroyItem: any = {};
barcode: any = '';
}
</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%;
.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;
}
}
.scroll {
// margin-top: 120rpx;
// padding-left: 30rpx;
// padding-right: 16rpx;
// margin-bottom: 20rpx;
// overflow: scroll;
// padding-top: 20rpx;
.form2 {
background-color: #fff;
padding: 25rpx 25rpx 25rpx;
border-radius: 10rpx;
box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
.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;
}
}
.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>

@ -10,38 +10,37 @@
<u-form class="form" ref="form" label-width="180rpx">
<!-- 订单 -->
<!-- <u-form-item label="检验节点"> -->
<u-input @blur="onblur()" @focus="onfocus" @click="onclick" :border="true" v-model="selectvalue" placeholder="请选择检验节点" style="overflow: hidden" />
<jPicker sureColor="#ff0000" :moren="moren" @bindpicker="selectProductlocCode" showKey="label" valKey="value" :val="selectList.value" :options="model.selectList" />
<!-- <u-input @blur="onblur()" @focus="onfocus" @click="onclick" :border="true" v-model="selectvalue" placeholder="请选择检验节点" style="overflow: hidden" /> -->
<!-- </u-form-item> -->
</u-form>
<view class="scroll">
<view v-for="item in list" :key="item.id" @dblclick="onFormDoubleClick(item)">
<view v-for="item in list" :key="item.id">
<u-form style="margin-top: 10rpx" class="form2">
<view class="list">
<view class="righttitle">
<view class="boder-icon-top zhuangtai" data-state="0">待收货</view>
<view class="boder-icon-top zhuangtai" data-state="0">{{ item.checkStatus == 0 ? '待检验' : '检验完成' }}</view>
</view>
<view class="row-list">
<view class="list-item"> 来料批次号: </view>
<view> 4500331750 </view>
<view> {{ item.incomeBatchNo }} </view>
</view>
<view class="row-list">
<view class="list-item"> 订单号: </view>
<view> 40000006954 </view>
<view> {{ item.orderNo }} </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 物料号: </view>
<view> tp100 </view>
</view>
<view class="row-list-item">
<view class="list-item"> 物料名称: </view>
<view> 12335 </view>
</view>
<view class="list-item"> 物料号: </view>
<view> {{ item.materialCode }} </view>
</view>
<view class="row-list">
<view class="list-item"> 物料名称: </view>
<view> {{ item.materialName }} </view>
</view>
<view class="row-list">
<view class="row-list-item">
<view class="list-item"> 收货数量: </view>
<view> 100/0 </view>
<view> {{ item.quality }} </view>
</view>
</view>
<view a:if="true" class="righttitle">
@ -54,15 +53,33 @@
<view>
<u-popup v-model="show" mode="center" width="98%">
<view class="selectlist">
<view class="item" v-for="(item, index) in detailList" :key="index">
<div class="item1">检查: {{ item.itemName }}</div>
<view class="item" v-for="(item, index) in detaillistceshi" :key="index">
<div class="item1">目名称: {{ item.ruleName }}</div>
<div class="item1">检查结果: {{ item.itemMethod }}</div>
<div v-for="(item1, index1) in item.standardList" :key="index1">
<div class="item1 item2" v-if="item.propertyCode == '0'">
<div>检查标准: {{ item.checkStandard }}</div>
<div class="select">
<u-radio-group v-model="item.status" @change="radioGroupChange(item, item.status, index)">
<u-radio @change="radioChange" :disabled="item.status == n.type ? false : true" v-for="(n, indexn) in listselect" :key="indexn" :name="n.type">
{{ n.name }}
</u-radio>
</u-radio-group>
</div>
</div>
<div class="item1 item2" v-if="item.propertyCode == '1'">
<div @click="checkimg(item, item.actualValue, index)">检查标准: {{ item.checkStandard }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" :disabled="item.actualValue == null ? true : true" v-model="item.actualValue" @focus="focus(item, item.actualValue, index)" @change="changeinput(item)" @input="input(item)" type="text" name="" id="" />
单位:mm
</div>
</div>
<!-- <div v-for="(item1, index1) in item.standardList" :key="index1">
<div class="item1 item2" v-if="item1.standardType == 'qualitative'">
<div>检查标准: {{ item1.standardName }}</div>
<div class="select">
<u-radio-group v-model="item1.detailReach" @change="radioGroupChange(item1, item1.detailReach, index, index1)">
<u-radio @change="radioChange" v-for="(n, indexn) in listselect" :key="indexn" :name="n.type" :disabled="item1.detailReach == n.type ? false : true">
<u-radio @change="radioChange" v-for="(n, indexn) in listselect" :key="indexn" :name="n.type" :disabled="n.disabled">
{{ n.name }}
</u-radio>
</u-radio-group>
@ -72,33 +89,34 @@
<div>检查标准: {{ item1.standardName }}</div>
<div class="input-box" id="input-box1">
实际值:
<input class="input" :disabled="item1.actualValue == null ? true : true" v-model="item1.actualValue" @focus="focus()" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
<input class="input" v-model="item1.actualValue" @focus="focus()" @blur="blur(item1, item1.actualValue, index, index1)" @change="changeinput(item1)" @input="input(item1)" type="text" name="" id="" />
单位:mm
</div>
</div>
</div>
</div> -->
</view>
<div style="text-align: center; margin-top: 10px">
<u-button style="width: 100%; height: 35px; margin: auto" @click="onOk" size="mini" type="primary">确认</u-button>
</div>
</view>
<div style="text-align: center">
<u-button style="width: 100%; height: 35px; margin: auto" @click="onOk" size="mini" type="primary">确认</u-button>
</div>
</u-popup>
<view v-if="show" class="mask"></view>
</view>
<u-select v-model="showselect" mode="mutil-column-auto" :list="selectlist" @confirm="confirmselect"></u-select>
<u-modal v-model="isshow" class="modal" :show-cancel-button="true" :show-title="false" @cancel="cancel" @confirm="confirm">
<div class="tagsbox">
<u-tag v-for="(item, index) in tagslist" class="tags" :key="item.id" :text="item.tagsname" type="info" closeable @close="tagClick(index)" />
<u-tag v-for="(item, index) in tagslist" class="tags" :key="index" :text="item" type="info" closeable @close="tagClick(index)" />
</div>
<div class="upload-name">
<div>
<u-input :border="true" v-model="tagsvalue" style="overflow: hidden" />
<u-input :border="true" v-model="tagsvalue" :disabled="true" :focus="isfocus" style="overflow: hidden" />
</div>
<div>
<u-button style="width: 100px; height: 35px; margin-left: 5px" @click="ontagsadd" size="mini" type="primary">确认</u-button>
<u-button style="width: 100px; height: 35px; margin-left: 5px" :disabled="true" @click="ontagsadd" size="mini" type="primary">确认</u-button>
</div>
</div>
</u-modal>
<u-toast ref="uToast" />
</view>
</template>
<script lang="ts">
@ -107,7 +125,7 @@ import { BasePage } from '@/components/base/page';
import jPicker from '@/components/J-Picker/jPicker.vue';
import model from './model';
//import { any } from 'lodash/fp';
//import { session } from '@/store/modules/session';
import { session } from '@/store/modules/session';
@Component({
components: {
jPicker,
@ -115,7 +133,8 @@ import model from './model';
})
export default class PurchaseWHSRM extends BasePage {
model = model;
list: any = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }];
moren = '请选择检验节点';
list: any = [];
show = false;
showselect = false;
isshow = false;
@ -124,16 +143,17 @@ export default class PurchaseWHSRM extends BasePage {
};
listselect: any = [
{
type: 1,
type: 'Y',
name: '合格',
radiovalue: null,
},
{
type: 0,
type: 'N',
name: '不合格',
radiovalue: null,
},
];
selectList: any = {};
// remove: any = {};
// async onReady() {
// await this.model.queryLocation();
@ -143,22 +163,6 @@ export default class PurchaseWHSRM extends BasePage {
// this.remove = e.pickerName;
// }
orderNo: any = '';
selectvalue: any = '';
border = true;
height = 100;
autoHeight = true;
imgList: any = [];
imgUrlList: any = [];
isqualified = [
{
label: '合格',
value: '1',
},
{
label: '不合格',
value: '0',
},
];
selectlist: any = [
{
value: 1,
@ -211,276 +215,21 @@ export default class PurchaseWHSRM extends BasePage {
],
},
];
productCodeList: any = {};
detailList: any = [
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: null,
remark: null,
poolName: null,
deptId: null,
id: '0d28bb4dc1b14186a0ad7610c4ea98a4',
code: null,
orderCode: 'O20231201001',
parentCode: null,
itemCode: '20231128002',
itemName: '纸盒料架',
itemMethod: '目视、触摸',
itemType: 'spotInspection',
itemTypeName: '点检',
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
standardList: [
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: '2023-12-01 09:30:55',
remark: null,
poolName: null,
deptId: null,
id: 'c0c4cc8a651f49ae9a63b4397c8745f4',
code: null,
parentCode: '0d28bb4dc1b14186a0ad7610c4ea98a4',
orderCode: 'O20231201001',
standardType: 'qualitative',
standardName: '检查料架有没有松动,目视有没有异物堵塞线体',
detailUpLimit: null,
detailDownLimit: null,
detailUnit: null,
detailReach: '1',
actualValue: null,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: '0',
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: [],
},
],
itemTools: null,
},
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: null,
remark: null,
poolName: null,
deptId: null,
id: '34220cb558004bd09e08fdf14fada352',
code: null,
orderCode: 'O20231201001',
parentCode: null,
itemCode: '20231128003',
itemName: '入盒机构',
itemMethod: '目视、触摸',
itemType: 'spotInspection',
itemTypeName: '点检',
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
standardList: [
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: '2023-12-01 09:30:55',
remark: null,
poolName: null,
deptId: null,
id: '0b2277d4760c4063b3981a52675ca96b',
code: null,
parentCode: '34220cb558004bd09e08fdf14fada352',
orderCode: 'O20231201001',
standardType: 'qualitative',
standardName: '打开入盒机前用气枪清理表面灰尘、废料',
detailUpLimit: null,
detailDownLimit: null,
detailUnit: null,
detailReach: '1',
actualValue: null,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: '0',
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: [],
},
{
createBy: 'job',
createTime: '2023-12-01 09:25:38',
updateBy: null,
updateTime: '2023-12-01 09:30:55',
remark: null,
poolName: null,
deptId: null,
id: '6152eff58de14a86af1cb52a010c8bf7',
code: null,
parentCode: '34220cb558004bd09e08fdf14fada352',
orderCode: 'O20231201001',
standardType: 'qualitative',
standardName: '检查入盒机构传动部、螺丝有没有松动',
detailUpLimit: null,
detailDownLimit: null,
detailUnit: null,
detailReach: '1',
actualValue: null,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: '0',
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: [],
},
],
itemTools: null,
},
{
createBy: 'job',
createTime: '2023-12-04 14:32:04',
updateBy: null,
updateTime: null,
remark: null,
poolName: null,
deptId: null,
id: '32e34709fd2846e79b46fce9c1dad477',
code: null,
orderCode: 'O20231204005',
parentCode: null,
itemCode: '20231117006',
itemName: '皮带、轴承、齿轮',
itemMethod: '试机',
itemType: 'spotInspection',
itemTypeName: '点检',
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
standardList: [
{
createBy: 'job',
createTime: '2023-12-04 14:32:04',
updateBy: null,
updateTime: '2023-12-04 14:34:01',
remark: null,
poolName: null,
deptId: null,
id: '8a107dae72d1469590cba36066f46621',
code: null,
parentCode: '32e34709fd2846e79b46fce9c1dad477',
orderCode: 'O20231204005',
standardType: 'quantify',
standardName: '机油量',
detailUpLimit: 30.0,
detailDownLimit: 10.0,
detailUnit: 'ml',
detailReach: '0',
actualValue: 0.0,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: null,
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: [],
},
{
createBy: 'job',
createTime: '2023-12-04 14:32:04',
updateBy: null,
updateTime: '2023-12-04 14:34:01',
remark: null,
poolName: null,
deptId: null,
id: '99ed048515a0456c9126bd83da298e5d',
code: null,
parentCode: '32e34709fd2846e79b46fce9c1dad477',
orderCode: 'O20231204005',
standardType: 'qualitative',
standardName: '运行流畅无异响',
detailUpLimit: null,
detailDownLimit: null,
detailUnit: null,
detailReach: '0',
actualValue: null,
detailError: null,
factoryCode: '1000',
attr1: null,
attr2: null,
attr3: null,
delFlag: '0',
picturePath: null,
picturePaths: null,
standardTypeName: null,
errorFlag: null,
faultType: null,
repairReach: null,
repairValue: null,
repairPicture: null,
itemName: null,
checkPictrueList: ['http://localhost:9300/downLoadFile?id=656d72d339e7164f038e8baa&fileName=cc764c41967d4cc199193090f4a1b443_th.jpg', 'http://localhost:9300/downLoadFile?id=656d72d639e7164f038e8bac&fileName=dda84cfe50dc462ba731490000c6d6bc.png'],
},
],
itemTools: null,
},
];
detailList: any = [];
equipmentindex: any = [];
tagsvalue: any = '';
tagslist: any = [];
detailsinfo: any = [];
nodelist: any = '';
detaillistceshi: any = [];
clickitem: any = '';
isvalue = false;
isfocus = false;
//
tagClick(index) {
this.tagslist.splice(index, 1);
}
ontagsadd() {
let arr1 = {};
if (this.tagsvalue == '' || this.tagsvalue == undefined) {
// this.customToast('');
(this.$refs.uToast as any).show({
@ -489,29 +238,81 @@ export default class PurchaseWHSRM extends BasePage {
});
return;
}
arr1 = {
tagsname: this.tagsvalue,
};
this.tagslist.push(arr1);
this.tagslist.push(this.tagsvalue);
// this.isfocus = false;
// this.$nextTick(() => {
// this.isfocus = true;
// });
}
onPass(item) {
async onLoad(options) {
this.getselectlist();
if (options.listitem) {
let str = decodeURIComponent(options.listitem);
if (str) {
this.detailsinfo = JSON.parse(str);
this.selectList.value = this.detailsinfo.checkType;
console.log(this.detailsinfo);
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: '1,2',
checkType: this.detailsinfo.checkType,
};
await this.model.getCheckTaskListall(query);
this.list = this.model.CheckTaskListall;
}
}
}
async getselectlist() {
await this.model.getCheckType();
this.nodelist = this.model.orderNoItemList;
}
async onPass(item) {
console.log('1234567', item);
this.clickitem = item;
let belongTo = item.recordId;
await this.model.getCheckTaskList(belongTo);
this.detaillistceshi = this.model.CheckTaskList;
this.show = true;
}
radioGroupChange(item, value, index, index1) {
console.log(item, value, index, index1);
radioGroupChange(item, value, index) {
console.log(item, value, index);
}
radioChange(e) {
console.log(e, '11111');
}
blur(item, value, index, index1) {
console.log(item, value, index, index1);
async selectProductlocCode(e: any) {
this.selectList = e.pickerName;
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: '1,2',
checkType: this.selectList.value,
};
await this.model.getCheckTaskListall(query);
this.list = this.model.CheckTaskListall;
// let params = {
// productionState: this.productCodelocList.value.toString(),
// };
// await this.model.getpalletLocation(params); //23
}
focus(item, value, index) {
console.log(item, value, index);
this.tagslist = [];
this.equipmentindex = [];
this.tagsvalue = null;
this.equipmentindex.push(index);
this.equipmentindex.push(index1);
this.isshow = true;
}
focus() {
checkimg(item, value, index) {
console.log(item, value, index);
this.equipmentindex = [];
this.equipmentindex.push(index);
if (this.detaillistceshi[index].actualValue) {
this.tagslist = JSON.parse(this.detaillistceshi[index].actualValue);
} else {
this.tagslist = [];
}
this.isshow = true;
}
changeinput(e) {
@ -536,65 +337,36 @@ export default class PurchaseWHSRM extends BasePage {
console.log('111');
this.showselect = true;
}
async getlist() {
let query = {
factoryCode: session.PoolName,
checkManCode: session.userName,
checkStatus: '1,2',
checkType: this.selectList.value,
};
await this.model.getCheckTaskListall(query);
}
//
onOk() {
console.log('1234567');
async onOk() {
this.show = false;
//await this.model.OnSubmit(this.form3.barCodewl);
}
confirmselect(e) {
console.log(e);
console.log(this.equipmentindex, this.tagslist);
}
confirm() {
console.log(this.detailList[this.equipmentindex[0]].standardList[this.equipmentindex[1]]);
console.log(this.equipmentindex, this.tagslist);
console.log(this.detaillistceshi[this.equipmentindex[0]].actualValue);
this.detaillistceshi[this.equipmentindex[0]].actualValue = JSON.stringify(this.tagslist);
console.log(this.detaillistceshi[this.equipmentindex[0]].actualValue);
this.tagsvalue = null;
}
cancel() {
this.isshow = false;
}
async onFormDoubleClick(item) {
console.log('双击', item);
//await this.model.OnSubmit(item.id);
this.uni.navigateTo({
url: this.page.wms.PurchaseWHSRMDetail,
});
this.tagsvalue = null;
}
//
async query() {
// if (this.orderNo == '' || this.orderNo.length == 0) {
// this.customToast('nficl');
// return;
// }
// await this.model.queryOrderNo(this.orderNo);
// this.list = model.orderNoItemList;
}
//
tidan() {
console.log('11111');
}
histroyItem: any = {};
barcode: any = '';
//
scanwl() {
const self: PurchaseWHSRM = this as PurchaseWHSRM;
const showToast = (message: string) => {
uni.showToast({
title: message,
icon: 'none',
});
};
uni.scanCode({
onlyFromCamera: true,
success: function (res) {
//showToast(res.result);
console.log('条码类型:' + res.scanType);
console.log('条码内容:' + res.result);
self.form3.barCodewl = res.result;
//that.getByPoint();
},
fail: function () {
showToast('扫码不成功');
},
});
}
}
</script>
<style lang="scss" scoped>
@ -896,7 +668,7 @@ export default class PurchaseWHSRM extends BasePage {
}
.details {
display: flex;
font-size: 16px;
font-size: 15px;
// justify-content: space-between;
align-items: center;
margin-bottom: 8px;

@ -1,7 +1,7 @@
import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
import store from '@/store';
import http from '@/utils/request';
//import { url } from '@/utils/url';
import { url } from '@/utils/url';
import { session } from '@/store/modules/session';
@Module({
namespaced: true,
@ -11,45 +11,45 @@ import { session } from '@/store/modules/session';
})
export class Records extends VuexModule {
WlList = [];
@MutationAction
async queryLocation() {
const result: any = await http.post('', {
// factoryCode: session.factoryCode,
loginName: session.loginName,
});
const WlList = result.data.map((_: any) => ({
label: _.locationCode,
value: _.locationCode,
}));
return { WlList };
}
orderNoItemList: any = [];
productCodeList: any = [];
selectList: any = [];
@MutationAction
async queryOrderNo(orderNo: any) {
const result: any = await http.post('', {
// factoryCode: session.factoryCode,
loginName: session.loginName,
orderNo,
async getCheckType() {
const result: any = await http.get(url.lanjuquality.Materialinspection.getCheckType, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
},
});
const orderNoItemList = result.data;
// const productCodeList = result.data.map((_: any) => ({
// label: _.productCode,
// value: _.productCode,
// }));
return { orderNoItemList };
const selectList = result.data.map((item: any) => ({
label: item.checkName,
value: item.orderCode,
}));
return { orderNoItemList, selectList };
}
SubmitCode: any = '';
CheckTaskListall: any = [];
@MutationAction
async OnSubmit(params: any) {
const result: any = await http.post('', params);
const SubmitCode = result.code;
return { SubmitCode };
async getCheckTaskListall(query: any) {
const result: any = await http.get(url.lanjuquality.Records.getCheckTaskListall, {
//loginName: session.loginName,
params: query,
});
const CheckTaskListall = result.rows;
return { CheckTaskListall };
}
CheckTaskList: any = [];
@MutationAction
async empty() {
const productCodeList = [];
return { productCodeList };
async getCheckTaskList(belongTo: any) {
const result: any = await http.get(url.lanjuquality.Records.getCheckTaskList, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
belongTo: belongTo,
},
});
const CheckTaskList = result.data;
return { CheckTaskList };
}
}

@ -12,14 +12,10 @@
<view class="title">
<div class="">任务管理</div>
</view>
<view class="content">
<div class="menu1">
<div class="item1">物料质检</div>
<div class="item2">4</div>
</div>
<div class="menu1">
<div class="item1">不合格处置</div>
<div class="item2">4</div>
<view class="content clearfix">
<div class="menu1 fleft" :class="[index % 2 == 0 ? 'menu1active' : 'active1']" @click="link(item)" v-for="(item, index) in newmenuList3" :key="index">
<div class="item1">{{ item.attr1 }}</div>
<div class="item2">{{ item.taskNum }}</div>
</div>
</view>
</view>
@ -73,17 +69,35 @@
import { Component } from 'vue-property-decorator';
import { BasePage } from '@/components/base/page';
import { session } from '@/store/modules/session';
import model from './model';
@Component
export default class RawAppointment extends BasePage {
model = model;
childData: any;
menuList = session.getMenus;
newmenuList: any = [];
newmenuList2: any = [];
newmenuList3: any = [];
onReady() {
this.newmenuList = this.menuList.filter((item) => item.perms == 'qualityCZ');
this.newmenuList2 = this.menuList.filter((item) => item.perms == 'qualityJC');
console.log('1234', this.menuList);
}
async onLoad() {
await this.model.getTopTaskInfo();
this.newmenuList3 = this.model.orderNoItemList;
}
link(item) {
if (item.attr1 == '检验任务') {
uni.navigateTo({
url: `/pages/quality/Materialinspection/index?listitem=` + encodeURIComponent(JSON.stringify(item)),
});
} else {
uni.navigateTo({
url: `/pages/quality/Belowstandard/index?listitem=` + encodeURIComponent(JSON.stringify(item)),
});
}
}
goback() {
uni.navigateTo({
url: `/pages/shouye/index`,
@ -159,7 +173,6 @@ export default class RawAppointment extends BasePage {
.container1 {
width: 280px;
margin: auto;
height: 120px;
box-shadow: 0px 0px 6px 0px #a6a3a3;
border-radius: 3px;
padding: 20rpx;
@ -167,10 +180,9 @@ export default class RawAppointment extends BasePage {
font-weight: 600;
}
.content {
display: flex;
margin-top: 10px;
.menu1 {
width: 50%;
width: 49%;
text-align: center;
.item1 {
margin-top: 10px;
@ -181,7 +193,7 @@ export default class RawAppointment extends BasePage {
color: #94d1f4;
}
}
.menu1:first-child {
.menu1active {
border-right: 1px solid #d8d6d6;
}
}
@ -195,4 +207,17 @@ export default class RawAppointment extends BasePage {
width: 124rpx;
text-align: center;
}
.fleft {
float: left;
}
.fright {
float: right;
}
.clearfix::after {
content: '';
display: block;
clear: both;
}
</style>

@ -0,0 +1,31 @@
import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
import store from '@/store';
import http from '@/utils/request';
import { url } from '@/utils/url';
import { session } from '@/store/modules/session';
@Module({
namespaced: true,
dynamic: true,
store,
name: 'page.equipment.quality',
})
export class quality extends VuexModule {
orderNoItemList: any = [];
getTaskRecordList: any = [];
@MutationAction
// 点检spotInspection
// 巡检inspection
// 保养maintenance
async getTopTaskInfo() {
const result: any = await http.get(url.lanjuquality.getTopTaskInfo, {
//loginName: session.loginName,
params: {
factoryCode: session.PoolName,
},
});
const orderNoItemList = result.data;
return { orderNoItemList };
}
}
export default getModule(quality);

@ -65,7 +65,7 @@ export default class RawHome extends BasePage {
model = model;
src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg';
today = dayjs().format('YYYY-MM-DD dddd');
version = '0.0.14';
version = '0.0.15';
checkversion: any = {};
sessiondata: any = '';
onLoad() {

@ -66,14 +66,20 @@ class SessionService extends VuexModule {
/**
* ID
*/
// get userId(): any {
// if (this.user === null) {
// return null;
// } else {
// return this.user.userId;
// }
// }
get userId(): any {
if (this.user === null) {
return null;
} else {
return this.user.userId;
}
}
get userName(): any {
if (this.user === null) {
return null;
} else {
return this.user.userName;
}
}
/**
*
*/
@ -91,6 +97,7 @@ class SessionService extends VuexModule {
if (this.user === null) {
return null;
} else {
console.log(this.user, '1111111');
return this.user.loginName;
}
}
@ -157,6 +164,7 @@ class SessionService extends VuexModule {
if (this.user === null) {
throw new Error('当前无登录用户');
} else {
console.log(this.user);
return this.user;
}
}
@ -191,6 +199,7 @@ class SessionService extends VuexModule {
const requestData = {
userName: username,
};
console.log(request.post(url.wmspda.system.getInfo, requestData), this.user);
return request.post(url.wmspda.system.getInfo, requestData);
}
// get parkName(): any {

@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
const qianzhuione = '/prod-api'; // '/prod-api'生产环境 // '/dev-api'开发环境是调后端本地时使用
const qianzhuione = '/dev-api'; // '/prod-api'生产环境 // '/dev-api'开发环境是调后端本地时使用
// const qianzhuione = '/prod-api';
export const url = {
wmspda: {
@ -133,47 +133,48 @@ export const url = {
},
// 质量管理
lanjuquality: {
product: {
// 巡检
Inspection: {
// 获取今日任务 获取历史记录
getTodayTask: qianzhuione + '/device/devicePDA/getTodayTask',
// 获取历史记录
getTaskRecord: qianzhuione + '/device/devicePDA/getTaskRecord',
// 获取巡检工单详情信息
getInspectionOrderInfo: qianzhuione + '/device/devicePDA/getInspectionOrderInfo',
// 提交巡检工单详情信息
updateInspectionRecord: qianzhuione + '/device/devicePDA/updateInspectionRecord',
},
// 报修
Repairbx: {
// 根据交货单号查询下面的产品编码
getInfoRepair: qianzhuione + '/device/devicePDA/queryEquipment/',
// 根据订单号和产品编码查询
addRepairRecord: qianzhuione + '/device/devicePDA/addRepairRecord',
// 备件list
getEquipmentList: qianzhuione + '/device/devicePDA/getEquipmentList',
},
// 维修
Repair: {
// 获取今日任务 获取历史记录
getTodayTask: qianzhuione + '/device/devicePDA/getMaintenancePendRecords',
// 获取历史记录
getTaskRecord: qianzhuione + '/device/devicePDA/getMaintenanceRecords',
// 获取维修工单信息
selectPdaRepairWorkOrderDetails: qianzhuione + '/device/devicePDA/selectPdaRepairWorkOrderDetails',
// 是否维修
updateDowntime: qianzhuione + '/device/devicePDA/updateDowntime',
// 维修提交
updateMaintenanceRecords: qianzhuione + '/device/devicePDA/updateMaintenanceRecords',
// 备件list
list: qianzhuione + '/device/sparePartsLedger/list',
},
// 保养
Upkeep: {
// 是否开机保养
startMaintenanceTask: qianzhuione + '/device/devicePDA/startMaintenanceTask',
},
// 任务数量管理
getTopTaskInfo: qianzhuione + '/quality/handCheck/getTopTaskInfo',
// 质量检验
Materialinspection: {
// 获取检验节点下拉列表
getCheckType: qianzhuione + '/quality/handCheck/getCheckType',
// 获取待检验信息列表
getCheckTaskListall: qianzhuione + '/quality/handCheck/getCheckTaskList',
// 获取待检验信息列表--点处理后获取检测项
getCheckTaskList: qianzhuione + '/quality/handCheck/getCheckTaskDetailList',
// 获取待检验信息列表--点处理后获取检测项--提交
commitCheckTaskList: qianzhuione + '/quality/handCheck/commitCheckResults',
},
// 历史记录
Records: {
// 获取待检验信息列表
getCheckTaskListall: qianzhuione + '/quality/handCheck/getCheckTaskList',
// 获取待检验信息列表--点处理后获取检测项
getCheckTaskList: qianzhuione + '/quality/handCheck/getCheckTaskDetailList',
},
Belowstandard: {
// 获取待检验信息列表
getCheckTaskListall: qianzhuione + '/quality/handCheck/getCheckTaskList',
// 获取待检验信息列表--点处理后获取检测项
getCheckTaskList: qianzhuione + '/quality/handCheck/getCheckTaskDetailList',
// 获取待检验信息列表--点处理后获取检测项--提交
commitCheckTaskList: qianzhuione + '/quality/handCheck/commitCheckResults',
},
// 维修
Inspection: {
// 检验项目--下拉树
pdaMaterialTree: qianzhuione + '/quality/handCheck/pdaMaterialTree',
// 检验项目--下拉树---获取检测项内容列表
getCheckTypeProjectList: qianzhuione + '/quality/handCheck/getCheckTypeProjectList',
// 检验单位
getQcUnitList: qianzhuione + '/quality/handCheck/getQcUnitList',
// 领料单列表
getLLWorkOrder: qianzhuione + '/quality/handCheck/getLLWorkOrder',
// 工单列表
getWorkOrder: qianzhuione + '/quality/handCheck/getWorkOrder',
// 根据工单获取批次下拉
getBatchList: qianzhuione + '/quality/handCheck/getBatchList',
},
},
};

Loading…
Cancel
Save