Merge remote-tracking branch 'origin/master' into master

master
FCD 1 month ago
commit 16630b4e9e

27476
package-lock.json generated

File diff suppressed because it is too large Load Diff

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

@ -13,7 +13,7 @@ export class login extends VuexModule {
checkversion: any = {}; checkversion: any = {};
@MutationAction @MutationAction
async checkupdate() { async checkupdate() {
const result: any = await http.post('/prod-api/system/apkFile/getLastApkVersion', { const result: any = await http.post('/dev-api/system/apkFile/getLastApkVersion', {
factory: 1000, factory: 1000,
}); });
const checkversion: any = result.data; const checkversion: any = result.data;

@ -593,6 +593,7 @@ export default class PurchaseWHSRM extends BasePage {
cxzz: null, cxzz: null,
jgy: null, jgy: null,
pgy: null, pgy: null,
attr3: null,
}; };
isvalue = false; isvalue = false;
isvalue2 = false; isvalue2 = false;
@ -1347,9 +1348,9 @@ export default class PurchaseWHSRM extends BasePage {
// return; // return;
// } // }
if (this.formdata.checkResult == 'N') { if (this.formdata.checkResult == 'N') {
if (this.formdata.remark === null || this.formdata.remark === '') { if (this.formdata.attr3 === null || this.formdata.attr3 === '') {
(this.$refs.uToast as any).show({ (this.$refs.uToast as any).show({
title: '不合格描述不能为空', title: '备注描述不能为空',
type: 'default', type: 'default',
}); });
return; return;

@ -13,7 +13,7 @@ export class shouye extends VuexModule {
checkversion: any = {}; checkversion: any = {};
@MutationAction @MutationAction
async checkupdate() { async checkupdate() {
const result: any = await http.post('/prod-api/system/apkFile/getLastApkVersion', { const result: any = await http.post('/dev-api/system/apkFile/getLastApkVersion', {
factory: 1000, factory: 1000,
}); });
const checkversion: any = result.data; const checkversion: any = result.data;

@ -83,6 +83,10 @@
<view class="pouptitle">登记数量</view> <view class="pouptitle">登记数量</view>
<u-input class="poupcontent" :clearable="false" v-model="czNumber" placeholder="" style="overflow: hidden" /> <u-input class="poupcontent" :clearable="false" v-model="czNumber" placeholder="" style="overflow: hidden" />
</view> </view>
<!-- <view class="poupitem">-->
<!-- <view class="pouptitle">托盘号</view>-->
<!-- <u-input class="poupcontent" :clearable="false" v-model="rfidCode" placeholder="" style="overflow: hidden" />-->
<!-- </view>-->
<view class="poupbutton" style="margin-top: 10px"> <view class="poupbutton" style="margin-top: 10px">
<div> <div>
<u-button style="width: 100px; height: 35px" @click="onOksing" size="mini" type="primary">确定</u-button> <u-button style="width: 100px; height: 35px" @click="onOksing" size="mini" type="primary">确定</u-button>
@ -120,6 +124,7 @@ export default class ArrivalRegistration extends BasePage {
operationNumber = 0; operationNumber = 0;
nooperationNumber = 0; nooperationNumber = 0;
czNumber = ''; czNumber = '';
rfidCode = '';
whList: any = []; whList: any = [];
waCodeList: any = []; waCodeList: any = [];
show = false; show = false;
@ -190,6 +195,7 @@ export default class ArrivalRegistration extends BasePage {
this.operationNumber = 0; this.operationNumber = 0;
this.nooperationNumber = 0; this.nooperationNumber = 0;
this.czNumber = ''; this.czNumber = '';
this.rfidCode = '';
} }
// async onFormDoubleClick(item) { // async onFormDoubleClick(item) {
// console.log('', item); // console.log('', item);
@ -407,6 +413,7 @@ export default class ArrivalRegistration extends BasePage {
procureCode: this.prodobj.value, procureCode: this.prodobj.value,
id: this.list[0].id, id: this.list[0].id,
czNumber: this.czNumber, czNumber: this.czNumber,
rfidCode: this.rfidCode,
lastUpdateBy: session.loginName, lastUpdateBy: session.loginName,
}; };
//console.log('99999',params); //console.log('99999',params);

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

@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-unused-vars */
// const qianzhuione = '/dev-api'; // '/prod-api'生产环境 // '/dev-api'开发环境是调后端本地时使用 const qianzhuione = '/dev-api'; // '/prod-api'生产环境 // '/dev-api'开发环境是调后端本地时使用
const qianzhuione = '/prod-api'; // const qianzhuione = '/prod-api';
export const url = { export const url = {
wmspda: { wmspda: {
system: { system: {
@ -393,6 +393,6 @@ export const url = {
getCheckBpList: qianzhuione + '/quality/checkBp/checkBpList', getCheckBpList: qianzhuione + '/quality/checkBp/checkBpList',
getQcDefectTypeClassList: qianzhuione + '/quality/defectClass/list', getQcDefectTypeClassList: qianzhuione + '/quality/defectClass/list',
submitCheckResult: qianzhuione + '/quality/checkBp/submitCheckResult', submitCheckResult: qianzhuione + '/quality/checkBp/submitCheckResult',
} },
}, },
}; };

@ -4,18 +4,16 @@ module.exports = {
'/prod-api': { '/prod-api': {
//正式生产 //正式生产
target: 'http://192.168.202.34:30000', target: 'http://192.168.202.34:30000',
//测试生产
//target: 'http://192.168.202.20:9000',
changeOrigin: true, changeOrigin: true,
// pathRewrite: { pathRewrite: {
// '^/prod-ap': '', '^/prod-api': '',
// }, },
}, },
'/dev-api': { '/dev-api': {
//target: 'http://192.168.3.63:8080', //target: 'http://192.168.3.63:8080',
// target: 'http://192.168.3.66:8080', // target: 'http://192.168.3.66:8080',
target: 'http://192.168.3.231:8080', //贵迎 // target: 'http://172.18.80.120:8080', //贵迎
//target: 'http://192.168.3.158:8080', target: 'http://192.168.0.10:8080',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/dev-api': '', '^/dev-api': '',

14199
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save