控制台信息去除

yangwl
wws 1 year ago
parent 647a6b6108
commit 4497c32128

@ -765,7 +765,6 @@ export default {
// - // -
resetMaterielQuery() { resetMaterielQuery() {
// TODO // TODO
console.log("进行了物料重置")
}, },
// - // -
handleImport() { handleImport() {
@ -867,7 +866,6 @@ export default {
}, },
// - // -
changeRoute(routeCode) { changeRoute(routeCode) {
console.log("点击了拆分-选择工艺")
// //
getProEquipment(routeCode).then(response => { getProEquipment(routeCode).then(response => {
this.eRouteOptions = response.data this.eRouteOptions = response.data

@ -537,8 +537,6 @@ export default {
}) })
return return
} }
console.log("这里是物料信息");
console.log(this.materiel[0]);
this.form.productId = this.materiel[0].productId; this.form.productId = this.materiel[0].productId;
this.form.prodCode = this.materiel[0].productCode; this.form.prodCode = this.materiel[0].productCode;
this.form.prodDesc = this.materiel[0].productDescZh; this.form.prodDesc = this.materiel[0].productDescZh;
@ -682,8 +680,6 @@ export default {
shiftId: this.selectList[0].shiftId shiftId: this.selectList[0].shiftId
} }
if (this.bmsList != null || this.bmsList === undefined) { if (this.bmsList != null || this.bmsList === undefined) {
console.log("这里this.bmsList")
console.log(this.bmsList)
for (let i = 0; i < this.bmsList.length; i++) { for (let i = 0; i < this.bmsList.length; i++) {
if (bms.shiftId == this.bmsList[i].shiftId && bms.bucketId == this.bmsList[i].bucketId && bms.materialId != this.bmsList[i].materialId) { if (bms.shiftId == this.bmsList[i].shiftId && bms.bucketId == this.bmsList[i].bucketId && bms.materialId != this.bmsList[i].materialId) {
this.$message({ this.$message({
@ -698,8 +694,6 @@ export default {
// //
// //
var bucket var bucket
console.log("这里this.selectBucketList")
console.log(this.selectBucketList)
for (let i = 0; i < this.selectBucketList.length; i++) { for (let i = 0; i < this.selectBucketList.length; i++) {
if (this.form.bucketId == this.selectBucketList[i].bucketId) { if (this.form.bucketId == this.selectBucketList[i].bucketId) {
bucket = this.selectBucketList[i] bucket = this.selectBucketList[i]
@ -707,8 +701,6 @@ export default {
} }
// //
var material var material
console.log("这里this.selectProductList")
console.log(this.selectProductList)
for (let i = 0; i < this.selectProductList.length; i++) { for (let i = 0; i < this.selectProductList.length; i++) {
if (this.form.productId == this.selectProductList[i].productId) { if (this.form.productId == this.selectProductList[i].productId) {
material = this.selectProductList[i] material = this.selectProductList[i]
@ -896,8 +888,6 @@ export default {
getBMSList(productDate).then(response => { getBMSList(productDate).then(response => {
if (response.data !== undefined) { if (response.data !== undefined) {
this.bmsList = response.data this.bmsList = response.data
console.log("级联信息")
console.log(this.bmsList)
} }
}) })
// //

@ -878,7 +878,6 @@ export default {
// - // -
changeRoute(routeCode) { changeRoute(routeCode) {
console.log("点击了拆分-选择工艺")
// //
getProEquipment(routeCode).then(response => { getProEquipment(routeCode).then(response => {
this.eRouteOptions = response.data this.eRouteOptions = response.data
@ -924,7 +923,6 @@ export default {
}, },
// - // -
handleUpdate(row) { handleUpdate(row) {
console.log("点击了拆分按钮")
// //
// //
@ -948,12 +946,9 @@ export default {
// 3. // 3.
// 4. // 4.
getSplitInfo(row).then(response => { getSplitInfo(row).then(response => {
console.log(response.data)
this.workShift = response.data.proShiftList; this.workShift = response.data.proShiftList;
this.routes = response.data.routeList; this.routes = response.data.routeList;
console.log("工艺list")
console.log(this.routes)
this.splitData = response.data.proOrderWorkorderList; this.splitData = response.data.proOrderWorkorderList;
this.productData.push(response.data.proOrderList[0]); this.productData.push(response.data.proOrderList[0]);
@ -978,11 +973,9 @@ export default {
}, },
// - // -
handleImport() { handleImport() {
console.log("点击了导入按钮")
}, },
// //
handleExport() { handleExport() {
console.log("点击了导出")
this.download('/plan/whiteOrder/export', { this.download('/plan/whiteOrder/export', {
...this.queryParams ...this.queryParams
}, `whiteOrder_${new Date().getTime()}.xlsx`) }, `whiteOrder_${new Date().getTime()}.xlsx`)
@ -1003,7 +996,6 @@ export default {
}, },
// -- // --
subMateriel() { subMateriel() {
console.log("点击了物料-确定")
if (this.selectMaterielList.length < 1) { if (this.selectMaterielList.length < 1) {
this.$message({ this.$message({
message: '至少选择一个物料!', message: '至少选择一个物料!',
@ -1011,7 +1003,6 @@ export default {
}) })
return return
} }
console.log(this.form.prodCode == '')
// if(this.form.prodCode == '' ){ // if(this.form.prodCode == '' ){
// this.selectMaterielListtag = this.selectMaterielList // this.selectMaterielListtag = this.selectMaterielList
// } // }
@ -1041,8 +1032,6 @@ export default {
}, },
// - // -
handleSelectionChange(select) { handleSelectionChange(select) {
console.log("选择物料")
console.log(select)
this.selectMaterielList = select; this.selectMaterielList = select;
}, },
// -list // -list
@ -1057,13 +1046,11 @@ export default {
}, },
// - // -
handleMaterielQuery() { handleMaterielQuery() {
console.log("点击了物料搜索按钮")
this.materielQueryParams.pageNum = 1; this.materielQueryParams.pageNum = 1;
this.getMaterielList(); this.getMaterielList();
}, },
// - // -
changeCarNum(num) { changeCarNum(num) {
console.log("车数数量改变")
// //
if (this.splitForm.splitNum == null) { if (this.splitForm.splitNum == null) {
this.$message({ this.$message({
@ -1092,7 +1079,6 @@ export default {
}, },
// - // -
addQuantity(num) { addQuantity(num) {
console.log("订单数量改变")
// //
if (num <= 0) { if (num <= 0) {
this.$message({ this.$message({
@ -1104,7 +1090,6 @@ export default {
}, },
// - // -
selectMateriel() { selectMateriel() {
console.log("点击了选择物料");
this.materielQueryParams = { this.materielQueryParams = {
productCode: undefined, productCode: undefined,
productDescZh: '白坯', productDescZh: '白坯',
@ -1115,7 +1100,6 @@ export default {
}, },
// - // -
handleAdd(row) { handleAdd(row) {
console.log("点击了新增按钮");
// TODO // TODO
this.materielQueryParams = { this.materielQueryParams = {
productCode: null, productCode: null,
@ -1136,7 +1120,6 @@ export default {
}, },
// - // -
submitForm() { submitForm() {
console.log("点击了提交按钮",this.form);
// //
if (this.form.prodCode == '') { if (this.form.prodCode == '') {
this.$message({ this.$message({

@ -612,8 +612,6 @@ export default {
methods: { methods: {
// - // -
changeCarNum(num) { changeCarNum(num) {
console.log("车数数量改变")
console.log(num)
// //
if (this.splitForm.splitNum == null) { if (this.splitForm.splitNum == null) {
@ -630,8 +628,6 @@ export default {
message: '车数不能超过拆分数量!', message: '车数不能超过拆分数量!',
type: 'warning' type: 'warning'
}) })
console.log("拆分数量")
console.log(this.splitForm.splitNum)
num = this.splitForm.splitNum num = this.splitForm.splitNum
this.splitForm.carNum = num; this.splitForm.carNum = num;
} }
@ -811,7 +807,6 @@ export default {
}, },
// - // -
splitNumChange(e) { splitNumChange(e) {
console.log(this.productData)
// //
if (e <= 0) { if (e <= 0) {
e = 1 e = 1
@ -819,7 +814,6 @@ export default {
} }
// //
if (this.productData[0].prodType != 'white') { if (this.productData[0].prodType != 'white') {
console.log("成品逻辑")
// //
let max = Number(this.productData[0].quantity) - Number(this.productData[0].quantitySplit) let max = Number(this.productData[0].quantity) - Number(this.productData[0].quantitySplit)
// //
@ -860,7 +854,6 @@ export default {
} }
// //
if (this.productData[0].prodType == 'white') { if (this.productData[0].prodType == 'white') {
console.log("白坯逻辑")
// //
let max = Number(this.productData[0].quantity) - Number(this.productData[0].quantitySplit) let max = Number(this.productData[0].quantity) - Number(this.productData[0].quantitySplit)
// //

Loading…
Cancel
Save