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

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

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

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

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

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

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

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

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

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

@ -118,7 +118,8 @@
showConfirmMsg,
goHome,
compareDesc,
compareStr
compareStr,
getCurrDateTime
} from '@/common/basic.js';
import comMessage from '@/mycomponents/common/comMessage.vue'
import winScanButton from '@/mycomponents/wincom/winScanButton.vue'
@ -625,7 +626,7 @@
});
that.datacontent.completeUserId = localStorage.getItem('userId')
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.details = that.details;
let params = JSON.stringify(that.datacontent);

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

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

Loading…
Cancel
Save