修改质量检验测量值问题

master
lijing 7 months ago
parent 60bc2e4406
commit 625c16cf57

@ -5,7 +5,7 @@
<uni-tr v-for="(item, index) in tagslist" :key="index">
<uni-td>{{ item.label }}</uni-td>
<uni-td width="50">
<u-input v-model="item.numberall" />
<u-input @blur="changeInput($event, index)" v-model="item.numberall" />
</uni-td>
<uni-td>
<jPicker moren="请选择缺陷分类" sureColor="#ff0000" @bindpicker="selectProductlocCode7($event, item, index)" showKey="label" valKey="value" :val="item.defect" :options="item.defectList" />
@ -75,6 +75,13 @@ export default {
console.log('e:', item);
console.log('this.tagslist[index]:', this.tagslist[index]);
},
changeInput(event, index) {
console.log(event, index, 'sddww11', this.tagslist[index].defect, event === '0');
// if (event === '0') {
// this.tagslist[index].value = null;
// }
},
cancel() {
this.tagslist = this.tagslistcopy;
this.tagslist.forEach((item) => {

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

@ -942,12 +942,12 @@ export default class PurchaseWHSRM extends BasePage {
if (!item.files) {
item.files = []; ///.........
} else {
// item.files = item.files.map((item) => {
// return item.fileAddress;
// });
item.files.map((item) => {
item.fileListStr.push(item.fileAddress);
item.files = item.files.map((item) => {
return item.fileAddress;
});
// item.files.map((item) => {
// item.fileListStr.push(item.fileAddress);
// });
item.fileListStr = item.files.join(',');
}
let classTypeCodeslist = [];
@ -1239,6 +1239,7 @@ export default class PurchaseWHSRM extends BasePage {
this.tagsvalue = null;
this.equipmentindex.push(index);
this.isshow = true;
this.tagsvalue = 0;
}
nopoup() {
this.show = false;
@ -1795,8 +1796,8 @@ export default class PurchaseWHSRM extends BasePage {
tempFilePaths.map((item) => {
uni.uploadFile({
url: 'http://192.168.202.20:9000/prod-api/file/upload',
// url: '/prod-api/file/upload',
// url: 'http://192.168.202.20:9000/prod-api/file/upload',
url: '/prod-api/file/upload',
//url: '/dev-api/file/upload',
fileType: 'image',
filePath: item,

@ -25,16 +25,16 @@ http.interceptors.request.use(
config.timeout = 1000 * 60 * 60;
//console.log('123456',config)
//生产请将注释解开重要重要
if (config.url.includes('/api')) {
config.baseURL = 'http://192.168.202.23:5001';
} else if (config.url.includes('http')) {
//直接使用写死地址
} else {
config.baseURL = 'http://192.168.202.34:30000'; //正式
// config.baseURL = 'http://192.168.202.20:9000'//测试
//'http://192.168.202.20:9000' ///测试
//'http://192.168.202.34:30000'; //正式
}
// if (config.url.includes('/api')) {
// config.baseURL = 'http://192.168.202.23:5001';
// } else if (config.url.includes('http')) {
// //直接使用写死地址
// } else {
// config.baseURL = 'http://192.168.202.34:30000'; //正式
// // config.baseURL = 'http://192.168.202.20:9000'//测试
// //'http://192.168.202.20:9000' ///测试
// //'http://192.168.202.34:30000'; //正式
// }
// 所有请求默认提示加载中
if (config.url == '/prod-api/quality/handCheck/commitCheckResultsCg') {
loading = undefined;

Loading…
Cancel
Save