Browse Source

修改库位必须校验大小写

hella_online_20240829
lijuncheng 5 months ago
parent
commit
2f89f1a25c
  1. 1
      src/mycomponents/scan/winCheckFgLabel.vue
  2. 4
      src/mycomponents/scan/winScanLocation.vue
  3. 4
      src/mycomponents/scan/winScanPackAndLocation.vue
  4. 4
      src/mycomponents/scan/winScanPackAndLocationNoBalance.vue
  5. 1
      src/mycomponents/scan/winScanPackJob.vue
  6. 1
      src/pages/customerReturn/job/returnDetail.vue
  7. 1
      src/pages/deliver/coms/comDeliverRequestPopup.vue
  8. 1
      src/pages/deliver/job/deliverDetail.vue
  9. 4
      src/pages/inventoryMove/coms/comMoveRecord.vue
  10. 11
      src/pages/inventoryMove/job/inventoryMoveDetail.vue
  11. 1
      src/pages/issue/coms/comIssueRequestPopup.vue
  12. 1
      src/pages/productPutaway/job/productPutawayDetail.vue
  13. 1
      src/pages/productRecycle/job/productRecycleJobDetail.vue
  14. 1
      src/pages/productionReceipt/job/productionReceiptDetail.vue
  15. 1
      src/pages/productionReturn/coms/comReturnRequestPopup.vue
  16. 1
      src/pages/purchaseReturn/job/returnDetail.vue
  17. 1
      src/pages/putaway/job/putawayDetail.vue
  18. 1
      src/pages/repleinsh/coms/comRepleinshRequestPopup.vue
  19. 1
      src/pages/stockUp/job/stockUpJobDetail.vue
  20. 1
      src/pages/transfer/job/issueDetail.vue
  21. 1
      src/pages/transfer/job/receiptDetail.vue
  22. 11
      src/pages/transfer/job/transferDetail.vue

1
src/mycomponents/scan/winCheckFgLabel.vue

@ -44,7 +44,6 @@
} from '@/common/balance.js';
import {
getBasicLocationByCode,
getCustomerItemList
} from '@/api/request2.js';

4
src/mycomponents/scan/winScanLocation.vue

