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'; } from '@/common/balance.js';
import { import {
getBasicLocationByCode,
getCustomerItemList getCustomerItemList
} from '@/api/request2.js'; } from '@/api/request2.js';

4
src/mycomponents/scan/winScanLocation.vue

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

4
src/mycomponents/scan/winScanPackAndLocation.vue

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

4
src/mycomponents/scan/winScanPackAndLocationNoBalance.vue

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

1
src/mycomponents/scan/winScanPackJob.vue

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save