bug修改

dev
anthonywj 2 years ago
parent e340de87c6
commit 29dc1ac139

@ -31,13 +31,13 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://192.168.0.54:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.0.54:9150/UDI_WMS_MC/'
# 平潭正式 # 平潭正式
# VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/' VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/'
# 吴总测试服务器 # 吴总测试服务器
# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/'
# 漳州中医院 # 漳州中医院
VUE_APP_BASE_API = 'http://192.168.240.119:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.240.119:9150/UDI_WMS_MC/'
# 片仔癀诊断 # 片仔癀诊断
# VUE_APP_BASE_API = 'http://192.168.0.100:9160/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.0.100:9160/UDI_WMS_MC/'

@ -48,6 +48,7 @@ export function submitBiz(query) {
data: query data: query
}); });
} }
export function delmitBiz(query) { export function delmitBiz(query) {
return axios({ return axios({
url: "/warehouse/inout/delmitBiz", url: "/warehouse/inout/delmitBiz",

@ -180,6 +180,9 @@ export default {
originCode: this.originCode, originCode: this.originCode,
code: this.udiCode.trim(), code: this.udiCode.trim(),
} }
if (tQuery.code.includes(tQuery.originCode.substr(0, tQuery.originCode.length - 1))) {
tQuery.originCode = "";
}
enterCodeWeb(tQuery).then((response) => { enterCodeWeb(tQuery).then((response) => {
if (response.code === 20000) { if (response.code === 20000) {
this.$refs.inputRef.focus(); this.$refs.inputRef.focus();

@ -189,6 +189,9 @@ export default {
originCode: this.originCode, originCode: this.originCode,
code: this.udiCode.trim(), code: this.udiCode.trim(),
} }
if (tQuery.code.includes(tQuery.originCode.substr(0,tQuery.originCode.length-1))) {
tQuery.originCode = "";
}
enterCodeWeb(tQuery).then((response) => { enterCodeWeb(tQuery).then((response) => {
if (response.code === 20000) { if (response.code === 20000) {
this.$refs.inputRef.focus(); this.$refs.inputRef.focus();
@ -203,8 +206,6 @@ export default {
this.originCode = this.udiCode; this.originCode = this.udiCode;
} else if (response.code == 501) { } else if (response.code == 501) {
this.checkSuccess = false; this.checkSuccess = false;
// this.$refs.inputRef.focus();
// this.$refs.inputRef.select();
this.originCode = ""; this.originCode = "";
this.$message.error(response.message); this.$message.error(response.message);
} else if (response.code == 503) { } else if (response.code == 503) {

Loading…
Cancel
Save