安虹睿 1 year ago
parent
commit
bd8156713c
  1. 3
      vue/src/router/index.js
  2. 4
      vue/src/views/pg-fis/basedate/m100BIll/detail.vue
  3. 4
      vue/src/views/pg-fis/basedate/m100BIll/index.vue
  4. 4
      vue/src/views/pg-fis/basedate/m100Online/ScrapZHB.vue
  5. 7
      vue/src/views/pg-fis/basedate/m100Online/budaZHB.vue
  6. 5
      vue/src/views/pg-fis/basedate/m100Online/detail.vue
  7. 1
      vue/src/views/pg-fis/basedate/m100Online/index-old.vue
  8. 1
      vue/src/views/pg-fis/basedate/m100Online/index.vue
  9. 13
      vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
  10. 4
      vue/src/views/pg-fis/basedate/r100Online/detail.vue
  11. 1
      vue/src/views/pg-fis/basedate/r100Online/index.vue
  12. 4
      vue/src/views/pg-fis/basedate/select/detail.vue
  13. 13
      vue/src/views/pg-fis/basedate/select/index.vue

3
vue/src/router/index.js

@ -70,6 +70,9 @@ export const constantRoutes = [
//component: () => import('@/views/pg-fis/basedate/unknownAssembly'), //?? one //component: () => import('@/views/pg-fis/basedate/unknownAssembly'), //?? one
// component: () => import('@/views/pg-fis/basedate/m100Online/normalPritIndex.vue'), // component: () => import('@/views/pg-fis/basedate/m100Online/normalPritIndex.vue'),
//component: () => import('@/views/pg-fis/basedate/select'), //M100查询 //component: () => import('@/views/pg-fis/basedate/select'), //M100查询
//component: () => import('@/views/pg-fis/basedate/m100BIll'), //M100单据信息维护
//component: () => import('@/views/pg-fis/basedate/r100Online'), //R100上线信息
//component: () => import('@/views/pg-fis/basedate/customerPartCfg'), //客户零件管理
}, },
{ {
path: '/auth-redirect', path: '/auth-redirect',

4
vue/src/views/pg-fis/basedate/m100BIll/detail.vue

@ -148,6 +148,7 @@ export default {
searchContent: "", // searchContent: "", //
customerInfo: { customerInfo: {
parentId: "", parentId: "",
billId: ""
}, },
form: { form: {
dicDetailID: "", dicDetailID: "",
@ -206,6 +207,7 @@ export default {
} else { } else {
newVal.forEach((element) => { newVal.forEach((element) => {
this.customerInfo.parentId = element.ParentId; this.customerInfo.parentId = element.ParentId;
this.customerInfo.billId = element.BillId;
}); });
if (this.customerInfo.parentId != "") { if (this.customerInfo.parentId != "") {
this.getList(); this.getList();
@ -270,7 +272,7 @@ export default {
this.listLoading = true; this.listLoading = true;
console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId)); console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId));
//alert("" + JSON.stringify(this.customerInfo.parentId)); //alert("" + JSON.stringify(this.customerInfo.parentId));
let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId }; let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId, billId: this.customerInfo.billId };
this.$axios this.$axios
.gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId) .gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId)
.then((response) => { .then((response) => {

4
vue/src/views/pg-fis/basedate/m100BIll/index.vue

@ -43,14 +43,13 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="大众工位" prop="fwStation"> <el-form-item label="大众工位" prop="fwStation" v-show="listQuery.productType == 2">
<el-select <el-select
v-model="listQuery.fwStation" v-model="listQuery.fwStation"
clearable clearable
placeholder="请选择" placeholder="请选择"
size="medium" size="medium"
style="margin-right: 15px" style="margin-right: 15px"
@change="ptypeselectChange"
> >
<el-option <el-option
v-for="item in fwStationList" v-for="item in fwStationList"
@ -833,6 +832,7 @@ export default {
this.customerInfos = [ this.customerInfos = [
{ {
ParentId: parentId, ParentId: parentId,
BillId: param.id
}, },
]; ];
}, },

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

@ -312,7 +312,7 @@ export default {
customerInfo: { customerInfo: {
printType: "1", printType: "1",
productLine: "", productLine: "",
fwStation: "" fwStation: ""
}, },
// //
filterObj: { filterObj: {
@ -417,7 +417,7 @@ export default {
getDefaultField() { getDefaultField() {
var tempsTabs = []; var tempsTabs = [];
tempsTabs.push({ label: "装箱单号", prop: "billNum", width: 140 }); tempsTabs.push({ label: "装箱单号", prop: "billNum", width: 140 });
tempsTabs.push({ label: "单据顺号", prop: "billSerialNum", width: 120 }); //tempsTabs.push({ label: "", prop: "billSerialNum", width: 120 });
tempsTabs.push({ label: "起始顺序号", prop: "beginHostSN", width: 120 }); tempsTabs.push({ label: "起始顺序号", prop: "beginHostSN", width: 120 });
tempsTabs.push({ label: "结束顺序号", prop: "endHostSN", width: 120 }); tempsTabs.push({ label: "结束顺序号", prop: "endHostSN", width: 120 });
tempsTabs.push({ tempsTabs.push({

7
vue/src/views/pg-fis/basedate/m100Online/budaZHB.vue

@ -218,7 +218,7 @@ export default {
customerInfo: { customerInfo: {
printType: "", printType: "",
productLine: "", productLine: "",
fwStation: "" fwStation: ""
}, },
// //
filterObj: { filterObj: {
@ -567,6 +567,7 @@ export default {
debugger debugger
// //
// //
let _this = this;
this.$axios this.$axios
.posts( .posts(
"/api/newjit/bill-m100/save-zhuhuban-report", "/api/newjit/bill-m100/save-zhuhuban-report",
@ -611,12 +612,14 @@ export default {
this.fileQuery.dataname = JSON.stringify( this.fileQuery.dataname = JSON.stringify(
response.item response.item
); );
//this.fileQuery.dataname = ""; //this.fileQuery.dataname = "";
console.log("打印json"); console.log("打印json");
console.log(this.fileQuery.dataname); console.log(this.fileQuery.dataname);
this.$axios this.$axios
.posts( .posts(
"/Handlers/Handler1.ashx?report=zhuhuban", //"/Handlers/Handler1.ashx?report=zhuhuban",
"/Handlers/Handler1.ashx?report=zhuhuban_" + _this.customerInfo.productLine + '-' + _this.customerInfo.fwStation,
qs.stringify(this.fileQuery) qs.stringify(this.fileQuery)
) )
.then((response) => { .then((response) => {

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

@ -148,6 +148,7 @@ export default {
searchContent: "", // searchContent: "", //
customerInfo: { customerInfo: {
parentId: "", parentId: "",
billId: ""
}, },
form: { form: {
dicDetailID: "", dicDetailID: "",
@ -201,11 +202,13 @@ export default {
watch: { watch: {
customerInfos: { customerInfos: {
handler(newVal) { handler(newVal) {
debugger
if (newVal == "" || newVal == "undefined") { if (newVal == "" || newVal == "undefined") {
//TODO //TODO
} else { } else {
newVal.forEach((element) => { newVal.forEach((element) => {
this.customerInfo.parentId = element.ParentId; this.customerInfo.parentId = element.ParentId;
this.customerInfo.billId = element.BillId;
}); });
if (this.customerInfo.parentId != "") { if (this.customerInfo.parentId != "") {
this.getList(); this.getList();
@ -270,7 +273,7 @@ export default {
this.listLoading = true; this.listLoading = true;
console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId)); console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId));
//alert("" + JSON.stringify(this.customerInfo.parentId)); //alert("" + JSON.stringify(this.customerInfo.parentId));
let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId }; let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId, billId: this.customerInfo.billId };
this.$axios this.$axios
.gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId) .gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId)
.then((response) => { .then((response) => {

1
vue/src/views/pg-fis/basedate/m100Online/index-old.vue

@ -702,6 +702,7 @@ export default {
this.customerInfos = [ this.customerInfos = [
{ {
ParentId: parentId, ParentId: parentId,
BillId: param.id
}, },
]; ];
}, },

1
vue/src/views/pg-fis/basedate/m100Online/index.vue

@ -737,6 +737,7 @@ export default {
this.customerInfos = [ this.customerInfos = [
{ {
ParentId: parentId, ParentId: parentId,
BillId: param.id
}, },
]; ];
}, },

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

@ -1,4 +1,5 @@
<!--日常打印M100信息模块--> <!--日常打印M100信息模块-->
<!--日常打印M100信息模块-->
<template> <template>
<div class="cr-body-content"> <div class="cr-body-content">
<div ref="box"> <div ref="box">
@ -813,7 +814,7 @@ export default {
if (JKITEM.productLine == "01") { if (JKITEM.productLine == "01") {
this.$refs.sp01.Visible = true; this.$refs.sp01.Visible = true;
this.content01 = this.content01 =
"01生产线已经" + "大众一厂已经" +
JKITEM.timeoutMinutes + JKITEM.timeoutMinutes +
"分钟没收到报文\xa0\xa0\xa0\xa0"; "分钟没收到报文\xa0\xa0\xa0\xa0";
if (JKITEM.timeoutMinutes >= JKITEM.configMinutes) { if (JKITEM.timeoutMinutes >= JKITEM.configMinutes) {
@ -830,7 +831,7 @@ export default {
if (JKITEM.productLine == "02") { if (JKITEM.productLine == "02") {
this.$refs.sp05.Visible = true; this.$refs.sp05.Visible = true;
this.content05 = this.content05 =
"02生产线已经" + "大众二厂已经" +
JKITEM.timeoutMinutes + JKITEM.timeoutMinutes +
"分钟没收到报文\xa0\xa0\xa0\xa0"; "分钟没收到报文\xa0\xa0\xa0\xa0";
if (JKITEM.timeoutMinutes >= JKITEM.configMinutes) { if (JKITEM.timeoutMinutes >= JKITEM.configMinutes) {
@ -1020,6 +1021,7 @@ export default {
}, },
// //
handleDrawerOpen(param) { handleDrawerOpen(param) {
debugger
this.drawer = true; this.drawer = true;
//console.log(510) //console.log(510)
//console.log(param) //console.log(param)
@ -1027,9 +1029,11 @@ export default {
this.customerInfos = [ this.customerInfos = [
{ {
ParentId: parentId, ParentId: parentId,
BillId: param.id
}, },
]; ];
}, },
handleDrawerClose(done) { handleDrawerClose(done) {
done(); done();
}, },
@ -1247,7 +1251,7 @@ export default {
{ {
PrintType: 1, PrintType: 1,
ProductLine: val, ProductLine: val,
fwStation: this.listQuery.fwStation fwStation: this.listQuery.fwStation
}, },
]; ];
} }
@ -1551,8 +1555,7 @@ export default {
// //
if ( if (
parseInt(this.form.endHostSN) - parseInt(this.form.endHostSN) -
parseInt(this.form.beginHostSN) <= parseInt(this.form.beginHostSN) < 0
0
) { ) {
this.$message({ this.$message({
message: "起止大众顺序号相减不能为零!", message: "起止大众顺序号相减不能为零!",

4
vue/src/views/pg-fis/basedate/r100Online/detail.vue

@ -148,6 +148,7 @@ export default {
searchContent: "", // searchContent: "", //
customerInfo: { customerInfo: {
parentId: "", parentId: "",
billId: ""
}, },
form: { form: {
dicDetailID: "", dicDetailID: "",
@ -206,6 +207,7 @@ export default {
} else { } else {
newVal.forEach((element) => { newVal.forEach((element) => {
this.customerInfo.parentId = element.ParentId; this.customerInfo.parentId = element.ParentId;
this.customerInfo.billId = element.BillId;
}); });
if (this.customerInfo.parentId != "") { if (this.customerInfo.parentId != "") {
this.getList(); this.getList();
@ -270,7 +272,7 @@ export default {
this.listLoading = true; this.listLoading = true;
console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId)); console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId));
//alert("" + JSON.stringify(this.customerInfo.parentId)); //alert("" + JSON.stringify(this.customerInfo.parentId));
let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId }; let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId, billId: this.customerInfo.billId };
this.$axios this.$axios
.gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId) .gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId)
.then((response) => { .then((response) => {

1
vue/src/views/pg-fis/basedate/r100Online/index.vue

@ -501,6 +501,7 @@ export default {
this.customerInfos = [ this.customerInfos = [
{ {
ParentId: parentId, ParentId: parentId,
BillId: param.id
}, },
]; ];
}, },

4
vue/src/views/pg-fis/basedate/select/detail.vue

@ -148,6 +148,7 @@ export default {
searchContent: "", // searchContent: "", //
customerInfo: { customerInfo: {
parentId: "", parentId: "",
billId: ""
}, },
form: { form: {
dicDetailID: "", dicDetailID: "",
@ -206,6 +207,7 @@ export default {
} else { } else {
newVal.forEach((element) => { newVal.forEach((element) => {
this.customerInfo.parentId = element.ParentId; this.customerInfo.parentId = element.ParentId;
this.customerInfo.billId = element.BillId;
}); });
if (this.customerInfo.parentId != "") { if (this.customerInfo.parentId != "") {
this.getList(); this.getList();
@ -270,7 +272,7 @@ export default {
this.listLoading = true; this.listLoading = true;
console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId)); console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId));
//alert("" + JSON.stringify(this.customerInfo.parentId)); //alert("" + JSON.stringify(this.customerInfo.parentId));
let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId }; let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId, billId: this.customerInfo.billId };
this.$axios this.$axios
.gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId) .gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId)
.then((response) => { .then((response) => {

13
vue/src/views/pg-fis/basedate/select/index.vue

@ -635,12 +635,12 @@ export default {
}); });
tempsTabs.push({ tempsTabs.push({
label: "柱护板状态BA2", label: "柱护板状态BA2",
prop: "BA2", prop: "bA2",
width: 120, width: 120,
}); });
tempsTabs.push({ tempsTabs.push({
label: "柱护板状态BA5", label: "柱护板状态BA5",
prop: "BA5", prop: "bA5",
width: 120, width: 120,
}); });
tempsTabs.push({ tempsTabs.push({
@ -677,6 +677,7 @@ export default {
this.customerInfos = [ this.customerInfos = [
{ {
ParentId: parentId, ParentId: parentId,
BillId: param.id
}, },
]; ];
}, },
@ -802,6 +803,14 @@ export default {
if (column.property === "billStatus") { if (column.property === "billStatus") {
return { 1: "未匹配", 2: "未打印", 3: "已打印" }[row[column.property]]; return { 1: "未匹配", 2: "未打印", 3: "已打印" }[row[column.property]];
} }
if (column.property === "bA2") {
return { null: "未打印", 0: "未打印", 1: "已打印" }[row[column.property]];
}
if (column.property === "bA5") {
return { null: "未打印", 0: "未打印", 1: "已打印" }[row[column.property]];
}
if (column.property == "onlineTime" || column.property == "receiveTime") { if (column.property == "onlineTime" || column.property == "receiveTime") {
var date = row[column.property]; var date = row[column.property];
if (date == undefined) { if (date == undefined) {

Loading…
Cancel
Save