Browse Source

BUG修改

branch_ccpg_220107
songnan.zhang 3 years ago
parent
commit
14b1b29947
  1. 2
      vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue
  2. 2
      vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue
  3. 2
      vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue
  4. 2
      vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue
  5. 2
      vue/src/views/pg-fis/basedate/m100Online/detail.vue
  6. 2
      vue/src/views/pg-fis/basedate/m100Online/detailMB.vue
  7. 2
      vue/src/views/pg-fis/basedate/m100Online/detailZHB.vue
  8. 139
      vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
  9. 2
      vue/src/views/pg-fis/basedate/unknownAssembly/index copy.vue

2
vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue

@ -777,7 +777,7 @@ export default {
} }
}, },
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); //this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },

2
vue/src/views/pg-fis/basedate/m100Online/RepetitionZHB.vue

@ -678,7 +678,7 @@ export default {
} }
}, },
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); //this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },

2
vue/src/views/pg-fis/basedate/m100Online/ScrapMB.vue

@ -721,7 +721,7 @@ export default {
} }
}, },
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); //this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },

2
vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue

@ -739,7 +739,7 @@ export default {
} }
}, },
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); //this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },

2
vue/src/views/pg-fis/basedate/m100Online/detail.vue

@ -340,7 +340,7 @@ export default {
} }
}, },
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); //this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },
}, },

2
vue/src/views/pg-fis/basedate/m100Online/detailMB.vue

@ -735,7 +735,7 @@ export default {
} }
}, },
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); //this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },

2
vue/src/views/pg-fis/basedate/m100Online/detailZHB.vue

@ -716,7 +716,7 @@ export default {
} }
}, },
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); //this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },

139
vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue

