diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
index 8fec1895..8c453cd3 100644
--- a/.hbuilderx/launch.json
+++ b/.hbuilderx/launch.json
@@ -17,7 +17,7 @@
"type" : "uni-app:h5"
},
{
- "playground" : "custom",
+ "playground" : "standard",
"type" : "uni-app:app-android"
}
]
diff --git a/src/api/request2.js b/src/api/request2.js
index e68bdb0e..ac332ad9 100644
--- a/src/api/request2.js
+++ b/src/api/request2.js
@@ -3680,4 +3680,71 @@ export function getPackageUnitList(params) {
method: "post",
data: params,
});
+}
+
+/**
+ * 翻包 任务承接
+ * @param {*} id
+ *
+ */
+export function takeOverPageJob(id) {
+ return request({
+ url: baseApi + "/wms/issue-job-main/accept?id=" + id,
+ method: "put",
+ data: {},
+ });
+}
+
+/**
+ * 翻包 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeOverPageJob(id) {
+ return request({
+ url: baseApi + "/wms/issue-job-main/abandon?id=" + id,
+ method: "put",
+ data: {},
+ });
+}
+
+/**
+ * 翻包任务 列表
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getOverPageJobList(params) {
+ return request({
+ url: baseApi + "/wms/issue-job-main/senior",
+ method: "post",
+ data: params,
+ });
+}
+
+/**
+ * 翻包任务明细
+ * @param {*} 任务id
+ *
+ */
+export function getOverPageJobDetail(id) {
+ return request({
+ url: baseApi + "/wms/issue-job-main/getIssueJobById?id=" + id,
+ method: "get",
+ data: {},
+ });
+}
+
+/**
+ * 翻包任务 提交
+ * @param {*} params
+ */
+export function overPageSubmit(params) {
+ return request({
+ url: baseApi + "/wms/issue-job-main/execute",
+ method: "put",
+ data: params,
+ });
}
\ No newline at end of file
diff --git a/src/common/label.js b/src/common/label.js
index 06e3546a..03e65b84 100644
--- a/src/common/label.js
+++ b/src/common/label.js
@@ -49,17 +49,18 @@ export function getLabelInfo(scanMsg,headerType, callBack) {
getBarCodeInfo('text', 'V1.0', scanMsg, callBack);
}
}else {
- let labelResult = {
- label: {
- labelType: "",
- barType: '',
- code:""
- },
- package: null,
- success: false,
- message: '标签格式不正确',
- }
- callBack(labelResult);
+ getBarCodeInfo('text', 'V1.0', scanMsg, callBack);
+ // let labelResult = {
+ // label: {
+ // labelType: "",
+ // barType: '',
+ // code:""
+ // },
+ // package: null,
+ // success: false,
+ // message: '标签格式不正确',
+ // }
+ // callBack(labelResult);
}
}
diff --git a/src/mycomponents/scan/winComScan.vue b/src/mycomponents/scan/winComScan.vue
index f2727923..9a408e09 100644
--- a/src/mycomponents/scan/winComScan.vue
+++ b/src/mycomponents/scan/winComScan.vue
@@ -108,8 +108,8 @@
document.querySelector('textarea').setAttribute('inputmode', 'none')
}
// #endif
- // #ifdef APP-PLUS
this.hide()
+ // #ifdef APP-PLUS
//
// this.hide()
// uni.onKeyboardHeightChange(res => {
@@ -146,6 +146,7 @@
},
methods: {
hide() {
+ // #ifdef APP-PLUS
// 只是解决软键盘的闪现
var interval = setInterval(function() {
uni.hideKeyboard(); //隐藏软键盘
@@ -155,6 +156,7 @@
clearInterval(interval);
console.log('停止刷新')
}, 1000);
+ // #endif
},
getValue() {
return this.scanMsg
@@ -221,6 +223,7 @@
this.$nextTick(r => {
that.boxfocus = true;
});
+ this.hide()
},
losefocus() {
let that = this;
diff --git a/src/mycomponents/scan/winScanJobNumber.vue b/src/mycomponents/scan/winScanJobNumber.vue
index 9dbab854..96cfe6c7 100644
--- a/src/mycomponents/scan/winScanJobNumber.vue
+++ b/src/mycomponents/scan/winScanJobNumber.vue
@@ -13,7 +13,13 @@
-
+
diff --git a/src/pages.json b/src/pages.json
index ae981a2f..81e36cbd 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -1691,7 +1691,45 @@
"navigationBarTitleText": "翻包",
"enablePullDownRefresh": false
}
+ },
+
+ {
+ "path": "pages/package/job/overPackageJob",
+ "style": {
+ "navigationBarTitleText": "翻包任务",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/package/job/overPackageJobDetail",
+ "style": {
+ "navigationBarTitleText": "翻包任务详情",
+ "enablePullDownRefresh": false
+ }
}
+
+
],
diff --git a/src/pages/count/record/countRecord.vue b/src/pages/count/record/countRecord.vue
index 3e500a09..3fe4cea1 100644
--- a/src/pages/count/record/countRecord.vue
+++ b/src/pages/count/record/countRecord.vue
@@ -38,7 +38,7 @@
-
+
@@ -74,6 +74,7 @@
import comBlankView from '@/mycomponents/common/comBlankView.vue'
import winScanPackAndLocation from "@/mycomponents/scan/winScanPackAndLocation.vue"
import winScanLocation from "@/mycomponents/scan/winScanLocation.vue"
+ import countQtyEdit from "@/mycomponents/qty/countQtyEdit.vue"
export default {
name: 'receipt_detail',
@@ -85,7 +86,7 @@
comBlankView,
winScanPackAndLocation,
winScanLocation,
- CountQtyEdit
+ countQtyEdit
},
data() {
return {
@@ -265,7 +266,7 @@
this.$refs.comMessage.showSelectMessageModal("箱码【" + packingNumber + "】已经完成盘点,是否要编辑数量",
res => {
if (res) {
- this.$refs.CountQtyEdit.openEditPopup(this.itemEditInfo,
+ this.$refs.countQtyEdit.openEditPopup(this.itemEditInfo,
detail.subList);
} else {
this.scanPopupGetFocus();
@@ -276,7 +277,7 @@
this.itemEditInfo.packQty = result.package.packQty;
this.itemEditInfo.packUnit = result.package.packUnit;
this.itemEditInfo.record = this.createRecordInfo(this.itemEditInfo, result.balance);
- this.$refs.CountQtyEdit.openEditPopupShowSeconds(this.itemEditInfo);
+ this.$refs.countQtyEdit.openEditPopupShowSeconds(this.itemEditInfo);
this.calcHandleQty();
}
}
@@ -358,7 +359,7 @@
editItem(val) {
var detail = this.detailSource.find(r => r.itemCode == val.itemCode);
- this.$refs.CountQtyEdit.openEditPopup(val,
+ this.$refs.countQtyEdit.openEditPopup(val,
detail.subList);
},
diff --git a/src/pages/issue/coms/jobInfoPopup.vue b/src/pages/issue/coms/jobInfoPopup.vue
index 89710769..f654d6b4 100644
--- a/src/pages/issue/coms/jobInfoPopup.vue
+++ b/src/pages/issue/coms/jobInfoPopup.vue
@@ -40,7 +40,10 @@
methods: {
openPopup(val) {
this.dataContent = val;
- this.$refs.popup.open('bottom')
+ setTimeout(res=>{
+ this.$refs.popup.open('bottom')
+ },100)
+
},
closePopup() {
this.$refs.popup.close()
diff --git a/src/pages/issue/job/issueDetail.vue b/src/pages/issue/job/issueDetail.vue
index 12f9c788..262b8162 100644
--- a/src/pages/issue/job/issueDetail.vue
+++ b/src/pages/issue/job/issueDetail.vue
@@ -73,7 +73,6 @@
import comIssueDetailCard from '@/pages/issue/coms/comIssueDetailCard.vue'
import winScanButton from '@/mycomponents/scan/winScanButton.vue'
import comScanIssuePack from '@/pages/issue/coms/comScanIssuePack.vue'
- import comIssueRequestInfo from '@/pages/issue/coms/comIssueRequestInfo.vue'
import jobTop from '@/mycomponents/job/jobTop.vue'
import workStation from '@/mycomponents/workStation/workStation.vue'
@@ -83,7 +82,6 @@
jobDetailPopup,
winScanButton,
comIssueDetailCard,
- comIssueRequestInfo,
comScanIssuePack,
jobTop,
workStation
diff --git a/src/pages/issue/job/issueJob.vue b/src/pages/issue/job/issueJob.vue
index d2873878..2f9cf8e7 100644
--- a/src/pages/issue/job/issueJob.vue
+++ b/src/pages/issue/job/issueJob.vue
@@ -1,16 +1,11 @@
-
-
-
-
-
+
+
diff --git a/src/pages/package/coms/comOverPackJobCard.vue b/src/pages/package/coms/comOverPackJobCard.vue
new file mode 100644
index 00000000..9226463b
--- /dev/null
+++ b/src/pages/package/coms/comOverPackJobCard.vue
@@ -0,0 +1,39 @@
+
+
+
+
+ 申请单号 {{dataContent.requestNumber}}
+
+
+ 车间 {{dataContent.workShopCode}}
+
+
+
+
+
+
+
+
diff --git a/src/pages/package/coms/comOverPackJobDetailCard.vue b/src/pages/package/coms/comOverPackJobDetailCard.vue
new file mode 100644
index 00000000..ff0ba129
--- /dev/null
+++ b/src/pages/package/coms/comOverPackJobDetailCard.vue
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 扫描
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/package/job/overPackageJob.vue b/src/pages/package/job/overPackageJob.vue
new file mode 100644
index 00000000..5b13bdff
--- /dev/null
+++ b/src/pages/package/job/overPackageJob.vue
@@ -0,0 +1,305 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/package/job/overPackageJobDetail.vue b/src/pages/package/job/overPackageJobDetail.vue
new file mode 100644
index 00000000..a98e8dce
--- /dev/null
+++ b/src/pages/package/job/overPackageJobDetail.vue
@@ -0,0 +1,518 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+