|
|
@ -34,22 +34,19 @@ |
|
|
|
<el-button ref="btn1" type="primary" size="mini" style="margin-left: 15px" @click="print()">打印门板发货排序单 |
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button v-show="false" @click="drawerMBPrint = true" size="mini" type="warning" plain> |
|
|
|
<el-button v-show="this.listQuery.productType !== 2" @click="drawerMBReprint = true" size="mini" type="warning" plain> |
|
|
|
<strong>重新打印门板</strong></el-button> |
|
|
|
<el-button v-show="false" @click="drawerbudaMBPrint = true" size="mini" type="warning" plain> |
|
|
|
<el-button v-show="this.listQuery.productType !== 2" @click="drawerbudaMBPrint = true" size="mini" type="warning" plain> |
|
|
|
<strong>门板补打</strong></el-button> |
|
|
|
<el-button v-show="false" @click="drawerMBDelete = true" size="mini" type="danger" plain><strong>门板作废</strong></el-button> |
|
|
|
<el-button v-show="this.listQuery.productType !== 2" @click="drawerMBDelete = true" size="mini" type="danger" plain> |
|
|
|
<strong>门板作废</strong></el-button> |
|
|
|
|
|
|
|
<el-button v-show="this.listQuery.productType === 2" @click="drawerZHBPrint = true" size="mini" type="warning" |
|
|
|
<el-button v-show="this.listQuery.productType === 2" @click="drawerZHBReprint = true" size="mini" type="warning" |
|
|
|
plain> |
|
|
|
<strong>重新打印柱护板</strong></el-button> |
|
|
|
|
|
|
|
|
|
|
|
<el-button v-show="this.listQuery.productType === 2" @click="drawerbudaZHBPrint = true" size="mini" type="warning" |
|
|
|
plain> |
|
|
|
<strong>柱护板补打</strong></el-button> |
|
|
|
|
|
|
|
|
|
|
|
<el-button v-show="this.listQuery.productType === 2" @click="drawerZHBDelete = true" size="mini" type="danger" |
|
|
|
plain><strong>柱护板作废</strong></el-button> |
|
|
|
<!-- <el-button icon="el-icon-refresh" size="mini" @click="open()" |
|
|
@ -81,31 +78,28 @@ |
|
|
|
</flexbox> |
|
|
|
</div> |
|
|
|
<!--门板重打--> |
|
|
|
<el-drawer title="门板重新打印" :visible.sync="drawerMBPrint" direction="rtl" size="65%"> |
|
|
|
<el-drawer title="门板重新打印" :visible.sync="drawerMBReprint" direction="rtl" size="65%"> |
|
|
|
<RepetitionMB v-bind:customerInfosMB="customerInfosMB"></RepetitionMB> |
|
|
|
</el-drawer> |
|
|
|
<!--门板补打--> |
|
|
|
<el-drawer title="门板补打" :visible.sync="drawerbudaMBPrint" direction="rtl" size="65%"> |
|
|
|
<budaMB v-bind:customerInfosMB="customerInfosMB"></budaMB> |
|
|
|
</el-drawer> |
|
|
|
<!--门板作废--> |
|
|
|
<el-drawer title="门板作废" :visible.sync="drawerMBDelete" direction="rtl" @open="opens()" size="65%"> |
|
|
|
<ScrapMB v-bind:customerInfosMB="customerInfosMB"></ScrapMB> |
|
|
|
</el-drawer> |
|
|
|
<!--柱护板重打--> |
|
|
|
<el-drawer title="柱护板重新打印" :visible.sync="drawerZHBPrint" direction="rtl" size="65%"> |
|
|
|
<el-drawer title="柱护板重新打印" :visible.sync="drawerZHBReprint" direction="rtl" size="65%"> |
|
|
|
<RepetitionZHB v-bind:customerInfosZHB="customerInfosZHB"></RepetitionZHB> |
|
|
|
</el-drawer> |
|
|
|
|
|
|
|
|
|
|
|
<!--门板补打--> |
|
|
|
<el-drawer title="门板补打" :visible.sync="drawerbudaMBPrint" direction="rtl" size="65%"> |
|
|
|
<budaMB v-bind:customerInfosMB="customerInfosMB"></budaMB> |
|
|
|
</el-drawer> |
|
|
|
<!--柱护板补打--> |
|
|
|
<el-drawer title="柱护板补打" :visible.sync="drawerbudaZHBPrint" direction="rtl" size="65%"> |
|
|
|
<budaZHB v-bind:customerInfosZHB="customerInfosZHB"></budaZHB> |
|
|
|
</el-drawer> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--柱护板重打和作废--> |
|
|
|
<!--门板作废--> |
|
|
|
<el-drawer title="门板作废" :visible.sync="drawerMBDelete" direction="rtl" @open="opens()" size="65%"> |
|
|
|
<ScrapMB v-bind:customerInfosMB="customerInfosMB"></ScrapMB> |
|
|
|
</el-drawer> |
|
|
|
<!--柱护板作废--> |
|
|
|
<el-drawer title="柱护板作废" :visible.sync="drawerZHBDelete" direction="rtl" size="65%"> |
|
|
|
<ScrapZHB v-bind:customerInfosZHB="customerInfosZHB"></ScrapZHB> |
|
|
|
</el-drawer> |
|
|
@ -213,16 +207,18 @@ |
|
|
|
} from "vuex"; |
|
|
|
import moment from "moment"; |
|
|
|
import Detail from "./detail.vue"; |
|
|
|
import MBDetail from "./detailMB.vue"; |
|
|
|
import ZHBDetail from "./detailZHB.vue"; |
|
|
|
// import MBDetail from "./detailMB.vue"; |
|
|
|
// import ZHBDetail from "./detailZHB.vue"; |
|
|
|
import { |
|
|
|
downloadFile |
|
|
|
} from "@/utils/crmindex.js"; |
|
|
|
import qs from "qs"; |
|
|
|
import RepetitionMB from "./RepetitionMB.vue"; |
|
|
|
import RepetitionZHB from "./RepetitionZHB.vue"; |
|
|
|
|
|
|
|
import budaMB from "./budaMB.vue"; |
|
|
|
import budaZHB from "./budaZHB.vue"; |
|
|
|
import RepetitionZHB from "./RepetitionZHB.vue"; |
|
|
|
|
|
|
|
import ScrapMB from "./ScrapMB.vue"; |
|
|
|
import ScrapZHB from "./ScrapZHB.vue"; |
|
|
|
import { |
|
|
@ -236,8 +232,8 @@ |
|
|
|
CRMTableHead, |
|
|
|
importExcel, |
|
|
|
Detail, |
|
|
|
MBDetail, |
|
|
|
ZHBDetail, |
|
|
|
// MBDetail, |
|
|
|
// ZHBDetail, |
|
|
|
RepetitionMB, |
|
|
|
RepetitionZHB, |
|
|
|
ScrapMB, |
|
|
@ -279,11 +275,13 @@ |
|
|
|
crmType: "M100Online", |
|
|
|
//productLineList:null, |
|
|
|
isDisable: false, |
|
|
|
drawerMBPrint: false, |
|
|
|
drawerMBReprint: false, //显示门板重新打印 |
|
|
|
drawerZHBReprint: false, |
|
|
|
|
|
|
|
drawerbudaMBPrint: false, |
|
|
|
drawerbudaZHBPrint: false, //显示补打柱护板 |
|
|
|
drawerMBDelete: false, |
|
|
|
drawerZHBPrint: false, |
|
|
|
|
|
|
|
drawerMBDelete: false, //显示门板报废 |
|
|
|
drawerZHBDelete: false, |
|
|
|
activeNames: ["1"], |
|
|
|
printNum: "12", |
|
|
@ -446,9 +444,10 @@ |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.setTableHeight() |
|
|
|
let _this = this; |
|
|
|
|
|
|
|
let timer = setInterval(() => { |
|
|
|
this.open(); |
|
|
|
this.open(_this); |
|
|
|
}, 5000); |
|
|
|
}, |
|
|
|
created() { |
|
|
@ -552,7 +551,7 @@ |
|
|
|
|
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
open() { |
|
|
|
open(self) { |
|
|
|
// let productLineList = []; |
|
|
|
// //console.log("门版-主界面传过来的值:11111111111111111111111111111111111111111" ); |
|
|
|
// productLineList.forEach(element => { |
|
|
@ -599,7 +598,11 @@ |
|
|
|
if (response.item !== null) { |
|
|
|
response.item.forEach((JKITEM) => { |
|
|
|
if (JKITEM.productLine == "01") { |
|
|
|
this.$refs.sp01.Visible = true; |
|
|
|
|
|
|
|
if (self.$refs && self.$refs.sp01) { |
|
|
|
self.$refs.sp01.Visible = true; |
|
|
|
} |
|
|
|
|
|
|
|
this.content01 = |
|
|
|
"大众一厂已经" + |
|
|
|
JKITEM.timeoutMinutes + |
|
|
@ -957,6 +960,8 @@ |
|
|
|
roleFilter(type) { |
|
|
|
return projectTypeKeyValue[type]; |
|
|
|
}, |
|
|
|
|
|
|
|
/*取M100列表*/ |
|
|
|
getList(data) { |
|
|
|
|
|
|
|
this.listLoading = true; |
|
|
@ -979,6 +984,9 @@ |
|
|
|
this.listQueryList.ProductLine = this.listQuery.productLine; //产线 |
|
|
|
this.listQueryList.CanNotPrint = false; //不可打印 |
|
|
|
this.listQueryList.fwStation = this.listQuery.fwStation; //BA2 BA5 |
|
|
|
|
|
|
|
this.listQueryList.productType = this.listQuery.productType; |
|
|
|
|
|
|
|
console.log( |
|
|
|
"日常打印M100查询条件:" + JSON.stringify(this.listQueryList) |
|
|
|
); |
|
|
@ -1710,6 +1718,7 @@ |
|
|
|
this.$forceUpdate(); |
|
|
|
//console.log(this.listQuery.productType); |
|
|
|
this.listQuery.productLine = ""; |
|
|
|
debugger |
|
|
|
this.PLChildList = this.PLList.filter( |
|
|
|
(u) => u.productType === parseInt(this.listQuery.productType) |
|
|
|
).sort((a, b) => { |
|
|
|