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) { export function loginName(username, password) {
console.log(username + " " + password);
return axios({ return axios({
url: "/login", url: "/login",
method: "post", method: "post",

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -611,10 +611,7 @@ export default {
this.loading = true; this.loading = true;
let tQuery = this.formData; let tQuery = this.formData;
tQuery.status = status; tQuery.status = status;
// if (!this.orderEditor) {
tQuery.subErpOrders = this.codeArray; tQuery.subErpOrders = this.codeArray;
// }
console.log(tQuery);
insertStockOrderWeb(tQuery) insertStockOrderWeb(tQuery)
.then(response => { .then(response => {
this.loading = false; this.loading = false;
@ -680,14 +677,12 @@ export default {
this.thisData.formData = this.formData; this.thisData.formData = this.formData;
this.selectProductVisible = true; this.selectProductVisible = true;
let item = this.getActionItem(this.formData.billType); let item = this.getActionItem(this.formData.billType);
console.log(item.mainAction + "----" + this.formData.noInvOut);
if (item.mainAction == 'WareHouseOut' && this.formData.noInvOut != true)// if (item.mainAction == 'WareHouseOut' && this.formData.noInvOut != true)//
{ {
this.selectInvProductVisible = true; this.selectInvProductVisible = true;
} else { } else {
this.selectProductVisible = true; this.selectProductVisible = true;
} }
return; return;
} }
this.code = this.code.trim(); this.code = this.code.trim();
@ -709,7 +704,6 @@ export default {
stockOrderDetailQueryProduct(tQuery).then((response) => { stockOrderDetailQueryProduct(tQuery).then((response) => {
this.loading = false; this.loading = false;
console.log(response)
if (response.code === 20000) { if (response.code === 20000) {
if (response.data.getType === "1") { if (response.data.getType === "1") {
this.loading = true; this.loading = true;
@ -729,35 +723,6 @@ export default {
}).catch(() => { }).catch(() => {
this.loading = false; 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 { } else {
this.thisData = response.data; this.thisData = response.data;
this.thisData.code = this.code; this.thisData.code = this.code;
@ -770,7 +735,6 @@ export default {
} }
} else { } else {
this.$message.warning(response.message); this.$message.warning(response.message);
// this.focusNext('inputRef');
if (this.$isNotBlank(event)) { if (this.$isNotBlank(event)) {
event.target.select(); event.target.select();
} }
@ -786,7 +750,6 @@ export default {
this.thisData = {}; this.thisData = {};
if (this.$isNotBlank(rData)) { if (this.$isNotBlank(rData)) {
console.log(rData);
this.codeArray = []; this.codeArray = [];
rData.forEach((obj, index) => { rData.forEach((obj, index) => {
if (this.codeArray.length === 0) { if (this.codeArray.length === 0) {
@ -799,40 +762,7 @@ export default {
this.currentRow = this.codeArray[0]; this.currentRow = this.codeArray[0];
this.selectedIndex = 0; this.selectedIndex = 0;
this.focusNext('iCount'); 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) { rowChange(val) {
this.currentRow = val; this.currentRow = val;
@ -840,23 +770,8 @@ export default {
this.iCount = val.reCount; this.iCount = val.reCount;
this.focusNext('iCount'); 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() { iCountChange() {
// console.log(this.iCount)
// this.currentRow.count = this.iCount;
// this.currentRow.reCount = this.iCount;
}, },
iCountEnterFunction() { iCountEnterFunction() {
if (this.$isNotBlank(this.currentRow)) { if (this.$isNotBlank(this.currentRow)) {
@ -867,7 +782,6 @@ export default {
}, },
tableCountChange(row) { tableCountChange(row) {
if (this.$isNotBlank(row)) { if (this.$isNotBlank(row)) {
// row.count = row.reCount;
} }
}, },
tableRowClassName({row, rowIndex}) { tableRowClassName({row, rowIndex}) {
@ -889,7 +803,6 @@ export default {
}; };
getBasicUnitMaintains2(tQuery) getBasicUnitMaintains2(tQuery)
.then((response) => { .then((response) => {
console.log(response)
this.sLoading = false; this.sLoading = false;
this.sOptions = response.data.list; this.sOptions = response.data.list;
}) })
@ -1110,7 +1023,6 @@ export default {
this.loading = true; this.loading = true;
stockOrderDetail(this.query) // stockOrderDetail(this.query) //
.then((response) => { .then((response) => {
console.log(response)
this.codeArray = response.data.list || []; this.codeArray = response.data.list || [];
this.total = response.data.total || 0; this.total = response.data.total || 0;
this.loading = false; this.loading = false;
@ -1176,7 +1088,6 @@ export default {
} }
}, },
findStorageMethod(query) { findStorageMethod(query) {
console.log(query);
this.fromStorageOptions = []; this.fromStorageOptions = [];
let cQuery = { let cQuery = {
key: query, key: query,

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

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

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

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

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

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

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

Loading…
Cancel
Save