Browse Source

修改消息详细,跳转到主页面 回收料收货

dev_pda
李俊城 2 years ago
parent
commit
bf1f8c866e
  1. 2
      fe/PDA/pages.js
  2. 8
      fe/PDA/pages/message/details.vue
  3. 5
      fe/PDA/pages/message/index.vue
  4. 59
      fe/PDA/pages/task/deliver_detail.vue
  5. 1
      fe/PDA/pages/task/issue_detail.vue
  6. 1
      fe/PDA/pages/task/receipt.vue
  7. 3
      fe/PDA/pages/task/receipt_check.vue
  8. 2
      fe/PDA/static/config.json

2
fe/PDA/pages.js

@ -38,7 +38,7 @@ module.exports = () => ({
"path": "pages/message/index", "path": "pages/message/index",
"style": { "style": {
"navigationBarTitleText": "消息", "navigationBarTitleText": "消息",
"enablePullDownRefresh": true "enablePullDownRefresh": false
} }
}, },

8
fe/PDA/pages/message/details.vue

@ -18,7 +18,15 @@
import { import {
messages messages
} from '@/api/index.js'; } from '@/api/index.js';
import {
goHome
} from '@/common/basic.js';
export default { export default {
onNavigationBarButtonTap(e) {
if (e.index === 0) {
goHome();
}
},
data() { data() {
return { return {
id: '', id: '',

5
fe/PDA/pages/message/index.vue

@ -61,11 +61,6 @@
} from '@/common/basic.js'; } from '@/common/basic.js';
export default { export default {
onNavigationBarButtonTap(e) {
if (e.index === 0) {
goHome();
}
},
data() { data() {
return { return {
allMessageList: [], allMessageList: [],

59
fe/PDA/pages/task/deliver_detail.vue

@ -72,7 +72,8 @@
<view class="text_black">{{ item.recommendLocationCode }}</view> <view class="text_black">{{ item.recommendLocationCode }}</view>
</uni-th> </uni-th>
<uni-th width="120" align="center"> <uni-th width="120" align="center">
<view v-if="item.scaned" class="text_black">{{ item.handledFromLocationCode }} <view v-if="item.scaned" class="text_black">
{{ item.handledFromLocationCode }}
</view> </view>
</uni-th> </uni-th>
</uni-tr> </uni-tr>
@ -274,13 +275,30 @@
item.handledLot = that.balancesItem.lot; item.handledLot = that.balancesItem.lot;
item.handledFromLocationArea = that.balancesItem.locationCode; item.handledFromLocationArea = that.balancesItem.locationCode;
item.handledQty = that.balancesItem.qty; item.handledQty = that.balancesItem.qty;
// "toLocationCode": "string",
// "toLocationArea": "string", // ==================================
// "toLocationGroup": "string", // item.recommendFromLocationCode = string;
// "toLocationErpCode": "string", // item.recommendFromLocationArea = string;
// "toWarehouseCode": "string", // item.recommendFromLocationGroup = string;
// "onTheWayLocationCode": "string" // item.recommendFromLocationErpCode = string;
// item.recommendFromWarehouseCode = string;
// item.uom = string;
// item.recommendQty = 0;
// item.handledFromLocationCode = string;
// item.handledFromLocationArea = string;
// item.handledFromLocationGroup = string;
// item.handledFromLocationErpCode = string;
// item.handledFromWarehouseCode = string;
// item.handledQty = that.balancesItem.qty;
// item.toLocationCode = string;
// item.toLocationArea = string;
// item.toLocationGroup = string;
// item.toLocationErpCode = string;
// item.toWarehouseCode = string;
// item.onTheWayLocationCode = string;
this.getScanCount(); this.getScanCount();
this.closeScanPopup(); this.closeScanPopup();
that.$forceUpdate(); that.$forceUpdate();
@ -343,21 +361,20 @@
title: "提交中..." title: "提交中..."
}); });
that.datacontent.company = localStorage.company;
let params = JSON.stringify(that.datacontent); let params = JSON.stringify(that.datacontent);
console.log(params); console.log(params);
finshDeliverJob(that.id, params) // finshDeliverJob(that.id, params)
.then(res => { // .then(res => {
uni.hideLoading(); // uni.hideLoading();
if (res != null) { // if (res != null) {
that.showCommitSuccessMessage(); // that.showCommitSuccessMessage();
that.backJobList(1000); // that.backJobList(1000);
} // }
}) // })
.catch(err => { // .catch(err => {
this.showMessage(err.message); // this.showMessage(err.message);
uni.hideLoading(); // uni.hideLoading();
}); // });
}, },
// //

1
fe/PDA/pages/task/issue_detail.vue

@ -420,6 +420,7 @@
item.handledFromLocationArea = balanceItem.locationArea; item.handledFromLocationArea = balanceItem.locationArea;
item.handledFromLocationGroup = balanceItem.locationErpCode; item.handledFromLocationGroup = balanceItem.locationErpCode;
item.handledFromLocationErpCode = balanceItem.locationGroup; item.handledFromLocationErpCode = balanceItem.locationGroup;
item.handledFromWarehouseCode = balanceItem.warehouseCode;
item.toLocationArea =balanceItem.locationArea; item.toLocationArea =balanceItem.locationArea;
item.toLocationGroup= balanceItem.locationGroup; item.toLocationGroup= balanceItem.locationGroup;

1
fe/PDA/pages/task/receipt.vue

@ -138,7 +138,6 @@
}, },
getList(type) { getList(type) {
this.isToday=false;
let that = this; let that = this;
uni.showLoading({ uni.showLoading({
title: "加载中....", title: "加载中....",

3
fe/PDA/pages/task/receipt_check.vue

@ -188,6 +188,7 @@
// //
save() { save() {
let files = this.$refs.uploadImage.getFiles(); let files = this.$refs.uploadImage.getFiles();
console.log("文件个数",files.length)
if (files.length > 0) { if (files.length > 0) {
// this.readImageBuffer(files); // this.readImageBuffer(files);
if (this.dataContent.failedReason || this.dataContent.failedReason.length > 0) { if (this.dataContent.failedReason || this.dataContent.failedReason.length > 0) {
@ -204,7 +205,7 @@
} }
} else // } else //
{ {
if (this.dataContent.purchaseReceiptInspectStatus == 3) { if (this.dataContent.purchaseReceiptInspectStatus == 2||this.dataContent.purchaseReceiptInspectStatus == 3) {
showConfirmMsg('是否要将零件的状态改为合格?', confirm => { showConfirmMsg('是否要将零件的状态改为合格?', confirm => {
if (confirm) { if (confirm) {
this.saveResultPass(); this.saveResultPass();

2
fe/PDA/static/config.json

@ -27,7 +27,7 @@
"putawayInventoryStatus": "2", "putawayInventoryStatus": "2",
"dev": "http://dev.ccwin-in.com:21093", "dev": "http://dev.ccwin-in.com:21093",
"print_url": "http://dev.ccwin-in.com:59095", "print_url": "http://dev.ccwin-in.com:59095",
"version_update_url": "http://dev.ccwin-in.com:59081", "version_update_url": "http://dev.ccwin-in.com:21381",
"isScrapScanToLocation": false, "isScrapScanToLocation": false,
"isReceiptToday": true, "isReceiptToday": true,
"scrapReason": "ScrapReason", "scrapReason": "ScrapReason",

Loading…
Cancel
Save