|
|
|
@ -110,6 +110,9 @@
|
|
|
|
|
<div class="details">
|
|
|
|
|
<div>供应商单位 : {{ clickitem.supplierName }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="selectList.value === 'checkTypeCP'" class="details">
|
|
|
|
|
<div style="display: flex; flex-direction: row"><view style="line-height: 70rpx">样本数量: </view><u-input border v-model="sampleQuality"></u-input></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div style="text-align: center">
|
|
|
|
|
<u-button style="width: 100%; height: 35px; margin: auto" @click="onOk" size="mini" type="primary">同步信息</u-button>
|
|
|
|
@ -117,16 +120,20 @@
|
|
|
|
|
<view class="item" v-for="(item, index) in detaillistceshi" :key="index">
|
|
|
|
|
<div class="item1">项目名称: {{ item.ruleName }}</div>
|
|
|
|
|
<div style="font-weight: 600; margin-bottom: 3px">检查标准: {{ item.checkStandard }}</div>
|
|
|
|
|
<div class="item1 item2 item3" v-if="item.propertyCode == '0'">
|
|
|
|
|
<div class="item1">检查结果: {{ item.itemMethod }}</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 v-if="item.propertyCode == '0'">
|
|
|
|
|
<div class="item1 item2 item3">
|
|
|
|
|
<div class="item1">检查结果: {{ item.itemMethod }}</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><view>实际值:</view><u-input border v-model="item.actualValue"></u-input></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="item1 item2" style="width: 100%" v-if="item.propertyCode == '1'">
|
|
|
|
|
<div class="input-box" id="input-box1" style="display: flex; align-items: center">
|
|
|
|
|
实际值:
|
|
|
|
@ -517,6 +524,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
deptlist: any = [];
|
|
|
|
|
supplierlist: any = [];
|
|
|
|
|
abnormallist: any = [];
|
|
|
|
|
sampleQuality = null; //成品检验样本数量
|
|
|
|
|
// 引入原生插件
|
|
|
|
|
// 调用插件的 mpaasScan 方法
|
|
|
|
|
|
|
|
|
@ -918,6 +926,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
nopoup() {
|
|
|
|
|
this.show = false;
|
|
|
|
|
this.form3.barCodewl = '';
|
|
|
|
|
this.sampleQuality = null;
|
|
|
|
|
}
|
|
|
|
|
async getlist() {
|
|
|
|
|
let query = {
|
|
|
|
@ -1115,7 +1124,13 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.selectList.value == 'checkTypeCP' && !this.sampleQuality) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请输入样本数量',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// if (this.isquality) {
|
|
|
|
|
// (this.$refs.uToast as any).show({
|
|
|
|
|
// title: '数量不能为空',
|
|
|
|
@ -1157,6 +1172,9 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
} else {
|
|
|
|
|
item.files = [];
|
|
|
|
|
}
|
|
|
|
|
if (this.selectList.value === 'checkTypeCP') {
|
|
|
|
|
item.sampleQuality = this.sampleQuality;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
let query = {};
|
|
|
|
|
if (this.selectList.value == 'checkTypeSC' || this.selectList.value == 'checkTypeSCXJ') {
|
|
|
|
@ -1347,6 +1365,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
}
|
|
|
|
|
clear() {
|
|
|
|
|
this.formdata.sampleQuality = null;
|
|
|
|
|
this.sampleQuality = null;
|
|
|
|
|
}
|
|
|
|
|
confirm() {
|
|
|
|
|
if (this.tagslist.length <= 0) {
|
|
|
|
@ -1529,6 +1548,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
success: (res) => {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
this.show = false;
|
|
|
|
|
this.sampleQuality = null;
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('不关闭');
|
|
|
|
|
}
|
|
|
|
@ -1545,6 +1565,7 @@ export default class PurchaseWHSRM extends BasePage {
|
|
|
|
|
success: (res) => {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
this.show = false;
|
|
|
|
|
this.sampleQuality = null;
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('不关闭');
|
|
|
|
|
}
|
|
|
|
|