Browse Source

修改库位赋值问题

pda_nev
李俊城 10 months ago
parent
commit
f149f349cd
  1. 6
      fe/PDA/pages/task/assembleIssueJobDetail.vue
  2. 6
      fe/PDA/pages/task/assembleIssueJobDetailByQty.vue
  3. 8
      fe/PDA/pages/task/coatingIssuleJobDetail.vue
  4. 6
      fe/PDA/pages/task/coatingIssuleJobDetailByQty.vue
  5. 6
      fe/PDA/pages/task/injectionIssueJobDetail.vue
  6. 24
      fe/PDA/pages/task/injectionIssueJobDetailByQty.vue
  7. 6
      fe/PDA/pages/task/kittingIssueJobDetail.vue
  8. 6
      fe/PDA/pages/task/kittingIssueJobDetailByQty.vue
  9. 6
      fe/PDA/pages/task/sparePartIssueJobDetail.vue
  10. 6
      fe/PDA/pages/task/sparePartIssueJobDetailByQty.vue

6
fe/PDA/pages/task/assembleIssueJobDetail.vue

@ -289,9 +289,9 @@
return; return;
} }
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
}, },
// //
getDetail() { getDetail() {

6
fe/PDA/pages/task/assembleIssueJobDetailByQty.vue

@ -281,9 +281,9 @@
} }
this.toLocationInfo = locationInfo this.toLocationInfo = locationInfo
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
current.handledToWarehouseCode = locationInfo.warehouseCode current.handledToWarehouseCode = locationInfo.warehouseCode
current.handledToPackingCode = "" current.handledToPackingCode = ""
current.handledToLot = "" current.handledToLot = ""

8
fe/PDA/pages/task/coatingIssuleJobDetail.vue

@ -290,10 +290,10 @@
.recommendToLocationCode + "]不一致,请重新扫描") .recommendToLocationCode + "]不一致,请重新扫描")
return; return;
} }
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
}, },
// //
getDetail() { getDetail() {

6
fe/PDA/pages/task/coatingIssuleJobDetailByQty.vue

@ -294,9 +294,9 @@
} }
this.toLocationInfo = locationInfo this.toLocationInfo = locationInfo
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
current.handledToWarehouseCode = locationInfo.warehouseCode current.handledToWarehouseCode = locationInfo.warehouseCode
current.handledToPackingCode = "" current.handledToPackingCode = ""
current.handledToLot = "" current.handledToLot = ""

6
fe/PDA/pages/task/injectionIssueJobDetail.vue

@ -293,9 +293,9 @@
return; return;
} }
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
}, },
// //
getDetail() { getDetail() {

24
fe/PDA/pages/task/injectionIssueJobDetailByQty.vue

@ -134,10 +134,10 @@
<script> <script>
import { import {
getKittingIssueDetail, getInjectionIssueDetail,
takeKittingIssueJob, takeInjectionIssueJob,
cancelTakeKittingIssueJob, cancelTakeInjectionIssueJob,
finshKittingIssueJob, finshInjectionIssueJob,
getCountByItemCode, getCountByItemCode,
getRecommendBalance getRecommendBalance
} from '@/api/index.js'; } from '@/api/index.js';
@ -211,7 +211,7 @@
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {
if (this.datacontent.isClaims && this.datacontent.claimsUserId == localStorage.getItem('userId')) { if (this.datacontent.isClaims && this.datacontent.claimsUserId == localStorage.getItem('userId')) {
cancelTakeKittingIssueJob(this.id).then(res => {}).catch(error => {}) cancelTakeInjectionIssueJob(this.id).then(res => {}).catch(error => {})
} }
goHome(); goHome();
} else if (e.index === 1) { } else if (e.index === 1) {
@ -224,7 +224,7 @@
if (e.from == 'backbutton') { if (e.from == 'backbutton') {
if (this.datacontent.isClaims && this.datacontent.claimsUserId == localStorage.getItem('userId')) { if (this.datacontent.isClaims && this.datacontent.claimsUserId == localStorage.getItem('userId')) {
// //
cancelTakeKittingIssueJob(this.id).then(res => { cancelTakeInjectionIssueJob(this.id).then(res => {
uni.navigateBack(); uni.navigateBack();
}).catch(error => { }).catch(error => {
uni.navigateBack(); uni.navigateBack();
@ -278,9 +278,9 @@
} }
this.toLocationInfo = locationInfo this.toLocationInfo = locationInfo
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
current.handledToWarehouseCode = locationInfo.warehouseCode current.handledToWarehouseCode = locationInfo.warehouseCode
current.handledToPackingCode = "" current.handledToPackingCode = ""
current.handledToLot = "" current.handledToLot = ""
@ -298,7 +298,7 @@
let params = { let params = {
id: that.id, id: that.id,
}; };
getKittingIssueDetail(params) getInjectionIssueDetail(params)
.then(item => { .then(item => {
console.log('item', item); console.log('item', item);
that.datacontent = item; that.datacontent = item;
@ -429,7 +429,7 @@
let params = { let params = {
id: this.id id: this.id
}; };
takeKittingIssueJob(params) takeInjectionIssueJob(params)
.then(res => { .then(res => {
callback(true); callback(true);
}) })
@ -485,7 +485,7 @@
that.details[0].handledFromQty = that.details[0].tempHandledToQty that.details[0].handledFromQty = that.details[0].tempHandledToQty
that.details[0].handledToQty = that.details[0].tempHandledToQty that.details[0].handledToQty = that.details[0].tempHandledToQty
let params = that.details[0]; let params = that.details[0];
finshKittingIssueJob(that.id, params.id, params) finshInjectionIssueJob(that.id, params.id, params)
.then(res => { .then(res => {
uni.hideLoading(); uni.hideLoading();
if (res != null) { if (res != null) {

6
fe/PDA/pages/task/kittingIssueJobDetail.vue

@ -290,9 +290,9 @@
return; return;
} }
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
}, },
// //
getDetail() { getDetail() {

6
fe/PDA/pages/task/kittingIssueJobDetailByQty.vue

@ -280,9 +280,9 @@
} }
this.toLocationInfo = locationInfo this.toLocationInfo = locationInfo
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
current.handledToWarehouseCode = locationInfo.warehouseCode current.handledToWarehouseCode = locationInfo.warehouseCode
current.handledToPackingCode = "" current.handledToPackingCode = ""
current.handledToLot = "" current.handledToLot = ""

6
fe/PDA/pages/task/sparePartIssueJobDetail.vue

@ -288,9 +288,9 @@
return; return;
} }
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
}, },
getToLocation(locationCode){ getToLocation(locationCode){

6
fe/PDA/pages/task/sparePartIssueJobDetailByQty.vue

@ -279,9 +279,9 @@
} }
this.toLocationInfo = locationInfo this.toLocationInfo = locationInfo
current.handledToLocationCode = locationInfo.code current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea current.handledToLocationArea = locationInfo.areaCode
current.handledToLocationGroup = locationInfo.locationGroup current.handledToLocationGroup = locationInfo.locationGroupCode
current.handledToLocationErpCode = locationInfo.locationErpCode current.handledToLocationErpCode = locationInfo.erpLocationCode
current.handledToWarehouseCode = locationInfo.warehouseCode current.handledToWarehouseCode = locationInfo.warehouseCode
current.handledToPackingCode = "" current.handledToPackingCode = ""
current.handledToLot = "" current.handledToLot = ""

Loading…
Cancel
Save