@ -494,7 +494,7 @@ export default {
ProductLine: undefined, ProductLine: undefined,
BillStatus: undefined, BillStatus: undefined,
CanNotPrint: false, CanNotPrint: false,
ZHBBillStatus:undefined, ZHBBillStatus: undefined,
}, },
listExportQuery: { listExportQuery: {
erpAssemblyCode: undefined, erpAssemblyCode: undefined,
@ -1020,7 +1020,7 @@ export default {
} }
}, },
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); //this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },
@ -1085,6 +1085,7 @@ export default {
// //
this.hostSNQuery.isZhuHuBan = "1"; this.hostSNQuery.isZhuHuBan = "1";
console.log("柱护板hostsn2参数" + JSON.stringify(this.hostSNQuery)); console.log("柱护板hostsn2参数" + JSON.stringify(this.hostSNQuery));
this.$axios this.$axios
.gets( .gets(
"/api/newjit/bill-m100/get-print-start-hostsn2", "/api/newjit/bill-m100/get-print-start-hostsn2",
@ -1278,7 +1279,7 @@ export default {
this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN);
this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN);
this.hostCheckQuery.productLine = this.listQuery.productLine; this.hostCheckQuery.productLine = this.listQuery.productLine;
console.log("检查柱护板-hostCheckQuery"+JSON.stringify(this.hostCheckQuery));
this.$axios this.$axios
.posts( .posts(
"/api/newjit/bill-m100/check-mb-hostsn-break-num", "/api/newjit/bill-m100/check-mb-hostsn-break-num",
@ -1395,18 +1396,18 @@ export default {
} }
}); });
} else if (this.listQuery.productType === 2) { } else if (this.listQuery.productType === 2) {
// //
this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN);
this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN);
this.hostCheckQuery.productLine = this.listQuery.productLine; this.hostCheckQuery.productLine = this.listQuery.productLine;
this.$axios this.$axios
.posts( .posts(
"/api/newjit/bill-m100/check-zhb-hostsn-break-num", "/api/newjit/bill-m100/check-zhb-hostsn-break-num",
this.hostCheckQuery this.hostCheckQuery
) )
.then((response) => { .then((response) => {
console.log("检查柱护板-大众顺序号是否断号"); console.log("检查板-大众顺序号是否断号");
if (response.item.length > 0) { if (response.item.length > 0) {
// //
this.$confirm( this.$confirm(
@ -1453,14 +1454,18 @@ export default {
.then((response) => { .then((response) => {
console.log("获取文件base64编码"); console.log("获取文件base64编码");
console.log(response); console.log(response);
this.formLoading = false;
this.printpdf(response); // this.printpdf(response); //
})
.catch((error) => {
this.formLoading = false;
}); });
} }
}); });
}) })
.catch(() => {}); .catch(() => {});
} // } else {
else { //
// //
// //
this.$axios this.$axios
@ -1494,7 +1499,11 @@ export default {
.then((response) => { .then((response) => {
console.log("获取文件base64编码"); console.log("获取文件base64编码");
console.log(response); console.log(response);
this.formLoading = false;
this.printpdf(response); // this.printpdf(response); //
})
.catch((error) => {
this.formLoading = false;
}); });
} }
}) })
@ -1507,6 +1516,118 @@ export default {
}); });
} }
}); });
//
// this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN);
// this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN);
// this.hostCheckQuery.productLine = this.listQuery.productLine;
// this.$axios
// .posts(
// "/api/newjit/bill-m100/check-zhb-hostsn-break-num",
// this.hostCheckQuery
// )
// .then((response) => {
// console.log("-");
// if (response.item.length > 0) {
// //
// this.$confirm(
// "?" + response.item,
// "",
// {
// confirmButtonText: "",
// cancelButtonText: "",
// type: "warning",
// }
// )
// .then(() => {
// //
// //
// this.$axios
// .posts(
// "/api/newjit/bill-m100/print-zhuhuban-packing-list",
// this.hostPrintQuery
// )
// .then((response) => {
// console.log("");
// console.log(response);
// console.log(response.status);
// if (response.status === false) {
// this.$message({
// message: response.message,
// type: "error",
// });
// return;
// } else {
// //grid++jsonbase64
// //this.fileQuery.report = "menban";
// this.fileQuery.dataname = JSON.stringify(
// response.item
// );
// //this.fileQuery.dataname = "";
// console.log("json");
// console.log(this.fileQuery.dataname);
// this.$axios
// .posts(
// "/Handlers/Handler1.ashx?report=menban",
// qs.stringify(this.fileQuery)
// )
// .then((response) => {
// console.log("base64");
// console.log(response);
// this.printpdf(response); //
// });
// }
// });
// })
// .catch(() => {});
// } //
// else {
// //
// //
// this.$axios
// .posts(
// "/api/newjit/bill-m100/print-zhuhuban-packing-list",
// this.hostPrintQuery
// )
// .then((response) => {
// console.log("");
// console.log(response);
// if (response.status === false) {
// this.$message({
// message: response.message,
// type: "error",
// });
// return;
// } else {
// //grid++jsonbase64
// //this.fileQuery.report = "menban";
// this.fileQuery.dataname = JSON.stringify(
// response.item
// );
// //this.fileQuery.dataname = "";
// console.log("json");
// console.log(this.fileQuery.dataname);
// this.$axios
// .posts(
// "/Handlers/Handler1.ashx?report=menban",
// qs.stringify(this.fileQuery)
// )
// .then((response) => {
// console.log("base64");
// console.log(response);
// this.printpdf(response); //
// });
// }
// })
// .catch(() => {
// this.$message({
// message: response.message,
// type: "error",
// });
// return;
// });
// }
// });
} }
} else { } else {
/**接口1获取打印数据,接口2获得grid++模板的base64编码 */ /**接口1获取打印数据,接口2获得grid++模板的base64编码 */
@ -2038,10 +2159,8 @@ export default {
} }
if (this.listQuery.productType === 2) { if (this.listQuery.productType === 2) {
this.listQueryList.ZHBBillStatus = 2; this.listQueryList.ZHBBillStatus = 2;
} else { } else {
this.listQueryList.ZHBBillStatus = 0; this.listQueryList.ZHBBillStatus = 0;
} }
}, },
/*单据状态变更 */ /*单据状态变更 */

2
vue/src/views/pg-fis/basedate/unknownAssembly/index copy.vue

@ -940,7 +940,7 @@ export default {
if(this.data2.length !==0) if(this.data2.length !==0)
{ {
this.$message({ this.$message({
message: "还有结算价代码尚未匹配", message: "还有代码尚未匹配",
type: "error", type: "error",
}); });
return; return;

Loading…
Cancel
Save