|
|
|
|
@ -52,6 +52,10 @@
|
|
|
|
|
单位:mm
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item1">
|
|
|
|
|
拍摄照片<text style="color: red">*</text>:
|
|
|
|
|
<lj-choose-img :img-list.sync="item1.imgList"></lj-choose-img>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -67,7 +71,7 @@
|
|
|
|
|
</u-col>
|
|
|
|
|
</u-row>
|
|
|
|
|
</view>
|
|
|
|
|
<u-modal v-model="isshow" class="modal" :show-cancel-button="true" :show-title="false" @cancel="cancel" @confirm="confirm">
|
|
|
|
|
<u-modal v-model="isshow2" class="modal" :show-cancel-button="true" :show-title="false" @cancel="cancel" @confirm="confirm">
|
|
|
|
|
<div class="upload-name">
|
|
|
|
|
<div class="name">检查标准:{{ form.item5 }}</div>
|
|
|
|
|
<!-- <u-upload :before-upload="beforeUpload" ref="uUpload" :fileList="fileList" @on-error='errorUpload($event)' :action="action" @on-remove="removePic($event, item)" @on-success="successUpload($event)" :deletable="true"></u-upload> -->
|
|
|
|
|
@ -99,9 +103,11 @@ import model from '../Spotcheck/model';
|
|
|
|
|
import chooseOne from '@/components/choose-one/choose-one.vue';
|
|
|
|
|
import jPicker from '@/components/J-Picker/jPicker.vue';
|
|
|
|
|
import { session } from '@/store/modules/session';
|
|
|
|
|
import LjChooseImg from "@/components/lanju/lj-choose-img/index.vue";
|
|
|
|
|
//import store from '@/store';
|
|
|
|
|
@Component({
|
|
|
|
|
components: {
|
|
|
|
|
LjChooseImg,
|
|
|
|
|
chooseOne,
|
|
|
|
|
jPicker,
|
|
|
|
|
},
|
|
|
|
|
@ -124,6 +130,7 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
detailsinfocontent: any = {};
|
|
|
|
|
// 模态框
|
|
|
|
|
isshow = false;
|
|
|
|
|
isshow2 = false;
|
|
|
|
|
inputmodal = false;
|
|
|
|
|
isvalue = false;
|
|
|
|
|
ischecked = false;
|
|
|
|
|
@ -373,17 +380,26 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.detailsinfolist.detailList.forEach((item) => {
|
|
|
|
|
for (const item of this.detailsinfolist.detailList){
|
|
|
|
|
if (item.standardList.length > 0) {
|
|
|
|
|
item.standardList.forEach((item1) => {
|
|
|
|
|
for (const item1 of item.standardList){
|
|
|
|
|
if (item1.standardType === 'quantify') {
|
|
|
|
|
if (item1.actualValue == null || item1.actualValue == '') {
|
|
|
|
|
this.isvalue = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
//standardName
|
|
|
|
|
if (!item1.imgList || item1.imgList.size <= 0){
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title:item1.standardName+"未拍照!",
|
|
|
|
|
icon:"none"
|
|
|
|
|
})
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
item1.picturePath = item1.imgList.join(',');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
console.log('choubug222', this.isvalue);
|
|
|
|
|
if (this.isvalue) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
@ -473,7 +489,6 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
|
|
|
|
|
.list {
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
width: 367px;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
border: rgba(121, 121, 121, 1) solid 1px;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
@ -512,7 +527,6 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
}
|
|
|
|
|
.item {
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
width: 344px;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
border: rgba(121, 121, 121, 1) solid 1px;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
|