@ -108,6 +108,10 @@
uni.hideLoading();
if (res.data.total > 0) {
let result = res.data.list[0];
if(result.code!=this.code){
this.showErrorMessage('未查询到库位[' + this.code + ']')
return;
}
var type = result.type;
var areaType = result.areaType
var available = result.available;

4
src/mycomponents/scan/winScanPackAndLocation.vue

@ -247,6 +247,10 @@
getBasicLocationByCode(this.fromLocationCode).then(res => {
if (res.data.total > 0) {
let result = res.data.list[0];
if(result.code!=this.fromLocationCode){
this.showErrorMessage('未查询到库位[' + this.fromLocationCode + ']')
return;
}
var type = result.areaType;
var available = result.available;
if (available == "TRUE") {

4
src/mycomponents/scan/winScanPackAndLocationNoBalance.vue

@ -198,6 +198,10 @@
getBasicLocationByCode(this.fromLocationCode).then(res => {
if (res.data.total > 0) {
let result = res.data.list[0];
if(result.code!=this.fromLocationCode){
this.showErrorMessage('未查询到库位[' + this.fromLocationCode + ']')
return;
}
var type = result.type;
var available = result.available;
if (available == "TRUE") {

1
src/mycomponents/scan/winScanPackJob.vue

@ -29,7 +29,6 @@
} from '@/common/balance.js';
import {
getBasicLocationByCode,
getPutawayJobList
} from '@/api/request2.js';

1
src/pages/customerReturn/job/returnDetail.vue

@ -43,7 +43,6 @@
import {
getCustomerReturnJobDetail,
getBasicLocationByCode,
takeCustomerReturnJob,
cancleTakeCustomerReturnJob,
customerReturnJobSubmit

1
src/pages/deliver/coms/comDeliverRequestPopup.vue

@ -70,7 +70,6 @@
<script>
import {
getBasicLocationByCode,
getBasicItemByCode,
getProductionlineItem,
getWorkShopLineStation,

1
src/pages/deliver/job/deliverDetail.vue

@ -55,7 +55,6 @@
<script>
import {
getDeliverDetail,
getBasicLocationByCode,
takeDeliverJob,
cancleTakeDeliverJob,
deliverJobSubmit

4
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -189,6 +189,10 @@
getBasicLocationByCode(this.toLocationCode).then(res => {
if (res.data.total > 0) {
let result = res.data.list[0];
if(result.code!=this.toLocationCode){
this.showErrorMessage('未查询到库位[' + this.toLocationCode + ']')
return;
}
var type = result.type;
var available = result.available;
if (available == "TRUE") {

11
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -43,7 +43,6 @@
<script>
import {
getInventoryMoveJobDetail,
getBasicLocationByCode,
takeInventoryMoveJob,
cancleTakeInventoryMoveJob,
inventoryMoveSubmit
@ -464,16 +463,6 @@
return this.jobContent;
},
getLocationInfo(locationCode) {
getBasicLocationByCode(locationCode).then(res => {
if (res.data.list.length > 0) {
this.toLocationInfo = res.data.list[0]
}
})
},
showMessage(message) {
this.$refs.comMessage.showMessage(message, res => {
if (res) {

1
src/pages/issue/coms/comIssueRequestPopup.vue

@ -85,7 +85,6 @@
<script>
import {
getBasicLocationByCode,
getBasicItemByCode,
getProductionlineItem,
getWorkShopLineStation,

1
src/pages/productPutaway/job/productPutawayDetail.vue

@ -49,7 +49,6 @@
} from '@/common/balance.js';
import {
getBasicLocationByCode,
getProductPutawayJobDetail,
takeProductPutawayJob,
cancleTakeProductPutawayJob,

1
src/pages/productRecycle/job/productRecycleJobDetail.vue

@ -42,7 +42,6 @@
<script>
import {
getBasicLocationByCode,
getProductRecycleDetail,
productRecycleJobsubmit,
cancleTakeProductRecycleJob,

1
src/pages/productionReceipt/job/productionReceiptDetail.vue

@ -53,7 +53,6 @@
import {
getProductionReceiptJobDetail,
getBasicLocationByCode,
takeProductionReceiptJob,
cancleTakeProductionReceiptJob,
productionReceiptJobSubmit,

1
src/pages/productionReturn/coms/comReturnRequestPopup.vue

@ -74,7 +74,6 @@
<script>
import {
getBasicLocationByCode,
getBasicItemByCode,
getProductionlineItem,
getWorkShopLineStation

1
src/pages/purchaseReturn/job/returnDetail.vue

@ -43,7 +43,6 @@
<script>
import {
getBasicLocationByCode,
getPurchasereturnJobDetail,
purchaseReturnJobsubmit,
cancleTakePurchasereturnJob,

1
src/pages/putaway/job/putawayDetail.vue

@ -55,7 +55,6 @@
import {
getPutawayJobDetail,
getBasicLocationByCode,
putawayJobSubmit,
takePutawayJob,
cancleTakePutawayJob,

1
src/pages/repleinsh/coms/comRepleinshRequestPopup.vue

@ -78,7 +78,6 @@
<script>
import {
getBasicLocationByCode,
getBasicItemByCode,
getProductionlineItem,
getWorkShopLineStation

1
src/pages/stockUp/job/stockUpJobDetail.vue

@ -64,7 +64,6 @@
<script>
import {
getStockUpJobDetail,
getBasicLocationByCode,
takeStockUpJob,
cancleTakeStockUpJob,
stockUpJobsubmit

1
src/pages/transfer/job/issueDetail.vue

@ -49,7 +49,6 @@
} from '@/common/balance.js';
import {
getTransferIssueJobDetail,
getBasicLocationByCode,
takeTransferIssueJob,
cancleTakeTransferIssueJob,
transferIssueJobSubmit

1
src/pages/transfer/job/receiptDetail.vue

@ -51,7 +51,6 @@
<script>
import {
getTransferReceiptJobDetail,
getBasicLocationByCode,
cancleTakeTransferReceiptJob,
takeTransferReceiptJob,
transferReceiptJobSubmit

11
src/pages/transfer/job/transferDetail.vue

@ -46,9 +46,6 @@
submitPurchaseReturnJob,
getInventoryMoveJobDetail,
} from '@/api/request.js';
import {
getBasicLocationByCode
} from '@/api/request2.js';
import {
calc
@ -494,14 +491,6 @@
return params;
},
getLocationInfo(locationCode) {
getBasicLocationByCode(locationCode).then(res => {
if (res.data.list.length > 0) {
this.toLocationInfo = res.data.list[0]
}
})
},
showMessage(message) {
this.$refs.comMessage.showMessage(message, res => {
if (res) {

Loading…
Cancel
Save