1.修改部分页面查询框在非首页情况下查询失败问题

2.删除无用代码
master
x_z 3 years ago
parent a58a8335dc
commit cdf4d3f700

@ -12,7 +12,6 @@ export function userInfo(id, token) {
}
export function loginName(username, password) {
console.log(username + " " + password);
return axios({
url: "/login",
method: "post",

@ -17,7 +17,6 @@ export function getUnbindPlatform(query) {
}
export function updatePlatform(data) {
console.log(JSON.stringify(data));
return axios({
url: "/udims/platform/update",
method: "post",

@ -156,7 +156,6 @@ export default {
})
.catch(err => {
failure("出现未知问题,刷新页面");
console.log(err);
});
}
});

@ -64,7 +64,6 @@ router.beforeEach((to, from, next) => {
return;
}
let adminId = getAdminId();
console.log("-----------------"+adminId+"啥情况");
if (adminId !== "undefined" && adminId !== "" && adminId) {
// 判断是否有token
if (to.path === "/login") {

@ -47,13 +47,11 @@ const getters = {
const actions = {
// 用户名登录
loginName({ commit }, userInfo) {
console.log(userInfo.userName+"=----"+userInfo.pwd);
const userName = userInfo.userName ? userInfo.userName.trim() : "";
const pwd = userInfo.pwd ? userInfo.pwd : "";
return new Promise((resolve, reject) => {
loginName(userName, pwd)
.then(response => {
console.log(response);
if (response.code!=20000) {
Message({
message: response.message,
@ -79,20 +77,10 @@ const actions = {
return new Promise((resolve, reject) => {
userInfo()
.then(response => {
console.log("````````1````````");
console.log("````````2````````");
console.log("````````3````````");
console.log(response);
console.log("````````3````````");
console.log("````````2````````");
console.log("````````1````````");
console.log(response.code+"---"+response.data);
console.log(response.data);
if (response.code !== 20000) {
reject("登录失效");
}
const data = response.data || {};
console.log(data.userName+"--"+ data.authRules);
commit(types.RECEIVE_ADMIN_NAME, data.userName);
commit(types.RECEIVE_ADMIN_EMPLOYEE_NAME, data.employeeName);
commit(types.RECEIVE_ADMIN_AVATAR, data.avatar);

@ -25,7 +25,7 @@
<el-form-item>
<el-button-group style="margin-left: 10px;display:flex;">
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="search" @click="getList"></el-button>
<el-button type="primary" icon="search" @click="search"></el-button>
<el-button type="primary" icon="search" @click="handleAddClick"
>新增
</el-button
@ -229,6 +229,10 @@ export default {
handleChange() {
this.getList();
},
search() {
this.filterQuery.page = 1;
this.getList();
},
getList() {
this.loading = true;
getBussinessType(this.filterQuery)

@ -371,7 +371,6 @@ export default {
isChangeOrder() {
console.log("this.inputQuery.changeEnable = " + this.inputQuery.changeEnable);
if (this.inputQuery.changeEnable) {
this.query.type = "changeEnable";
this.getList()

@ -202,7 +202,6 @@ export default {
});
},
oneCheck(type) {
console.log(type);
if (!type) {
this.twoCheck = true;
this.inputQuery.secCheckEnable = false;

@ -181,7 +181,6 @@ export default {
.then((blob) => {
// blob
a.href = URL.createObjectURL(blob);
console.log(a.href);
// a.download = ""; //
a.download =
row.filePath.split("\\")[
@ -231,11 +230,9 @@ export default {
});
},
handleChange(response, files, fileList) {
console.log(response);
if (response.code != 20000) {
this.$message.error(response.message);
} else {
console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]);
this.$message.success("文件上传成功,请稍后刷新查看!");
}
},

@ -188,7 +188,6 @@ export default {
handleDetailClick(row) {
this.currentRow = row;
console.log(this.currentRow.genKey)
this.corpImportDetailVisible = true;
},
@ -254,12 +253,10 @@ export default {
window.open(this.templateDlUrl, '_blank');
},
handleChange(response, files, fileList) {
console.log(response);
if (response.code != 20000) {
this.$message.error(response.message);
this.getList();
} else {
// console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]);
this.$message.success("文件上传成功,请稍后刷新查看!");
this.getList();
}

@ -133,7 +133,6 @@ export default {
},
getList() {
this.loading = true;
console.log(" this.genKeyFk = " + this.currentRow.genKey)
this.filterQuery.genKey = this.currentRow.genKey;
filterDetail(this.filterQuery)
.then((response) => {

@ -367,7 +367,6 @@ export default {
this.thirdIdColumn = false;
getBasicUnitMaintains(this.query)
.then((response) => {
console.log(response)
this.loading = false;
this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false;
this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false;
@ -452,7 +451,6 @@ export default {
this.editQuery.thirdName4 = null;
let data = Object.assign({}, this.editQuery);
console.log('------2------');
basicUnitMaintainSave(data, this.formName)
.then(response => {
this.formLoading = false;

@ -178,7 +178,6 @@ export default {
this.unitQuery.thirdSys = this.thirdSysFk;
ucloudUnit(this.unitQuery)
.then((response) => {
console.log(response);
this.loading = false;
if (response.code == 20000) {
@ -228,7 +227,6 @@ export default {
}
this.combineQuery.thirdSys = this.thirdSysFk;
this.combineQuery.custmandocResponses = ids;
console.log(ids);
combine(this.combineQuery)
.then((response) => {
if (response.code == 20000) {
@ -268,13 +266,11 @@ export default {
},
handleCurrentChange(val) {
console.log(val);
this.currentRow = val;
this.unitQuery.key = this.currentRow.name;
},
handleSelectionUdiChange(val) {
console.log("----" + val[0].id);
this.multipleUdiSelection = val;
},
},

@ -317,7 +317,6 @@ export default {
this.thirdIdColumn = false;
getBasicUnitMaintains(this.query)
.then((response) => {
console.log(response)
this.loading = false;
this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false;
this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false;
@ -378,7 +377,6 @@ export default {
// data.spell = pyStr.toUpperCase();
// }
console.log('------2------');
basicUnitMaintainSave(data, this.formName)
.then(response => {
this.formLoading = false;

@ -177,7 +177,6 @@ export default {
this.unitQuery.thirdSys = this.thirdSysFk;
ucloudUnit(this.unitQuery)
.then((response) => {
console.log(response);
this.loading = false;
if (response.code == 20000) {
@ -219,7 +218,6 @@ export default {
},
handleCurrentChange(val) {
console.log(val);
this.combineQuery.thirdSys = this.thirdSysFk;
this.combineQuery.key = this.corpData.id;
this.combineQuery.erpUnitsResponse = val;
@ -256,7 +254,6 @@ export default {
return "";
},
handleSelectionUdiChange(val) {
console.log("----" + val[0].id);
this.multipleUdiSelection = val;
},

@ -647,7 +647,6 @@ export default {
handleDetail(row) {
this.editQuery = row;
console.log(row);
},
selectExport() {
var selectData = this.multipleSelection;
@ -727,7 +726,6 @@ export default {
});
},
handleSelectionChange(val) {
console.log("----" + val);
this.multipleSelection = val;
},
@ -750,7 +748,6 @@ export default {
page: 1,
limit: 10,
};
console.log("this.editQuery.isUseDy = " + this.editQuery.isUseDy);
this.getDetailList(ttquery);
this.getThirdSysDetail();

@ -188,7 +188,6 @@ export default {
},
handleDetailClick(row) {
this.currentRow = row;
console.log(this.currentRow.genKey)
this.udiImportDetailVisible = true;
},
@ -253,11 +252,9 @@ export default {
window.open(this.templateDlUrl, '_blank');
},
handleChange(response, files, fileList) {
console.log(response);
if (response.code != 20000) {
this.$message.error(response.message);
} else {
// console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]);
this.getList();
this.$message.success("文件上传成功,请稍后刷新查看!");
}

@ -203,7 +203,6 @@ export default {
},
handleDetailClick(row) {
this.currentRow = row;
console.log(this.currentRow.genKey)
this.udiImportDetailVisible = true;
},
@ -268,11 +267,9 @@ export default {
window.open(this.templateDlUrl, '_blank');
},
handleChange(response, files, fileList) {
console.log(response);
if (response.code != 20000) {
this.$message.error(response.message);
} else {
// console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]);
this.getList();
this.$message.success("文件上传成功,请稍后刷新查看!");
}

@ -155,7 +155,6 @@ export default {
},
getList() {
this.loading = true;
console.log(" this.genKey = " + this.currentRow.genKey)
this.filterQuery.genKey = this.currentRow.genKey;
filterDetail(this.filterQuery)
.then((response) => {

@ -70,7 +70,7 @@
icon="el-icon-refresh"
@click="onReset"
></el-button>
<el-button type="primary" icon="search" @click="getList"
<el-button type="primary" icon="search" @click="search"
>查询
</el-button
>
@ -726,6 +726,10 @@ export default {
};
this.getList();
},
search() {
this.filterQuery.page = 1;
this.getList();
},
getList() {
this.loading = true;
getProductInfos(this.filterQuery)
@ -835,7 +839,6 @@ export default {
relId: this.editQuery.id,
isDisable: this.editQuery.disable
}
console.log(this.editQuery)
disableUdi(query)
.then((response) => {
if (response.code != 20000) {

@ -327,11 +327,7 @@ export default {
return "";
},
handleErpChange(val) {
console.log(val);
this.currentRow = val;
// this.unionQuery.cpmctymc = this.currentRow.name;
// this.unionQuery.zczbhhzbapzbh = this.currentRow.registerNo;
// this.unionQuery.ggxh = this.currentRow.spec;
},
searchErpList() {
@ -412,7 +408,6 @@ export default {
this.$message.warning("未选择医疗器械产品信息");
return;
}
console.log("this.currentRow.checked =" + this.currentRow.checked);
if (this.currentRow != null && this.currentRow.checked) {
this.$confirm("产品编码:" + this.currentRow.code + "已被添加,是否继续添加", "提示", {
@ -463,7 +458,6 @@ export default {
});
},
findMethod(query) {
console.log(query);
let cQuery = {
ylqxzcrbarmc: query,
page: 1,

@ -209,7 +209,6 @@ export default {
return "";
},
handleErpChange(val) {
console.log(val);
if (val.checked) {
this.$message.warning("该产品已被选入");
return;

@ -398,7 +398,6 @@ export default {
this.getList();
},
handleErpChange(val) {
console.log(val);
this.currentRow = val;
},
handleErpPageChange(val) {
@ -601,7 +600,6 @@ export default {
},
handleSelectionChange(val) {
console.log("----" + val);
this.multipleUdiSelection = val;
},
getBasicThirdSys() {
@ -628,7 +626,6 @@ export default {
},
},
created() {
console.log("-------------" + this.uuid);
this.getBasicThirdSys();
},
};

@ -181,7 +181,6 @@ export default {
.then((blob) => {
// blob
a.href = URL.createObjectURL(blob);
console.log(a.href);
// a.download = ""; //
a.download =
row.filePath.split("\\")[
@ -236,11 +235,9 @@ export default {
});
},
handleChange(response, files, fileList) {
console.log(response);
if (response.code != 20000) {
this.$message.error(response.message);
} else {
console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]);
this.$message.success("文件上传成功,请稍后刷新查看!");
}
},

@ -1051,7 +1051,6 @@ export default {
}).catch(() => {
});
} else {
console.log("error submit!!");
return false;
}
});
@ -1079,7 +1078,6 @@ export default {
}).catch(() => {
});
} else {
console.log("error submit!!");
return false;
}
});
@ -1115,7 +1113,6 @@ export default {
}).catch(() => {
});
} else {
console.log("error submit!!");
return false;
}
});
@ -1126,7 +1123,6 @@ export default {
customerId: store.getters.customerId,
};
getCompany(tquery).then((response) => {
console.log(response)
this.loading = false;
this.inputQuery = response.data;
this.inputQuery.bussinessStatus = this.inputQuery.bussinessStatus + "";
@ -1381,11 +1377,8 @@ export default {
this.inputQuery.areaCode = value.toString();
},
uploadHandleRemove(file, fileList) {
console.log(file, fileList);
},
uploadHandlePreview(file) {
console.log(file);
console.log(this.fileList);
},
uploadHandleExceed(files, fileList) {
this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
@ -1417,7 +1410,6 @@ export default {
return isLt;
},
uploadHandleSuccess(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
this.uploadFilePath('', response.data.name);
@ -1439,7 +1431,6 @@ export default {
}
},
uploadHandleSuccess2(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
this.uploadFilePath('2', response.data.name);
@ -1460,7 +1451,6 @@ export default {
}
},
uploadHandleSuccess3(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
this.uploadFilePath('3', response.data.name);
@ -1479,7 +1469,6 @@ export default {
}
},
uploadHandleSuccess4(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
this.uploadFilePath('4', response.data.name);

@ -280,7 +280,6 @@ export default {
this.$message.success("修改成功");
});
} else {
console.log("error submit!!");
return false;
}
});
@ -291,7 +290,6 @@ export default {
customerId: store.getters.customerId,
};
getCompany(tquery).then((response) => {
console.log(response)
this.loading = false;
this.inputQuery = response.data;
this.inputQuery.bussinessStatus = this.inputQuery.bussinessStatus + "";
@ -416,11 +414,8 @@ export default {
});
},
uploadHandleRemove(file, fileList) {
console.log(file, fileList);
},
uploadHandlePreview(file) {
console.log(file);
console.log(this.fileList);
},
uploadHandleExceed(files, fileList) {
this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
@ -452,7 +447,6 @@ export default {
return isLt;
},
uploadHandleSuccess(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
this.inputQuery.newFilePath = response.data.name;
this.onModifySubmit('inputQuery');

@ -741,7 +741,6 @@ export default {
handleDetail(row) {
this.editQuery = row;
console.log(row);
},
combine() {
@ -773,7 +772,6 @@ export default {
this.loading = false;
if (response.code == 20000) {
this.$message.success(response.data);
console.log("关闭弹窗");
this.$emit("closeSelDialog", true);
this.closeSelDialog();
} else {
@ -827,7 +825,6 @@ export default {
});
},
handleSelectionChange(val) {
console.log("----" + val);
this.multipleSelection = val;
},
@ -850,7 +847,6 @@ export default {
page: 1,
limit: 10,
};
console.log("this.editQuery.isUseDy = " + this.editQuery.isUseDy);
this.getDetailList(ttquery);
this.getThirdSysDetail();

@ -249,7 +249,6 @@ export default {
this.thirdIdColumn = false;
getBasicUnitMaintains(this.query)
.then((response) => {
console.log(response)
this.loading = false;
this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false;
this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false;
@ -308,7 +307,6 @@ export default {
data.spell = pyStr.toUpperCase();
}
console.log('------2------');
basicUnitMaintainSave(data, this.formName)
.then(response => {
this.formLoading = false;
@ -397,7 +395,6 @@ export default {
},
handleSelectionChange(val) {
console.log("----" + val);
this.multipleSelection = val;
},

@ -172,7 +172,6 @@ export default {
this.loading = true;
ucloudUnit(this.unitQuery)
.then((response) => {
console.log(response)
this.loading = false;
this.unitlList = response.data.list || [];
this.total = response.data.total || 0;
@ -207,13 +206,11 @@ export default {
selectData.forEach((obj, index) => {
ids.push(obj);
});
console.log(" ids = " + ids.length);
if (ids.length == 0) {
this.$message.warning("请选择往来单位!")
return;
}
this.combineQuery.custmandocResponses = ids;
console.log(ids)
combine(this.combineQuery)
.then((response) => {
if (response.code == 20000) {
@ -228,13 +225,11 @@ export default {
},
handleCurrentChange(val) {
console.log(val);
this.currentRow = val;
this.unitQuery.key = this.currentRow.customname;
},
handleSelectionUdiChange(val) {
console.log("----" + val[0].id);
this.multipleUdiSelection = val;
},
},

@ -786,7 +786,6 @@ export default {
if (response.code != 20000) {
this.$message.error(response.message);
} else {
// console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]);
this.$message.success(response.data);
this.getList();
}
@ -897,10 +896,8 @@ export default {
warehouseUserList(loadParam).then((res) => {
this.userData = res.data;
}).catch((error) => {
console.log(error);
});
}).catch((error) => {
console.log(error);
this.$message.error("添加失败");
});
},

@ -75,14 +75,6 @@ export default {
if (this.tagsList.length >= 8) {
this.tagsList.shift();
}
console.log(
"路由---" +
route.name +
"----" +
route.fullPath +
"---" +
route.matched[1].components.default.name
);
this.tagsList.push({
title: route.name,
path: route.fullPath,
@ -102,14 +94,6 @@ export default {
},
watch: {
$route(newValue, oldValue) {
console.log(
"路由---" +
newValue.meta.title +
"----" +
newValue.fullPath +
"---" +
newValue.matched[1].components.default.name
);
this.setTags(newValue);
},
},

@ -67,7 +67,6 @@ export default {
this.filePathUrl1 = filePathUrl;
},
onSelect2(filePath, filePathUrl) {
console.log(filePathUrl);
this.filePath2 = filePath;
this.filePathUrl2 = filePathUrl;
},

@ -20,7 +20,7 @@
icon="el-icon-refresh"
@click="onReset"
></el-button>
<el-button type="primary" icon="search" @click="getList"
<el-button type="primary" icon="search" @click="search"
>查询
</el-button
>
@ -414,6 +414,10 @@ export default {
};
this.getList();
},
search() {
this.query.page = 1;
this.getList();
},
getList() {
this.loading = true;
getUnitMaintain(this.query)
@ -598,7 +602,6 @@ export default {
},
handleSelectionChange(val) {
console.log("----" + val);
this.multipleSelection = val;
},
@ -612,13 +615,6 @@ export default {
created() {
this.getList();
this.getPlatformList();
var pinyin = require("pinyin");
console.log(
pinyin("中心", {
style: pinyin.STYLE_FIRST_LETTER, //
heteronym: true
})
);
}
};
</script>

@ -337,7 +337,6 @@ export default {
this.getList();
},
handleErpChange(val) {
console.log(val);
this.currentRow = val;
},
handleErpPageChange(val) {
@ -406,7 +405,6 @@ export default {
},
handleSelectionUdiChange(val) {
console.log("----" + val);
this.multipleUdiSelection = val;
},
getBasicThirdSys() {
@ -421,7 +419,6 @@ export default {
.then((response) => {
this.thirdSys = response.data.list || [];
this.thirdSys.forEach((item, i) => {
console.log(item.thirdId + this.data.thirdSysFk);
if (item.thirdId == this.data.thirdSysFk) {
this.thirdSys.splice(i, 1);
}
@ -436,7 +433,6 @@ export default {
},
},
created() {
console.log("-------------" + this.uuid);
this.getBasicThirdSys();
},
};

@ -375,7 +375,6 @@ export default {
},
keyup_submit(event) {
console.log("全选----");
this.getList();
event.target.select();
},
@ -392,7 +391,6 @@ export default {
return "";
},
handleErpChange(val) {
console.log(val);
this.currentRow = val;
},
intentBack() {
@ -416,7 +414,6 @@ export default {
},
handleSelectionUdiChange(val) {
console.log("----" + val);
this.multipleUdiSelection = val;
},
},

@ -345,7 +345,6 @@ export default {
event.target.select();
},
findMethod(query) {
console.log(query);
let cQuery = {
ylqxzcrbarmc: query,
page: 1,
@ -362,7 +361,6 @@ export default {
});
},
diDetail(row) {
console.log(row);
this.diDetails = row;
this.selectDialog = true;
}

@ -12,7 +12,7 @@
icon="el-icon-refresh"
@click="onReset"
></el-button>
<el-button type="primary" icon="search" @click="getList"
<el-button type="primary" icon="search" @click="search"
>查询
</el-button
>
@ -355,6 +355,10 @@ export default {
};
this.getList();
},
search() {
this.query.page = 1;
this.getList();
},
getList() {
this.loading = true;
getLinkPlatformList(this.query).then((res) => {
@ -550,7 +554,6 @@ export default {
type: "warning"
}).then(() => {
this.loading = true;
console.log(row)
let query = {
corpId: row.id
};

@ -358,7 +358,6 @@ export default {
}
this.authFormVisible = true;
this.authList = response.data.list || [];
console.log("this.authList=" + this.authList);
const checkedKeys = response.data.checkedKeys || [];
let tempCheckedKeys = [];
let id = null;

@ -375,7 +375,6 @@ export default {
this.getList();
},
formSubmit() {
console.log(this.check)
this.formData.roleId = this.check;
updateCustomers(this.formData)
.then((response) => {
@ -440,8 +439,6 @@ export default {
this.getList();
},
handleCheckedChange(val) {
console.log(val);
console.log(this.check);
},
checkRegister(tquery) {
this.loading = true;
@ -516,7 +513,6 @@ export default {
authCustomerRoles()
.then((response) => {
this.roles = response.data.list || [];
console.log(this.roles);
})
.catch(() => {
});

@ -358,13 +358,6 @@ export default {
}
},
formSubmit() {
console.log(
this.formData.userName +
"-----" +
this.formData.employeeName +
this.formData.userFlag +
this.formData.id
);
this.$refs["dataForm"].validate((valid) => {
if (valid) {
this.formLoading = true;

@ -215,7 +215,6 @@ export default {
}
});
} else {
console.log("error submit!!");
return false;
}
});
@ -265,7 +264,6 @@ export default {
handleChange(value) {
this.inputQuery.area =
CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]];
console.log(value + "\n" + this.inputQuery.area);
},
},
};

@ -504,6 +504,7 @@ export default {
this.getModuleList();
},
onSubmit() {
this.query.page = 1;
this.getModuleList();
},
handleCurrentChange(val) {

@ -459,9 +459,6 @@ export default {
this.getList();
},
jumpDl(row) {
console.log(BASE_URL);
console.log(row.templateDlUrl + "----");
this.handleDownload(BASE_URL + "/udiwms/donwload/file?fileName=" + row.jrxmlPath, row.name + ".jrxml");
},
@ -562,7 +559,6 @@ export default {
this.selectTemplateGetList();
},
selectTemplateGetList() {
console.log(this.selectTemplateQuery)
this.selectTemplateLoading = true;
systemPDFTemplateList(this.selectTemplateQuery)
.then(response => {
@ -577,7 +573,6 @@ export default {
});
},
previewTemplate(row) {
console.log(row)
},
showFieldExpain(row) {
@ -627,7 +622,6 @@ export default {
if (this.$refs.uploadJrxml.uploadFiles.length < 1 && !this.uploadDisabled) {
this.$message.warning(`请选择jasper文件`);
}
console.log(this.formName)
this.$refs["dataForm"].validate(valid => {
if (valid) {
@ -672,10 +666,8 @@ export default {
return isLt;
},
uploadHandleSuccess(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
this.formData.path = response.data.path;
// this.submitTemplate();
} else {
this.$message.error("上传失败:" + response.message);
}
@ -711,10 +703,8 @@ export default {
return isLt;
},
uploadJrxmlHandleSuccess(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
this.formData.jrxmlPath = response.data.path;
// this.submitTemplate();
} else {
this.$message.error("上传失败:" + response.message);
}
@ -722,7 +712,6 @@ export default {
submitTemplate() {
console.log(this.formData)
this.$refs["dataForm"].validate(valid => {
if (valid) {
this.formLoading = true;
@ -752,7 +741,6 @@ export default {
}).then(() => {
systemPDFTemplateDeleteById({id: row.id, path: row.path})
.then(response => {
console.log(response)
if (response.code === 20000) {
this.$message.success(response.data);
//
@ -774,8 +762,6 @@ export default {
},
moduleSelectHandleCurrentChange(val) {
this.moduleFormData.templateId = val.id;
console.log(val)
console.log(this.moduleFormData)
},
moduleSubmitSelectTemplate() {
@ -810,12 +796,6 @@ export default {
getSystemPDFModules()
.then((response) => {
this.moduleNameList = response.data.list;
// this.moduleNameMap = {};
// this.moduleNameList.forEach((obj, index) => {
// console.log(obj)
// this.moduleNameMap[obj.id] = obj.name;
// });
console.log(this.moduleNameMap)
})
.catch(() => {
});

@ -250,7 +250,6 @@ export default {
},
handleCheckedChange(val) {
console.log(val);
},
handleSizeChange(val) {

@ -557,7 +557,6 @@ export default {
}
});
} else {
console.log("error submit!!");
return false;
}
});
@ -572,7 +571,6 @@ export default {
this.loading = false;
this.inputQuery = response.data;
this.inputQuery.bussinessStatus = "2";
console.log(this.inputQuery);
this.selectedOptions = this.inputQuery.areaCode.split(",");
});
},
@ -637,13 +635,11 @@ export default {
let clipboard = new Clipboard(".tag-read");
clipboard.on("success", e => {
console.log("复制成功");
//
clipboard.destroy();
});
clipboard.on("error", e => {
//
console.log("该浏览器不支持复制");
//
clipboard.destroy();
});
@ -691,11 +687,8 @@ export default {
});
},
uploadHandleRemove(file, fileList) {
console.log(file, fileList);
},
uploadHandlePreview(file) {
console.log(file);
console.log(this.fileList);
},
uploadHandleExceed(files, fileList) {
this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
@ -727,7 +720,6 @@ export default {
return isLt;
},
uploadHandleSuccess(response, file, fileList) {
console.log(response);
if (response.code === 20000) {
this.inputQuery.licenseUrl = response.data.name;
} else {

@ -343,7 +343,6 @@ export default {
}
});
} else {
console.log("error submit!!");
return false;
}
});
@ -403,7 +402,6 @@ export default {
handleChange(value) {
this.inputQuery.area =
CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]];
console.log(value + "\n" + this.inputQuery.area);
this.inputQuery.areaCode = value.toString();
},
},

@ -395,7 +395,6 @@ export default {
};
getBasicUnitMaintains2(tQuery)
.then((response) => {
console.log(response)
this.sLoading = false;
this.sOptions = response.data.list;
})
@ -426,7 +425,6 @@ export default {
this.getList();
},
findMethod(query) {
console.log(query);
this.fromOptions = [];
let cQuery = {
key: query,

@ -484,7 +484,6 @@ export default {
}
});
} else {
console.log("error submit!!");
return false;
}
});
@ -495,7 +494,6 @@ export default {
id: this.enterpriseId,
};
getCompanyInfo(tQuery).then((response) => {
console.log(response)
this.loading = false;
this.inputQuery = response.data;
this.selectedOptions = this.inputQuery.placeAreaCode.split(",");
@ -570,7 +568,6 @@ export default {
handleChange(value) {
this.inputQuery.placeArea =
CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]];
console.log(this.inputQuery.placeArea)
this.inputQuery.placeAreaCode = value.toString();
},
handleChange2(value) {
@ -579,11 +576,8 @@ export default {
this.inputQuery.productionAreaCode = value.toString();
},
uploadHandleRemove(file, fileList) {
console.log(file, fileList);
},
uploadHandlePreview(file) {
console.log(file);
console.log(this.fileList);
},
uploadHandleExceed(files, fileList) {
this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
@ -615,7 +609,6 @@ export default {
return isLt;
},
uploadHandleSuccess(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
this.inputQuery.newFilePath = response.data.name;
this.onModifySubmit('inputQuery');

@ -149,11 +149,8 @@ export default {
});
},
uploadHandleRemove(file, fileList) {
console.log(file, fileList);
},
uploadHandlePreview(file) {
console.log(file);
console.log(this.fileList);
},
uploadHandleExceed(files, fileList) {
this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);

@ -544,7 +544,6 @@ export default {
}
});
} else {
console.log("error submit!!");
return false;
}
});
@ -565,7 +564,6 @@ export default {
id: this.registrationId,
};
getRegistrationInfo(tQuery).then((response) => {
console.log(response)
this.loading = false;
this.inputQuery = response.data;
this.selectedOptions = this.inputQuery.recordPeopleAreaCode.split(",");
@ -589,11 +587,8 @@ export default {
this.inputQuery.agentAreaCode = value.toString();
},
uploadHandleRemove(file, fileList) {
console.log(file, fileList);
},
uploadHandlePreview(file) {
console.log(file);
console.log(this.fileList);
},
uploadHandleExceed(files, fileList) {
this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
@ -625,7 +620,6 @@ export default {
return isLt;
},
uploadHandleSuccess(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
if (this.$isBlank(this.inputQuery.instructions)) {
this.inputQuery.filePath = response.data.name;
@ -642,7 +636,6 @@ export default {
}
},
uploadHandleSuccess2(response, file, fileList) {
console.log(response)
if (response.code === 20000) {
if (this.$isBlank(this.inputQuery.instructions)) {
this.inputQuery.instructions = response.data.name;

@ -269,10 +269,7 @@ export default {
this.getList();
},
onSubmit() {
/*this.$router.push({
path: "",
query: this.query,
});*/
this.query.page = 1;
this.getList();
},
handleCurrentChange(val) {

@ -350,6 +350,7 @@ export default {
},
onSubmit() {
this.loading = true;
this.filterQuery.page = 1;
this.getList();
},
handleSizeChange(val) {

@ -344,7 +344,6 @@ export default {
this.getList();
},
handleSelectionChange(val) {
console.log(val);
this.multipleSelection = val;
},
getBusType() {

@ -81,7 +81,6 @@ export default {
});
},
selectStorage(row) {
console.log(row.id);
this.$emit("selectStorage", row);
},
},

@ -636,7 +636,6 @@ export default {
handleDetail(row) {
this.editQuery = row;
console.log(row);
},
deleteOrders(data) {
this.loading = true;
@ -725,16 +724,12 @@ export default {
mySupId: this.curRow.unitFk,
};
updateBind(query).then((response) => {
console.log(response.code + response.message)
if (response.code == 20000) {
this.$message.success("绑定成功");
this.closeBindDialog(this.curRow.id);
} else {
this.$message.error("-----503码" + response.message);
if (response.code == 503) {
this.closeBindDialog(503);
}
this.this.$message.error(response.message);
@ -748,7 +743,6 @@ export default {
},
handleSelectionChange(val) {
console.log("----" + val);
},
cancelDialog() {
@ -779,7 +773,6 @@ export default {
page: 1,
limit: 10,
};
console.log("this.editQuery.isUseDy = " + this.editQuery.isUseDy);
this.getDetailList(ttquery);
this.getThirdSysDetail();

@ -104,7 +104,6 @@ export default {
methods: {
getUnitList() {
this.loading = true;
console.log(this.unitquery);
getUnitMaintain(this.unitquery).then((response) => {
this.loading = false;
this.unitlist = response.data.page.list || [];
@ -143,7 +142,6 @@ export default {
},
mounted() {
console.log("this.codeId = " + this.codeId);
if (this.codeId != null) {
this.getUnitListByCode(this.codeId);
}

@ -602,7 +602,6 @@ export default {
this.getList();
},
handleSelectionChange(val) {
console.log(val);
this.multipleSelection = val;
},
getStorage() {
@ -719,7 +718,6 @@ export default {
this.filterQuery.customerId = store.getters.customerId;
filterOrder(this.filterQuery)
.then((response) => {
console.log(response)
this.loading = false;
this.list = response.data.list || [];
this.detailList = [];
@ -767,7 +765,6 @@ export default {
refresgOrderDetail() {
orderDetail(this.detailQuery)
.then((response) => {
console.log(response)
this.loading = false;
this.detailList = response.data || [];
})
@ -809,7 +806,6 @@ export default {
this.successOrderExportPDFSettingVisible = true;
},
successOrderExportPDF(row) {
console.log(row)
let tQuery = {
orderId: row.id,
customerId: store.getters.customerId
@ -844,7 +840,6 @@ export default {
},
selectUnit(row) {
console.log(row.id);
this.unitUpdateQuery.id = this.curIndex;
this.unitUpdateQuery.fromCorp = row.name;
this.unitUpdateQuery.fromCorpId = row.unitid;

@ -151,6 +151,7 @@ export default {
},
onSubmit() {
this.loading = true;
this.filterQuery.page = 1;
this.getList();
},
handleSizeChange(val) {

@ -177,7 +177,6 @@ export default {
},
keyup_submit(event) {
console.log("全选----");
this.getList();
event.target.select();
},

@ -521,7 +521,6 @@ export default {
return "";
},
handleErpChange(val) {
console.log(val);
this.currentRow = val;
},
intentBack() {
@ -624,11 +623,9 @@ export default {
},
handleSelectionUdiChange(val) {
console.log("----" + val);
this.multipleUdiSelection = val;
},
findMethod(query) {
console.log(query);
let cQuery = {
ylqxzcrbarmc: query,
page: 1,

@ -335,7 +335,6 @@ export default {
submitOrderWeb(tQuery)
.then((response) => {
console.log(response)
if (response.code === 20000) {
this.$message.success("提交成功");
this.closeDialog();
@ -515,7 +514,6 @@ export default {
deleteCode(index, row) {
console.log(row.id)
this.$confirm("是否确定移除一个条码?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
@ -618,7 +616,6 @@ export default {
},
//
bindRl(val) {
console.log("curRow.erpId = " + val.id);
this.curRow = val;
this.selectRlVisible = true;
},
@ -650,7 +647,6 @@ export default {
});
},
closeBindDialog(val) {
console.log("closeBindDialog" + val);
this.selectRlVisible = false;
this.dialogTableVisible = false;
},

@ -277,14 +277,6 @@ export default {
},
methods: {
onModifySubmit(formName) {
// this.$refs[formName].validate((valid) => {
// if (valid) {
// } else {
// console.log("error submit!!");
// return false;
// }
// });
this.loading = true;
modifyCompany(this.inputQuery).then((response) => {
if (response.code == 20000) {

@ -148,11 +148,8 @@ export default {
});
},
uploadHandleRemove(file, fileList) {
console.log(file, fileList);
},
uploadHandlePreview(file) {
console.log(file);
console.log(this.fileList);
},
uploadHandleExceed(files, fileList) {
this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);

@ -95,7 +95,6 @@ export default {
}).catch(() => {
});
} else {
console.log("error submit!!");
return false;
}
});

@ -148,7 +148,6 @@ export default {
},
methods: {
handleSelectionChange(val) {
console.log(val);
this.multipleSelection = val;
},
@ -214,7 +213,6 @@ export default {
this.loading = false;
})
}).catch((error) => {
console.log(error)
});
},
onDelete() {
@ -289,7 +287,6 @@ export default {
id: this.curRow.id,
relId: row.id,
};
console.log("row.relId = " + row.id);
updateCodeBindSup(query).then((response) => {
if (response.code == 20000) {
this.$message.success("绑定成功");
@ -304,7 +301,6 @@ export default {
},
closeBindDialog(val) {
console.log("closeBindDialog" + val);
this.selectRlVisible = false;
this.dialogTableVisible = false;
},

@ -293,6 +293,7 @@ export default {
},
onSubmit() {
this.loading = true;
this.filterQuery.page = 1;
this.getList();
},
handleSizeChange(val) {
@ -331,7 +332,6 @@ export default {
},
selectUnit(row) {
console.log(row.id);
this.unitUpdateQuery.id = this.curIndex;
this.unitUpdateQuery.fromCorp = row.name;
this.unitUpdateQuery.fromCorpId = row.unitId;
@ -410,10 +410,7 @@ export default {
handleErrorDetail(poistion) {
var mOrder = this.list[poistion];
var corpOrderId = mOrder.remark;
this.errorDetail = mOrder.remark;
console.log(corpOrderId + " " + mOrder + " " + mOrder.remark);
this.dialogVisible = true;
},

@ -497,7 +497,6 @@ export default {
this.getList();
},
handleSelectionChange(val) {
console.log(val);
this.multipleSelection = val;
},
geActionName(action) {
@ -580,7 +579,6 @@ export default {
this.list = response.data.list || [];
this.detailList = [];
this.total = response.data.total || 0;
console.log(this.total + "0000000000000000000");
})
.catch(() => {
this.loading = false;
@ -634,7 +632,6 @@ export default {
});
},
keyup_submit(event) {
console.log("全选----");
filterCode(this.codeQuery).then((response) => {
this.loading = false;
this.list = response.data.list || [];
@ -674,7 +671,6 @@ export default {
},
selectUnit(row) {
console.log(row.id);
this.unitUpdateQuery.id = this.curIndex;
this.unitUpdateQuery.fromCorp = row.name;
this.unitUpdateQuery.fromCorpId = row.unitId;
@ -847,7 +843,6 @@ export default {
},
uploadOrderDialog(value) {
console.log(value.id + "---" + value.orderid);
this.uploadQuery = {
orderId: value.id,
};

@ -287,6 +287,7 @@ export default {
},
onSubmit() {
this.loading = true;
this.filterQuery.page = 1;
this.getList();
},
handleSizeChange(val) {
@ -318,7 +319,6 @@ export default {
},
selectUnit(row) {
console.log(row.id);
this.unitUpdateQuery.id = this.curIndex;
this.unitUpdateQuery.fromCorp = row.name;
this.unitUpdateQuery.fromCorpId = row.unitId;

@ -28,7 +28,7 @@
icon="el-icon-refresh"
@click="onReset"
></el-button>
<el-button type="primary" icon="search" @click="getList"></el-button>
<el-button type="primary" icon="search" @click="search"></el-button>
</el-button-group>
</el-form-item>
</el-row>
@ -403,6 +403,10 @@ export default {
.catch(() => {
});
},
search() {
this.filterQuery.page = 1;
this.getList();
},
//
getList() {
this.loading = true;
@ -673,7 +677,6 @@ export default {
},
uploadOrderDialog(value) {
console.log(value.id + "---" + value.orderid);
this.uploadQuery = {
orderId: value.id
};

@ -382,11 +382,9 @@ export default {
this.loading = true;
getBasicInstrumentMaintainsFilterProduct(this.unionQuery)
.then((response) => {
console.log(response)
this.loading = false;
this.udidlList = response.data.list || [];
this.total = response.data.total || 0;
console.log(this.total)
})
.catch(() => {
this.loading = false;
@ -398,7 +396,6 @@ export default {
this.data = row;
},
keyup_submit(event) {
console.log("全选----");
this.getList();
event.target.select();
},
@ -415,7 +412,6 @@ export default {
return "";
},
handleErpChange(val) {
console.log(val);
this.currentRow = val;
},
intentBack() {
@ -451,7 +447,6 @@ export default {
},
handleSelectionUdiChange(val) {
console.log("----" + val);
this.multipleUdiSelection = val;
},
},

@ -703,7 +703,6 @@ export default {
});
},
storageChange(row) {
console.log(row);
this.formData.corpId = row.code;
this.formData.corpName = row.name;
},
@ -725,7 +724,6 @@ export default {
}
},
findStorageMethod(query) {
console.log(query);
if (this.formData.locStorageCode == null)
return;
this.fromStorageOptions = [];
@ -755,12 +753,10 @@ export default {
if (status == '3') {
tQuery.subErpOrders.forEach((obj) => {
obj.reCount = obj.count;
console.log(obj.reCount);
});
}
console.log(tQuery);
insertStockOrderWeb(tQuery)
.then(response => {
this.loading = false;
@ -840,7 +836,6 @@ export default {
this.invQueryData = {
locStorageCode: this.formData.corpId,
};
console.log("his.invQueryData " + this.invQueryData.locStorageCode);
this.selectInvProductVisible = true;
} else {
this.selectProductVisible = true;
@ -868,7 +863,6 @@ export default {
stockOrderDetailQueryProduct(tQuery).then((response) => {
this.loading = false;
console.log(response)
if (response.code === 20000) {
if (response.data.getType === "1") {
this.loading = true;
@ -922,7 +916,6 @@ export default {
rData.forEach((obj, index) => {
this.codeArray.unshift(obj);
});
console.log(this.codeArray);
this.$refs.multipleTable.setCurrentRow(this.codeArray[0]);
this.currentRow = this.codeArray[0];
this.selectedIndex = 0;
@ -936,34 +929,17 @@ export default {
this.iCount = val.count;
this.focusNext('iCount');
// let sc = this.selectedIndex + 'reCount';
// const _this = this;
// this.$nextTick(() => {
// setTimeout(function() {
// console.log(sc);
// console.log(_this.$refs[sc]);
// console.log(_this.$refs[sc].focus());
// _this.$refs[sc].focus();
// }, 1)
// // this.$refs['inputBatchNoRef'][0].focus()
// })
},
iCountChange() {
// console.log(this.iCount)
// this.currentRow.count = this.iCount;
// this.currentRow.reCount = this.iCount;
},
iCountEnterFunction() {
if (this.$isNotBlank(this.currentRow)) {
this.currentRow.count = this.iCount;
// this.currentRow.reCount = this.iCount;
}
this.focusNext('inputRef');
},
tableCountChange(row) {
if (this.$isNotBlank(row)) {
// row.count = row.reCount;
}
},
tableRowClassName({row, rowIndex}) {
@ -1182,7 +1158,6 @@ export default {
this.loading = true;
stockOrderDetail(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
@ -1230,11 +1205,8 @@ export default {
this.formData.corpName = event.name;
this.formData.corpId = event.erpId;
this.formData.unitIdFk = event.erpId;
// console.log("this.inputQuery.companyId" + item);
console.log("this.inputQuery.companyId" + event.erpId);
},
findMethod(query) {
console.log(query);
this.fromOptions = [];
let cQuery = {
key: query,
@ -1277,19 +1249,11 @@ export default {
}
},
actionChange(item) {
// console.log("item = " + item);
// if (item == '') {
// this.formData.locStorageCode == null;
// } else {
this.curAction = this.getActionItem(item);
this.formData.locStorageCode = this.curAction.storageCode;
console.log(this.curAction.corpType + "---" + this.formData.locStorageCode + "-----" + this.curAction.action);
this.findMethod();
// }
},
locInChange(item) {
console.log(item);
this.formData.locStorageCode = item;
this.$forceUpdate();
this.getBusType(item);

@ -770,7 +770,6 @@ export default {
getBusTypeByUser(query).then((res) => {
this.busTypes = res.data.list || [];
this.filterQuery.billAction = this.busTypes[0].action;
console.log(this.busTypes)
}).catch((error) => {
});
},

@ -326,6 +326,7 @@
this.actDateRange = [];
},
onSubmit() {
this.query.page = 1;
this.getList();
},
handleCurrentChange(val) {

@ -335,7 +335,6 @@ export default {
this.loading = true;
stockOrderDetail(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;

@ -162,7 +162,6 @@ export default {
methods: {
handleEdit(index, row) {
this.currentCheckIndex = index;
console.log(this.currentCheckIndex)
},
handleSave(index, row) {
this.currentCheckIndex = -1;
@ -178,7 +177,6 @@ export default {
row.forEach((item) => {
_this.multipId.push(item.id);
})
console.log(this.multipId);
},
batchSetParams(flag, type) {
if (flag == '1' && type == 'salesListNo') {
@ -251,7 +249,6 @@ export default {
this.detailLoading = true;
stockOrderDetail(this.detailQuery)
.then((response) => {
console.log(response)
this.detailLoading = false;
this.detailList = response.data.list || [];
})

@ -611,10 +611,7 @@ export default {
this.loading = true;
let tQuery = this.formData;
tQuery.status = status;
// if (!this.orderEditor) {
tQuery.subErpOrders = this.codeArray;
// }
console.log(tQuery);
insertStockOrderWeb(tQuery)
.then(response => {
this.loading = false;
@ -680,14 +677,12 @@ export default {
this.thisData.formData = this.formData;
this.selectProductVisible = true;
let item = this.getActionItem(this.formData.billType);
console.log(item.mainAction + "----" + this.formData.noInvOut);
if (item.mainAction == 'WareHouseOut' && this.formData.noInvOut != true)//
{
this.selectInvProductVisible = true;
} else {
this.selectProductVisible = true;
}
return;
}
this.code = this.code.trim();
@ -709,7 +704,6 @@ export default {
stockOrderDetailQueryProduct(tQuery).then((response) => {
this.loading = false;
console.log(response)
if (response.code === 20000) {
if (response.data.getType === "1") {
this.loading = true;
@ -729,35 +723,6 @@ export default {
}).catch(() => {
this.loading = false;
});
// let tQuery2 = {
// id: response.data.getId
// };
// if (this.orderEditor) {
// tQuery2.orderId = this.formData.id;
// console.log(tQuery2)
// addStockOrderDetailFromCodeById(tQuery2).then((response) => {
// this.loading = false;
// if (response.code === 20000) {
// this.closeDialogC2(response);
// } else {
// this.$message.error(response.message);
// }
// }).catch(() => {
// this.loading = false;
// });
// } else {
// getStockOrderDetailInstrumentById(tQuery2).then((response) => {
// this.loading = false;
// if (response.code === 20000) {
// this.closeDialogC2(response.data);
// } else {
// this.$message.error(response.message);
// }
// }).catch(() => {
// this.loading = false;
// });
// }
} else {
this.thisData = response.data;
this.thisData.code = this.code;
@ -770,7 +735,6 @@ export default {
}
} else {
this.$message.warning(response.message);
// this.focusNext('inputRef');
if (this.$isNotBlank(event)) {
event.target.select();
}
@ -786,7 +750,6 @@ export default {
this.thisData = {};
if (this.$isNotBlank(rData)) {
console.log(rData);
this.codeArray = [];
rData.forEach((obj, index) => {
if (this.codeArray.length === 0) {
@ -799,40 +762,7 @@ export default {
this.currentRow = this.codeArray[0];
this.selectedIndex = 0;
this.focusNext('iCount');
// this.closeConfirmFunction(true);
}
// if (this.orderEditor) {
// this.getStockOrderDetailList();
// if (this.$isNotBlank(rData)) {
// this.$refs.multipleTable.setCurrentRow(this.codeArray[0]);
// this.currentRow = this.codeArray[0];
// this.selectedIndex = 0;
// this.focusNext('iCount');
// }
// } else {
// if (this.$isNotBlank(rData)) {
// // for (let i = 0; i < this.codeArray.length; i++) {
// // if (this.codeArray[i].productId === rData.productId) {
// // this.$alert("", '', {
// // confirmButtonText: '',
// // type: 'warning',
// // closeOnClickModal: true,
// // callback: action => {
// // this.$refs.inputRef.focus();
// // }
// // });
// // break;
// // }
// // if (i + 1 === this.codeArray.length) {
// // this.codeArray.push(rData);
// // this.$refs.multipleTable.setCurrentRow(this.codeArray[0]);
// // this.currentRow = this.codeArray[0];
// // this.selectedIndex = 0;
// // }
// // }
// }
// }
},
rowChange(val) {
this.currentRow = val;
@ -840,23 +770,8 @@ export default {
this.iCount = val.reCount;
this.focusNext('iCount');
// let sc = this.selectedIndex + 'reCount';
// const _this = this;
// this.$nextTick(() => {
// setTimeout(function() {
// console.log(sc);
// console.log(_this.$refs[sc]);
// console.log(_this.$refs[sc].focus());
// _this.$refs[sc].focus();
// }, 1)
// // this.$refs['inputBatchNoRef'][0].focus()
// })
},
iCountChange() {
// console.log(this.iCount)
// this.currentRow.count = this.iCount;
// this.currentRow.reCount = this.iCount;
},
iCountEnterFunction() {
if (this.$isNotBlank(this.currentRow)) {
@ -867,7 +782,6 @@ export default {
},
tableCountChange(row) {
if (this.$isNotBlank(row)) {
// row.count = row.reCount;
}
},
tableRowClassName({row, rowIndex}) {
@ -889,7 +803,6 @@ export default {
};
getBasicUnitMaintains2(tQuery)
.then((response) => {
console.log(response)
this.sLoading = false;
this.sOptions = response.data.list;
})
@ -1110,7 +1023,6 @@ export default {
this.loading = true;
stockOrderDetail(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
@ -1176,7 +1088,6 @@ export default {
}
},
findStorageMethod(query) {
console.log(query);
this.fromStorageOptions = [];
let cQuery = {
key: query,

@ -338,7 +338,6 @@ export default {
this.loading = true;
stockOrderDetailTemp(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;

@ -626,12 +626,9 @@ export default {
if (status == '3') {
tQuery.subErpOrders.forEach((obj) => {
obj.reCount = obj.count;
console.log(obj.reCount);
});
}
console.log(tQuery);
insertStockOrderWeb(tQuery)
.then(response => {
this.loading = false;
@ -713,7 +710,6 @@ export default {
stockOrderDetailQueryProduct(tQuery).then((response) => {
this.loading = false;
console.log(response)
if (response.code === 20000) {
if (response.data.getType === "1") {
this.loading = true;
@ -782,33 +778,17 @@ export default {
this.focusNext('iCount');
// let sc = this.selectedIndex + 'reCount';
// const _this = this;
// this.$nextTick(() => {
// setTimeout(function() {
// console.log(sc);
// console.log(_this.$refs[sc]);
// console.log(_this.$refs[sc].focus());
// _this.$refs[sc].focus();
// }, 1)
// // this.$refs['inputBatchNoRef'][0].focus()
// })
},
iCountChange() {
// console.log(this.iCount)
// this.currentRow.count = this.iCount;
// this.currentRow.reCount = this.iCount;
},
iCountEnterFunction() {
if (this.$isNotBlank(this.currentRow)) {
this.currentRow.count = this.iCount;
// this.currentRow.reCount = this.iCount;
}
this.focusNext('inputRef');
},
tableCountChange(row) {
if (this.$isNotBlank(row)) {
// row.count = row.reCount;
}
},
tableRowClassName({row, rowIndex}) {
@ -830,7 +810,6 @@ export default {
};
getBasicUnitMaintains2(tQuery)
.then((response) => {
console.log(response)
this.sLoading = false;
this.sOptions = response.data.list;
})
@ -1050,7 +1029,6 @@ export default {
this.loading = true;
stockOrderDetail(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
@ -1095,7 +1073,6 @@ export default {
});
},
getStorage(event) {
console.log("-----" + event);
let query = {
advanceType: this.getActionName(event),
isDefault: true,

@ -216,7 +216,6 @@ export default {
this.getList();
},
handleChange(val) {
console.log(val);
this.currentRow = val;
},
handleErpPageChange(val) {
@ -233,7 +232,6 @@ export default {
this.listQuery.customerId = store.getters.customerId;
stockOrderDetailFilterProduct(this.listQuery)
.then((response) => {
console.log(response)
this.loading = false;
if (response.code === 20000) {
this.dataList = response.data.list || [];
@ -265,7 +263,6 @@ export default {
let ids = [];
selection.forEach((obj, index) => {
console.log("obj:===" + obj + "==" + obj.relIdFk)
let data = {
relId: obj.rlId,
}
@ -287,43 +284,13 @@ export default {
this.loading = false;
});
// let tQuery = {
// id: this.currentRow.id
// };
// if (this.orderEditor) {
// tQuery.orderId = this.orderId;
// console.log(tQuery)
// addStockOrderDetailFromCodeById(tQuery).then((response) => {
// this.loading = false;
// if (response.code === 20000) {
// this.closeDialog(response);
// } else {
// this.$message.error(response.message);
// }
// }).catch(() => {
// this.loading = false;
// });
// } else {
// getStockOrderDetailInstrumentById(tQuery).then((response) => {
// this.loading = false;
// if (response.code === 20000) {
// this.closeDialog(response.data);
// } else {
// this.$message.error(response.message);
// }
// }).catch(() => {
// this.loading = false;
// });
// }
},
handleSelectionUdiChange(val) {
console.log("----" + val);
this.multipleUdiSelection = val;
},
},
created() {
if (this.$isNotBlank(this.data)) {
console.log(this.data.stockOrderLists);
this.listQuery.nameCode = this.data.udi;
this.listQuery.billType = this.data.formData.billType;
this.listQuery.corpId = this.data.formData.corpId;

@ -260,7 +260,6 @@ export default {
this.loading = true;
filterPrint(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
@ -275,7 +274,6 @@ export default {
this.loading = true;
filterPrint(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;

@ -579,6 +579,7 @@ export default {
this.query.startTime = null;
this.query.endTime = null;
}
this.query.page = 1;
this.getList();
if (this.query.status === "202" || this.query.status === "502") {
this.haveDistributionVisible = true;

@ -349,7 +349,6 @@ export default {
this.loading = true;
filterPrint(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
@ -375,7 +374,6 @@ export default {
this.loading = true;
filterPrint(this.query) //
.then((response) => {
console.log(response)
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
@ -423,11 +421,8 @@ export default {
}
let count = 0;
for (let i = 0; i < tQuery.countList.length; i++) {
count = count + tQuery.countList[i].rowCount;
console.log(count);
}
console.log(count);
if (count > 100) {
stockQRCodeTextPDFFromTemplateFileMax(tQuery).then((response) => {
if (response.code == 20000) {
@ -496,7 +491,6 @@ export default {
// this.getStockOrderDetailList();
this.query.orderId = this.idQuery.id;
this.query.sOrderId = this.idQuery.id;
console.log(this.query.sOrderId);
this.getStockQRCodeTextList();
}
},

@ -364,7 +364,6 @@ export default {
orderId: this.idQuery.id,
settingData: this.formData
}
console.log(tQuery)
this.loading = true;
downloadInoutOrderSuccessPDF(tQuery).then((response) => {
//pdfurl
@ -478,23 +477,16 @@ export default {
return;
}
console.log("更新后的值:" + event)
console.log("传递的参数:" + param)
let number = event - this.cellOldWidth[param];
this.cellOldWidth[param] = event;
this.sliderChangeAlgorithm(number, param);
},
//
sliderChangeAlgorithm(number, param) {
console.log("----------------------------")
console.log("更新后的值:" + number)
console.log("传递的参数:" + param)
this.nowWidth = 0;
this.nowNumber = number;
for (; this.nowNumber !== 0;) {
console.log("num ber:" + this.nowNumber)
if (this.nowNumber < 0) {
console.log("this.nowWidth:" + this.nowWidth)
if (this.nowNumber === 0) break;
this.sliderChangeAdd('numberEnable', 'numberWidth', param);
if (this.nowNumber === 0) break;
@ -527,11 +519,9 @@ export default {
} else {
break;
}
console.log("number:" + number)
}
},
sliderChangeAdd(paramEnable, paramWidth, nowParamWidth) {
console.log("++++++++++++++ 更新后的值: " + this.nowNumber)
if (this.formData[paramEnable] && paramWidth !== nowParamWidth
&& this.formData[paramWidth] < this.tableCellMaxWidth) {
if (this.nowNumber === 0) return;
@ -548,7 +538,6 @@ export default {
}
},
sliderChangeDelete(paramEnable, paramWidth, nowParamWidth) {
console.log("-------------- 更新后的值: " + this.nowNumber)
if (this.formData[paramEnable] && paramWidth !== nowParamWidth
&& this.formData[paramWidth] > this.tableCellMinWidth) {
if (this.nowNumber === 0) return;

Loading…
Cancel
Save