Browse Source

修改时间赋值

dev_pda
李俊城 2 years ago
parent
commit
506b7821cc
  1. 5
      fe/PDA/pages/store/receipt.vue
  2. 5
      fe/PDA/pages/store/recycle.vue
  3. 5
      fe/PDA/pages/store/tjReceipt.vue
  4. 5
      fe/PDA/pages/store/tjRecycle.vue
  5. 5
      fe/PDA/pages/task/count_detail.vue
  6. 5
      fe/PDA/pages/task/issue_detail.vue
  7. 5
      fe/PDA/pages/task/receipt_result.vue

5
fe/PDA/pages/store/receipt.vue

@ -46,7 +46,8 @@
import { import {
showConfirmMsg, showConfirmMsg,
goHome, goHome,
getRemoveOption getRemoveOption,
getCurrDateTime
} from '@/common/basic.js'; } from '@/common/basic.js';
import winBlankView from '@/mycomponents/wincom/winBlankView.vue' import winBlankView from '@/mycomponents/wincom/winBlankView.vue'
@ -381,7 +382,7 @@
number: "", number: "",
productionPlanNumber: "", productionPlanNumber: "",
jobNumber: "", jobNumber: "",
completeTime: new Date(), completeTime: getCurrDateTime(),
Company: localStorage.company, Company: localStorage.company,
WorkShop: 'Assemble', // WorkShop: 'Assemble', //
details: [] // details: [] //

5
fe/PDA/pages/store/recycle.vue

@ -49,7 +49,8 @@
import { import {
showConfirmMsg, showConfirmMsg,
goHome, goHome,
getRemoveOption getRemoveOption,
getCurrDateTime
} from '@/common/basic.js'; } from '@/common/basic.js';
import winBlankView from '@/mycomponents/wincom/winBlankView.vue' import winBlankView from '@/mycomponents/wincom/winBlankView.vue'
@ -323,7 +324,7 @@
number: localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN, number: localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN,
productionPlanNumber: "", productionPlanNumber: "",
jobNumber: "", jobNumber: "",
completeTime: new Date(), completeTime: getCurrDateTime(),
Company: localStorage.company, Company: localStorage.company,
WorkShop: 'Assemble', // WorkShop: 'Assemble', //
details: [] // details: [] //

5
fe/PDA/pages/store/tjReceipt.vue

@ -73,7 +73,8 @@
} from '@/api/index.js'; } from '@/api/index.js';
import { import {
showConfirmMsg, showConfirmMsg,
goHome goHome,
getCurrDateTime
} from '@/common/basic.js'; } from '@/common/basic.js';
import winBlankView from '@/mycomponents/wincom/winBlankView.vue' import winBlankView from '@/mycomponents/wincom/winBlankView.vue'
@ -190,7 +191,7 @@
number: "", number: "",
productionPlanNumber: "", productionPlanNumber: "",
jobNumber: "", jobNumber: "",
completeTime: new Date(), completeTime: getCurrDateTime(),
Company: localStorage.company, Company: localStorage.company,
// WorkShop: 'a', // // WorkShop: 'a', //
WorkShop: that.prodLine.workShop, // WorkShop: that.prodLine.workShop, //

5
fe/PDA/pages/store/tjRecycle.vue

@ -36,7 +36,8 @@
import { import {
showConfirmMsg, showConfirmMsg,
goHome, goHome,
getRemoveOption getRemoveOption,
getCurrDateTime
} from '@/common/basic.js'; } from '@/common/basic.js';
import winBlankView from '@/mycomponents/wincom/winBlankView.vue' import winBlankView from '@/mycomponents/wincom/winBlankView.vue'
@ -303,7 +304,7 @@
number: localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN, number: localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN,
productionPlanNumber: "", productionPlanNumber: "",
jobNumber: "", jobNumber: "",
completeTime: new Date(), completeTime: getCurrDateTime(),
Company: localStorage.company, Company: localStorage.company,
WorkShop: 'Assemble', // WorkShop: 'Assemble', //
details: [] // details: [] //

5
fe/PDA/pages/task/count_detail.vue

@ -160,7 +160,8 @@
goHome, goHome,
getISODateTime, getISODateTime,
compare, compare,
getRemoveOption getRemoveOption,
getCurrDateTime
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -667,7 +668,7 @@
this.datacontent.details = this.allDetails; this.datacontent.details = this.allDetails;
that.datacontent.completeUserId = localStorage.getItem('userId') that.datacontent.completeUserId = localStorage.getItem('userId')
that.datacontent.completeUserName = localStorage.getItem('userName_CN') that.datacontent.completeUserName = localStorage.getItem('userName_CN')
that.datacontent.completeTime = new Date() that.datacontent.completeTime = getCurrDateTime()
let params = JSON.stringify(this.datacontent); let params = JSON.stringify(this.datacontent);
finishCountJob(this.id, params) finishCountJob(this.id, params)
.then(res => { .then(res => {

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

@ -118,7 +118,8 @@
showConfirmMsg, showConfirmMsg,
goHome, goHome,
compareDesc, compareDesc,
compareStr compareStr,
getCurrDateTime
} from '@/common/basic.js'; } from '@/common/basic.js';
import comMessage from '@/mycomponents/common/comMessage.vue' import comMessage from '@/mycomponents/common/comMessage.vue'
import winScanButton from '@/mycomponents/wincom/winScanButton.vue' import winScanButton from '@/mycomponents/wincom/winScanButton.vue'
@ -625,7 +626,7 @@
}); });
that.datacontent.completeUserId = localStorage.getItem('userId') that.datacontent.completeUserId = localStorage.getItem('userId')
that.datacontent.completeUserName = localStorage.getItem('userName_CN') that.datacontent.completeUserName = localStorage.getItem('userName_CN')
that.datacontent.completeTime = new Date(); that.datacontent.completeTime = getCurrDateTime();
that.datacontent.worker = localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN; that.datacontent.worker = localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN;
that.datacontent.details = that.details; that.datacontent.details = that.details;
let params = JSON.stringify(that.datacontent); let params = JSON.stringify(that.datacontent);

5
fe/PDA/pages/task/receipt_result.vue

@ -81,6 +81,7 @@
import { import {
showConfirmMsg, showConfirmMsg,
goHome, goHome,
getCurrDateTime
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -204,13 +205,13 @@
// //
that.receiptJob.completeUserId = localStorage.getItem('userId') that.receiptJob.completeUserId = localStorage.getItem('userId')
that.receiptJob.completeUserName = localStorage.getItem('userName_CN') that.receiptJob.completeUserName = localStorage.getItem('userName_CN')
that.receiptJob.completeTime = new Date() that.receiptJob.completeTime = getCurrDateTime()
that.receiptJob.details.forEach(r => { that.receiptJob.details.forEach(r => {
r.handledToLocationCode = r.recommendToLocationCode; r.handledToLocationCode = r.recommendToLocationCode;
r.worker = localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN r.worker = localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN
if (r.purchaseReceiptInspectStatus == 1) { if (r.purchaseReceiptInspectStatus == 1) {
r.handledArriveDate = new Date(); // r.handledArriveDate = getCurrDateTime(); //
r.purchaseReceiptInspectStatus = 4; // r.purchaseReceiptInspectStatus = 4; //
r.handledQty = 0; r.handledQty = 0;
// r.handledUom = r.recommendUom; // r.handledUom = r.recommendUom;

Loading…
Cancel
Save