diff --git a/src/App.vue b/src/App.vue
index 2305bec2..963e459c 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -8,7 +8,6 @@
export default {
onLaunch: function() {
- console.log('App Launch')
// 隐藏顶部电池,时间等信息
// #ifdef APP-PLUS
// 隐藏顶部电池,时间等信息
@@ -29,10 +28,8 @@
};
},
onShow: function() {
- console.log('App Show')
},
onHide: function() {
- console.log('App Hide')
},
}
diff --git a/src/api/request2.js b/src/api/request2.js
index 750772b6..b49c8a03 100644
--- a/src/api/request2.js
+++ b/src/api/request2.js
@@ -1342,6 +1342,9 @@ export function getIssueJobList(params) {
data: params,
});
}
+/**
+ * 发料生产线查询
+ */
export function getIssueJobByProductionline() {
return request({
url: baseApi + "/wms/issue-job-main/getIssueJobByProductionline",
@@ -1349,6 +1352,17 @@ export function getIssueJobByProductionline() {
data: {},
});
}
+
+/**
+ * 发料接收生产线查询
+ */
+export function getProductionReceiptJobByProductionline() {
+ return request({
+ url: baseApi + "/wms/productionreceipt-job-main/getProductionreceiptJobByProductionline",
+ method: "get",
+ data: {},
+ });
+}
/**
* 发料任务明细
diff --git a/src/common/directory.js b/src/common/directory.js
index e922c360..2ad8acfb 100644
--- a/src/common/directory.js
+++ b/src/common/directory.js
@@ -22,6 +22,7 @@ let countStageList = [];
let locationAreaTypeList = [];
let businessList = [];
let countScopeTypeList = [];
+let priorityList = []
@@ -64,6 +65,7 @@ export function clearCacheData() {
locationAreaTypeList = []
businessList = []
countScopeTypeList = []
+ priorityList = []
}
//获取字典信息
@@ -79,7 +81,6 @@ export function getDirectoryInfo(type) {
}
}
}
-
return result
}
@@ -614,5 +615,22 @@ export function getPackUnitName(value) {
return resultInfo
}
-
+//获取优先级
+export function getPriorityName(value) {
+ console.log(344,value)
+ var resultInfo = "";
+ if (priorityList.length == 0) {
+ priorityList = getDirectoryInfo("priority")
+ }
+ console.log(455,priorityList)
+ if (priorityList.length > 0) {
+ for (let item of priorityList) {
+ if (item.value == value) {
+ resultInfo = item.label
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
locationAreaTypeList
\ No newline at end of file
diff --git a/src/common/style/new_style.css b/src/common/style/new_style.css
index 92388b7c..cb624456 100644
--- a/src/common/style/new_style.css
+++ b/src/common/style/new_style.css
@@ -2144,6 +2144,12 @@ button::after {
padding: 5px;
}
+.card_level {
+ color: #0689da;
+ padding: 5px;
+ font-size: 30rpx;
+}
+
.card_supportCode {
color: #DA8910;
padding: 5px;
diff --git a/src/mycomponents/balance/level.vue b/src/mycomponents/balance/level.vue
new file mode 100644
index 00000000..57c2a22e
--- /dev/null
+++ b/src/mycomponents/balance/level.vue
@@ -0,0 +1,37 @@
+
+
+ {{title}}
+ {{getPriorityName1()}}
+
+
+
+
+
+
diff --git a/src/mycomponents/job/jobComMainDetailCard.vue b/src/mycomponents/job/jobComMainDetailCard.vue
index b37077f0..3fe53d6a 100644
--- a/src/mycomponents/job/jobComMainDetailCard.vue
+++ b/src/mycomponents/job/jobComMainDetailCard.vue
@@ -9,8 +9,13 @@
-
-
+
+
+
+
+
+
+
@@ -27,8 +32,8 @@
import location from '@/mycomponents/balance/location.vue'
import toLocation from '@/mycomponents/balance/toLocation.vue'
import batch from '@/mycomponents/balance/batch.vue'
- import jobComMainCard from '@/mycomponents/job/jobComMainCard.vue'
import itemCompareQty from '@/mycomponents/item/itemCompareQty.vue'
+ import level from '@/mycomponents/balance/level.vue'
export default {
components: {
@@ -36,8 +41,8 @@
location,
toLocation,
batch,
- jobComMainCard,
itemCompareQty,
+ level
},
data() {
return {};
diff --git a/src/mycomponents/scan/winComScanBalanceLocation.vue b/src/mycomponents/scan/winComScanBalanceLocation.vue
new file mode 100644
index 00000000..807fddf8
--- /dev/null
+++ b/src/mycomponents/scan/winComScanBalanceLocation.vue
@@ -0,0 +1,315 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/mycomponents/scan/winScanPackLevel.vue b/src/mycomponents/scan/winScanPackLevel.vue
new file mode 100644
index 00000000..dec3bf0b
--- /dev/null
+++ b/src/mycomponents/scan/winScanPackLevel.vue
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/count/job/countJob.vue b/src/pages/count/job/countJob.vue
index 0deb5e36..4085bd11 100644
--- a/src/pages/count/job/countJob.vue
+++ b/src/pages/count/job/countJob.vue
@@ -157,11 +157,11 @@
value: this.status
})
- // filters.push({
- // column: "countSplitType",
- // action: "==",
- // value: "locationCode"
- // })
+ filters.push({
+ column: "countSplitType",
+ action: "==",
+ value: "locationCode"
+ })
filters.push({
column: "isOpenCount",
@@ -312,11 +312,11 @@
value: code
})
- // filters.push({
- // column: "countSplitType",
- // action: "==",
- // value: "locationCode"
- // })
+ filters.push({
+ column: "countSplitType",
+ action: "==",
+ value: "locationCode"
+ })
filters.push({
column: "isOpenCount",
@@ -371,11 +371,17 @@
value: '1,2'
})
- // filters.push({
- // column: "countSplitType",
- // action: "==",
- // value: "locationCode"
- // })
+ filters.push({
+ column: "countSplitType",
+ action: "==",
+ value: "locationCode"
+ })
+
+ filters.push({
+ column: "isOpenCount",
+ action: "==",
+ value: "TRUE"
+ })
filters.push({
column: "countSplitCode",
diff --git a/src/pages/fg/coms/comReceiptPopup.vue b/src/pages/fg/coms/comReceiptPopup.vue
index 6a018045..e575b476 100644
--- a/src/pages/fg/coms/comReceiptPopup.vue
+++ b/src/pages/fg/coms/comReceiptPopup.vue
@@ -171,7 +171,9 @@
workStationCode: "",
planDate: '',
showDateSelect:false,
- planDateList:[]
+ planDateList:[],
+ fgLocationCode:"",
+ rawLocationCode:""
}
},
props: {
@@ -216,6 +218,8 @@
this.planDate=""
this.showDateSelect =false
this.planDateList=[]
+ this.fgLocationCode=""
+ this.rawLocationCode=""
},
@@ -269,8 +273,9 @@
planQty: this.planQty,
goodQty: this.goodQty,
planNumber: this.planNumber,
- workStationCode: this.workStationCode
-
+ workStationCode: this.workStationCode,
+ fgLocationCode:this.fgLocationCode,
+ rawLocationCode:this.rawLocationCode
};
this.closeRequestPopup();
this.$emit("confirm", item);
@@ -289,6 +294,9 @@
this.productionLineName = data[0].label + "—" + data[1].label
this.productionLineCode = data[0].value
this.workStationCode = data[1].value
+ var parent =this.productLineList.filter(res=>res.value==this.productionLineCode)
+ var fgLocation =parent[0].children.filter(children=>children.value==this.workStationCode)
+ this.fgLocationCode= fgLocation[0].fgLocationCode;
this.clearItemCode()
this.clearPackUnit()
@@ -360,8 +368,7 @@
uni.hideLoading()
if (res.data && res.data.length > 0) {
res.data.forEach(item => {
- item.label = item.itemCode + "(" + item.planQty + this.getUomInfo(item.uom) + ")" + "(" +
- dateFormatData(item.planDate) + ")"
+ item.label = item.itemCode + "(" + item.planQty + this.getUomInfo(item.uom) + ")"
item.value = item
})
this.itemCodeList = res.data
@@ -385,6 +392,26 @@
//清除其他数据
this.clearPackUnit();
+ uni.showLoading({
+ title: "加载中",
+ mask: true
+ })
+ getPackUnitByItemCode(this.itemCode).then(res => {
+ uni.hideLoading()
+ if (res.data && res.data.list.length > 0) {
+ res.data.list.forEach(item => {
+ item.value = item.packUnit
+ item.label = getPackUnitName(item.packUnit) + "(" + item.packQty + this
+ .getUomInfo(item.uom) + ")";
+ })
+ this.packUnitList = res.data.list
+ var defaultData =res.data.list.filter(item=>item.defaultPackageunit=="TRUE")
+ this.confirmSelectPackUnit(defaultData)
+ }
+
+ }).catch(error => {
+ uni.hideLoading()
+ })
},
clearPackUnit(){
diff --git a/src/pages/fg/receiptByPlan.vue b/src/pages/fg/receiptByPlan.vue
index 3433fa4a..aaae94eb 100644
--- a/src/pages/fg/receiptByPlan.vue
+++ b/src/pages/fg/receiptByPlan.vue
@@ -12,6 +12,12 @@
+
+ 完工库位
+ {{dataContent.fgLocationCode}}
+
+
+
计划数
{{dataContent.planQty}}{{dataContent.uom}}
@@ -202,6 +208,7 @@
batch: result.batch,
packUnit: result.packUnit,
workStationCode: result.workStationCode,
+ fgLocationCode:result.fgLocationCode,
subList: []
}
},
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 2d7d8d3f..ce10f123 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -212,7 +212,6 @@
})
}else{
if(rightItem.component=='inventorymove-HoldToScrap'){
- console.log(rightItem.component)
}
this.menusCount[rightItem.component.split('-')[0]].forEach((item)=>{
if(item.businessType ==rightItem.component.split('-')[1] ){
@@ -360,7 +359,7 @@
"inventory_status", "container_type", "pack_unit", "unplanned_receipt_reason",
"unplanned_issue_reason", "scrap_reason", "inspect_failed_reason",
"request_status", "inspect_type", "next_action", "sample_method", "transfer_mode",
- "count_stage", "inspect_result", "area_type","count_scope_type"
+ "count_stage", "inspect_result", "area_type","count_scope_type","priority"
]
}
getDictionaryItem(params).then(res => {
diff --git a/src/pages/issue/coms/comIssueRequestPopup.vue b/src/pages/issue/coms/comIssueRequestPopup.vue
index 41628e0b..6c5bacd4 100644
--- a/src/pages/issue/coms/comIssueRequestPopup.vue
+++ b/src/pages/issue/coms/comIssueRequestPopup.vue
@@ -23,7 +23,20 @@
@confirm="confirmWareHouse">
-
+
+
+
+ 优先级
+
+
+
+
+
位置:
@@ -67,6 +80,7 @@
+
@@ -136,7 +150,21 @@
maxlength: 10,
stdPackInfo: undefined,
wareHouseList: [],
- showWareHouse: false
+ showWareHouse: false,
+ priorityList: [{
+ value: 0,
+ text: "低"
+ },
+ {
+ value: 1,
+ text: "中"
+ },
+ {
+ value: 2,
+ text: "高"
+ },
+ ],
+ priority:1,//优先级
}
},
props: {
@@ -207,6 +235,7 @@
this.itemCode = "请扫描物料信息";
this.rawLocationCode = ""
this.positionInfo = "请选择位置"
+ this.priority = ''
this.fromWarehouseCode = "请选择仓库代码"
this.workshopCode = "" //车间
this.workShopName = ""
@@ -241,6 +270,10 @@
},
confirm() {
+ if (this.priority === '') {
+ this.showErrorMessage("请输入优先级", "priority")
+ return
+ }
if (this.positionInfo == "请选择位置") {
this.showErrorMessage("请选择位置")
return
@@ -286,6 +319,7 @@
fgLocationCode: this.fgLocationCode,
fromWarehouseCode: this.fromWarehouseCode,
toWarehouseCode: this.fromWarehouseCode,
+ priority : this.priority,
itemCode: this.itemCode,
itemName: this.itemName,
uom: this.uom,
diff --git a/src/pages/issue/job/issueJob.vue b/src/pages/issue/job/issueJob.vue
index ea21b09e..16a826ee 100644
--- a/src/pages/issue/job/issueJob.vue
+++ b/src/pages/issue/job/issueJob.vue
@@ -132,7 +132,6 @@
methods: {
getIssueJobByProductionline() {
getIssueJobByProductionline().then(res => {
- console.log('生产线', res)
if (res.code == 0) {
this.productionlineList = res.data.map(item => ({
value: item.value,
diff --git a/src/pages/issue/request/issueRequestCreate.vue b/src/pages/issue/request/issueRequestCreate.vue
index fe896681..63a82335 100644
--- a/src/pages/issue/request/issueRequestCreate.vue
+++ b/src/pages/issue/request/issueRequestCreate.vue
@@ -107,7 +107,6 @@
//确定需求信息
requestConfirm(action, item) {
-
if (this.detailSource.subList.length == 0) {
this.detailSource = {
workshopCode: item.workshopCode,
@@ -119,6 +118,7 @@
toLocationCode: item.rawLocationCode,
fromWarehouseCode:item.fromWarehouseCode,
useOnTheWay:this.useOnTheWay,
+ priority : item.priority,
totalQty: 0,
subList: []
}
@@ -153,7 +153,7 @@
qty: item.qty,
uom: item.uom
}
-
+ this.detailSource.priority =item.priority
this.detailSource.subList.push(subItem)
} else {
diff --git a/src/pages/issue/request/issueScanRequest.vue b/src/pages/issue/request/issueScanRequest.vue
index 50a47626..3bc1ebd2 100644
--- a/src/pages/issue/request/issueScanRequest.vue
+++ b/src/pages/issue/request/issueScanRequest.vue
@@ -4,7 +4,7 @@
-
+
@@ -37,7 +37,7 @@
import jobDetailPopup from '@/mycomponents/job/jobDetailPopup.vue'
import comScanIssuePack from '@/pages/issue/coms/comScanIssuePack.vue'
import comIssueRequestCreator from '@/pages/issue/coms/comIssueRequestCreator.vue'
- import winScanPack from '@/mycomponents/scan/winScanPack.vue'
+ import winScanPackLevel from '@/mycomponents/scan/winScanPackLevel.vue'
export default {
name: 'issueRequestSubmit',
@@ -46,7 +46,7 @@
jobDetailPopup,
comScanIssuePack,
comIssueRequestCreator,
- winScanPack
+ winScanPackLevel
},
data() {
return {
@@ -93,11 +93,11 @@
}, 400)
},
- getScanResult(data){
+ getScanResult(result){
this.detailSource = {
subList:[]
}
- var labelInfo = data.label;
+ var labelInfo = result.label;
var data = {
itemCode:labelInfo.itemCode,
@@ -112,6 +112,7 @@
this.detailSource.workStationCode=labelInfo.workStationCode;
this.detailSource.warehouseCode = labelInfo.warehouseCode;
this.detailSource.workshopCode = labelInfo.workshopCode;
+ this.detailSource.priority =result.priorityCode
this.submit();
},
diff --git a/src/pages/package/coms/comScanPackagePack.vue b/src/pages/package/coms/comScanPackagePack.vue
index dee3d843..063c6061 100644
--- a/src/pages/package/coms/comScanPackagePack.vue
+++ b/src/pages/package/coms/comScanPackagePack.vue
@@ -1,97 +1,6 @@
-
-
-
-
-
+
@@ -103,6 +12,7 @@
import balance from '@/mycomponents/balance/balance.vue'
import balanceQtyEdit from '@/mycomponents/qty/balanceQtyEdit.vue'
import balanceSelect from '@/mycomponents/balance/balanceSelect.vue'
+ import winComScanBalanceLocation from '@/mycomponents/scan/winComScanBalanceLocation.vue'
import {
getDetailOption,
@@ -116,10 +26,7 @@
calc
} from '@/common/calc.js';
- import {
- getBalanceByManagementPrecision
- } from '@/common/balance.js';
-import { getDirectoryItemArray } from '../../../common/directory';
+import { getDirectoryItemArray } from '@/common/directory';
export default {
name: 'winScanPack',
@@ -127,7 +34,8 @@ import { getDirectoryItemArray } from '../../../common/directory';
winComScan,
balance,
balanceQtyEdit,
- balanceSelect
+ balanceSelect,
+ winComScanBalanceLocation
},
props: {
title: {
@@ -139,7 +47,6 @@ import { getDirectoryItemArray } from '../../../common/directory';
return {
dataContent: {},
jobContent: {},
- expendIcon: 'arrow-down',
show: false,
scanList: [],
toLocation: null,
@@ -151,9 +58,6 @@ import { getDirectoryItemArray } from '../../../common/directory';
expand: true,
scanOptions: {},
editItem: {},
- positionInfo: "请选择位置",
- positionList: [],
- defaultValueList: [],
fromInventoryStatuses: "",
packageInfo: {},
label: {}
@@ -173,18 +77,11 @@ import { getDirectoryItemArray } from '../../../common/directory';
this.dataContent = content;
this.jobContent = jobcontent;
this.initData();
- // this.positionInfo = this.jobContent.workShopCode + "-" + this.jobContent.subList[0].productionLineCode +
- // "-" + this.jobContent.subList[0].workStationCode
- setTimeout(res => {
- this.$refs.popup.open('bottom')
- }, 500)
+ this.$refs.scanPopup.openScanPopupForJob(this.fromLocationCode, this.fromLocationList, this.jobContent)
},
closeScanPopup() {
- this.$refs.popup.close();
this.$emit("closeScan")
- //清除数据,恢复默认值
- // Object.assign(this.$data, this.$options.data());
},
initData() {
@@ -226,6 +123,22 @@ import { getDirectoryItemArray } from '../../../common/directory';
this.showErrorMessage('翻包库位【' + fromlocation + '】不存在')
}
},
+
+ getScanResult(result){
+ var balance =result.balance;
+ var packageInfo =result.package;
+ let itemCode = balance.itemCode;
+ let item = this.toLocation.Items.find(r => r.itemCode == itemCode);
+ if (item == undefined) {
+ this.showErrorMessage('未查找到物料【' + itemCode + '】的翻包明细',
+ res => {
+ this.getfocus();
+ }
+ )
+ } else {
+ this.afterGetBalance(result.label, balance, packageInfo);
+ }
+ },
onScan(result) {
@@ -398,7 +311,8 @@ import { getDirectoryItemArray } from '../../../common/directory';
let record = {
scaned: true,
itemCode: label.itemCode,
- packingNumber: label.packingNumber,
+ packingNumber: packageInfo.number,
+ parentPackingNumber:packageInfo.parentNumber,
batch: label.batch,
qty: Number(balance.qty),
// qty: Number(label.qty) > Number(balance.qty) ? Number(balance.qty) : Number(label.qty),
@@ -430,22 +344,17 @@ import { getDirectoryItemArray } from '../../../common/directory';
},
getfocus() {
- if (this.$refs.comscan != undefined) {
- this.$refs.comscan.getfocus();
+ if (this.$refs.scanPopup ) {
+ this.$refs.scanPopup.getfocus();
}
},
losefocus() {
- if (this.$refs.comscan != undefined) {
- this.$refs.comscan.losefocus();
+ if (this.$refs.scanPopup ) {
+ this.$refs.scanPopup.losefocus();
}
},
- expands() {
- this.expand = !this.expand;
- this.expendIcon = this.expand == true ? "arrow-down" : "arrow-up"
- },
-
swipeClick(e, item, index) {
if (e.content.text == "详情") {
this.detail(item)
@@ -490,10 +399,10 @@ import { getDirectoryItemArray } from '../../../common/directory';
},
packGetFocus() {
- this.$refs.comscan.getfocus();
+ this.$refs.scanPopup.getfocus();
},
packLoseFocus() {
- this.$refs.comscan.losefocus();
+ this.$refs.scanPopup.packLoseFocus();
},
showMessage(message, callback) {
setTimeout(r => {
diff --git a/src/pages/package/job/overPackageJobDetail.vue b/src/pages/package/job/overPackageJobDetail.vue
index 1703b923..953c56f5 100644
--- a/src/pages/package/job/overPackageJobDetail.vue
+++ b/src/pages/package/job/overPackageJobDetail.vue
@@ -71,6 +71,7 @@
getCurrDateTime,
getDirectoryItemArray,
getPackingNumberAndBatch,
+ deepCopyData
} from '@/common/basic.js';
import {
@@ -104,7 +105,7 @@
comOverPackJobDetailCard,
comScanPackagePack,
jobTop,
- workStation
+ workStation,
},
data() {
return {
@@ -124,7 +125,7 @@
onLoad(option) {
uni.setNavigationBarTitle({
- title: option.title+'详情'
+ title: option.title + '详情'
})
this.id = option.id;
if (this.id != undefined) {
@@ -177,18 +178,11 @@
methods: {
resizeCollapse() {
this.$nextTick(r => {
- if(this.$refs.comOverPackJobDetailCard){
+ if (this.$refs.comOverPackJobDetailCard) {
this.$refs.comOverPackJobDetailCard.forEach(r => {
r.resizeCollapse();
})
}
-
- // this.$refs.mainCollapse.forEach(r => {
- // r.childrens.forEach(i => {
- // i.init();
- // })
- // r.resize();
- // })
});
},
@@ -278,7 +272,7 @@
itemCodes.push(item.itemCode)
})
})
-
+
this.checkSubmit();
//使用在途库,不查询管理模式
@@ -340,18 +334,18 @@
let list = [];
res.data.forEach(item => {
list.push({
- itemCode:item.itemCode, // 物品代码
+ itemCode: item.itemCode, // 物品代码
itemName: item.itemName, // 物品名称
- packName: item.packName,// 包装名称
+ packName: item.packName, // 包装名称
packageCode: item.number, // 包装号
- batch:item.batch,//批次
- parentNumber:item.parentNumber,//父包装号
- itemType:item.itemType,//物料类型
- asnNumber:item.asnNumber,//ASN
+ batch: item.batch, //批次
+ parentNumber: item.parentNumber, //父包装号
+ itemType: item.itemType, //物料类型
+ asnNumber: item.asnNumber, //ASN
supplierCode: item.supplierCode, // 供应商
qty: item.qty, // 数量
- printTimes:getCurrDateTime(), // 打印时间
- productionLineCode:item.productionLineCode,//生产线
+ printTimes: getCurrDateTime(), // 打印时间
+ productionLineCode: item.productionLineCode, //生产线
barcodeString: item.barcodeString, // 标签信息
barcodeBase64: '',
})
@@ -385,6 +379,7 @@
record.fromPackingNumber = r
.packingNumber;
+ record.fromParentPackingNumber =r.parentPackingNumber;
record.fromBatch = r.batch;
record.fromContainerNumber = r
.ContainerNumber;
@@ -434,7 +429,7 @@
// }
subItem.recordList.push(record);
})
- subList.push(subItem);
+ subList.push(deepCopyData(subItem));
}
}
})
@@ -568,7 +563,7 @@
// })
// }
// })
-
+
// Promise.all(pointData.map(item => {
// return getPackageLabel(item.packageCode)
// })).then(res => {
diff --git a/src/pages/package/record/overPackageRecord.vue b/src/pages/package/record/overPackageRecord.vue
index 5d9119e9..dd5a5d24 100644
--- a/src/pages/package/record/overPackageRecord.vue
+++ b/src/pages/package/record/overPackageRecord.vue
@@ -356,7 +356,12 @@
},
checkSubmit() {
- var tempHandleQty = this.detailSource[0].subList[0].handleQty
+
+ // this.submitJob()
+ var tempHandleQty =0
+ this.detailSource.forEach(res=>{
+ tempHandleQty =tempHandleQty+res.handleQty
+ })
var toPackQty = this.toPackQty;
//包装提示
if (tempHandleQty % toPackQty > 0) {
diff --git a/src/pages/productionReceipt/job/productionReceiptJob.vue b/src/pages/productionReceipt/job/productionReceiptJob.vue
index 83bc26c5..884bc7b9 100644
--- a/src/pages/productionReceipt/job/productionReceiptJob.vue
+++ b/src/pages/productionReceipt/job/productionReceiptJob.vue
@@ -34,7 +34,7 @@
import {
getProductionReceiptJobList,
cancleTakeProductionReceiptJob,
- getIssueJobByProductionline
+ getProductionReceiptJobByProductionline
} from '@/api/request2.js';
import {
@@ -90,7 +90,7 @@
},
onLoad(option) {
this.title = option.title
- this.getIssueJobByProductionline()
+ this.getProductionReceiptJobByProductionline()
},
onShow() {
@@ -138,9 +138,8 @@
this.productionLine = productionLineCode
this.getList('refresh', this.productionLine)
},
- getIssueJobByProductionline() {
- getIssueJobByProductionline().then(res => {
- console.log('生产线', res)
+ getProductionReceiptJobByProductionline() {
+ getProductionReceiptJobByProductionline().then(res => {
if (res.code == 0) {
this.productionLineList = res.data.map(item => ({
value: item.value,