Browse Source

修改查询库存状态和制品发货参数

hella_online_20240829
lijuncheng 5 months ago
parent
commit
40e5655fc6
  1. 4
      src/mycomponents/scan/winCheckFgLabel.vue
  2. 4
      src/mycomponents/scan/winScanPackAndLocationNoBalance.vue
  3. 7
      src/pages/deliver/coms/comScanDeliverPack.vue
  4. 3
      src/pages/deliver/job/deliverDetail.vue
  5. 3
      src/pages/issue/coms/comScanIssuePack.vue
  6. 3
      src/pages/package/coms/comScanPackagePack.vue
  7. 3
      src/pages/repleinsh/coms/comScanReplishPack.vue
  8. 3
      src/pages/stockUp/coms/comScanStockUpPack.vue

4
src/mycomponents/scan/winCheckFgLabel.vue

@ -110,7 +110,7 @@
} else { } else {
this.locationGetFocus(); this.locationGetFocus();
} }
this.fromInventoryStatuses = this.businessType.outInventoryStatuses this.fromInventoryStatuses = getDirectoryItemArray(this.businessType.outInventoryStatuses)
this.inventoryStatus = getDirectoryItemArray(this.businessType.outInventoryStatuses); // this.inventoryStatus = getDirectoryItemArray(this.businessType.outInventoryStatuses); //
this.fromLocationAreaTypeList = getDirectoryItemArray(this.businessType.fromLocationAreaTypeList); // this.fromLocationAreaTypeList = getDirectoryItemArray(this.businessType.fromLocationAreaTypeList); //
setTimeout(res => { setTimeout(res => {
@ -134,7 +134,7 @@
setTimeout(res => { setTimeout(res => {
this.$refs.popup.open('bottom') this.$refs.popup.open('bottom')
}, 500) }, 500)
this.fromInventoryStatuses = jobContent.outInventoryStatuses this.fromInventoryStatuses = getDirectoryItemArray(jobContent.outInventoryStatuses)
this.inventoryStatus = getDirectoryItemArray(jobContent.outInventoryStatuses); //; // this.inventoryStatus = getDirectoryItemArray(jobContent.outInventoryStatuses); //; //
this.fromLocationAreaTypeList = getDirectoryItemArray(jobContent.fromAreaTypes); // this.fromLocationAreaTypeList = getDirectoryItemArray(jobContent.fromAreaTypes); //
}, },

4
src/mycomponents/scan/winScanPackAndLocationNoBalance.vue

@ -136,7 +136,7 @@
} else { } else {
this.locationGetFocus(); this.locationGetFocus();
} }
this.fromInventoryStatuses = this.businessType.outInventoryStatuses this.fromInventoryStatuses = getDirectoryItemArray(this.businessType.outInventoryStatuses)
this.inventoryStatus = getDirectoryItemArray(this.businessType.outInventoryStatuses); // this.inventoryStatus = getDirectoryItemArray(this.businessType.outInventoryStatuses); //
this.fromLocationTypeArray = getDirectoryItemArray(this.businessType.outLocationTypes); // this.fromLocationTypeArray = getDirectoryItemArray(this.businessType.outLocationTypes); //
setTimeout(res => { setTimeout(res => {
@ -160,7 +160,7 @@
setTimeout(res => { setTimeout(res => {
this.$refs.popup.open('bottom') this.$refs.popup.open('bottom')
}, 500) }, 500)
this.fromInventoryStatuses = jobContent.outInventoryStatuses this.fromInventoryStatuses = getDirectoryItemArray(jobContent.outInventoryStatuses)
this.inventoryStatus = getDirectoryItemArray(jobContent.outInventoryStatuses); //; // this.inventoryStatus = getDirectoryItemArray(jobContent.outInventoryStatuses); //; //
this.fromLocationTypeArray = getDirectoryItemArray(jobContent.fromLocationTypes); // this.fromLocationTypeArray = getDirectoryItemArray(jobContent.fromLocationTypes); //
}, },

7
src/pages/deliver/coms/comScanDeliverPack.vue

@ -109,6 +109,9 @@
getDetailEditRemoveOption getDetailEditRemoveOption
} from '@/common/array.js'; } from '@/common/array.js';
import {
getDirectoryItemArray,
} from '@/common/directory.js';
import { import {
calc calc
@ -161,7 +164,7 @@
positionList: [], positionList: [],
defaultValueList: [], defaultValueList: [],
label: {}, label: {},
fromInventoryStatuses: "", fromInventoryStatuses: [],
packageInfo: {} packageInfo: {}
} }
}, },
@ -197,7 +200,7 @@
let that = this; let that = this;
that.fromLocationList = []; that.fromLocationList = [];
if (that.dataContent != null) { if (that.dataContent != null) {
that.fromInventoryStatuses = this.jobContent.outInventoryStatuses that.fromInventoryStatuses = getDirectoryItemArray(this.jobContent.outInventoryStatuses)
that.toLocation = that.dataContent[0]; that.toLocation = that.dataContent[0];
that.toLocationCode = that.dataContent[0].toLocationCode; that.toLocationCode = that.dataContent[0].toLocationCode;
that.fromLocationList = that.getFromLocationList(); that.fromLocationList = that.getFromLocationList();

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

@ -61,6 +61,7 @@
deliverJobSubmit deliverJobSubmit
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
calc calc
} from '@/common/calc.js'; } from '@/common/calc.js';
@ -70,7 +71,6 @@
navigateBack, navigateBack,
getRemoveOption, getRemoveOption,
getCurrDateTime, getCurrDateTime,
getDirectoryItemArray,
getPackingNumberAndBatch, getPackingNumberAndBatch,
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -298,6 +298,7 @@
.packingNumber; .packingNumber;
record.toBatch = info.batch; record.toBatch = info.batch;
} }
record.fromPackingNumber =r.packingNumber
subItem.recordList.push(record); subItem.recordList.push(record);
}) })
subList.push(subItem); subList.push(subItem);

3
src/pages/issue/coms/comScanIssuePack.vue

@ -119,6 +119,7 @@
import { import {
getBalanceByManagementPrecision getBalanceByManagementPrecision
} from '@/common/balance.js'; } from '@/common/balance.js';
import { getDirectoryItemArray } from '../../../common/directory.js';
export default { export default {
name: 'winScanPack', name: 'winScanPack',
@ -191,7 +192,7 @@
let that = this; let that = this;
that.fromLocationList = []; that.fromLocationList = [];
if (that.dataContent != null) { if (that.dataContent != null) {
that.fromInventoryStatuses = this.jobContent.outInventoryStatuses that.fromInventoryStatuses = getDirectoryItemArray(this.jobContent.outInventoryStatuses)
that.toLocation = that.dataContent[0]; that.toLocation = that.dataContent[0];
that.toLocationCode = that.dataContent[0].toLocationCode; that.toLocationCode = that.dataContent[0].toLocationCode;
that.fromLocationList = that.getFromLocationList(); that.fromLocationList = that.getFromLocationList();

3
src/pages/package/coms/comScanPackagePack.vue

@ -119,6 +119,7 @@
import { import {
getBalanceByManagementPrecision getBalanceByManagementPrecision
} from '@/common/balance.js'; } from '@/common/balance.js';
import { getDirectoryItemArray } from '../../../common/directory';
export default { export default {
name: 'winScanPack', name: 'winScanPack',
@ -190,7 +191,7 @@
let that = this; let that = this;
that.fromLocationList = []; that.fromLocationList = [];
if (that.dataContent != null) { if (that.dataContent != null) {
that.fromInventoryStatuses = this.jobContent.outInventoryStatuses that.fromInventoryStatuses = getDirectoryItemArray(this.jobContent.outInventoryStatuses)
that.toLocation = that.dataContent[0]; that.toLocation = that.dataContent[0];
that.toLocationCode = that.dataContent[0].toLocationCode; that.toLocationCode = that.dataContent[0].toLocationCode;
that.fromLocationList = that.getFromLocationList(); that.fromLocationList = that.getFromLocationList();

3
src/pages/repleinsh/coms/comScanReplishPack.vue

@ -113,6 +113,7 @@
import { import {
getBalanceByManagementPrecision getBalanceByManagementPrecision
} from '@/common/balance.js'; } from '@/common/balance.js';
import { getDirectoryItemArray } from '../../../common/directory.js';
export default { export default {
name: 'winScanPack', name: 'winScanPack',
@ -184,7 +185,7 @@
let that = this; let that = this;
that.fromLocationList = []; that.fromLocationList = [];
if (that.dataContent != null) { if (that.dataContent != null) {
that.fromInventoryStatuses = this.jobContent.outInventoryStatuses that.fromInventoryStatuses = getDirectoryItemArray(this.jobContent.outInventoryStatuses)
that.toLocation = that.dataContent[0]; that.toLocation = that.dataContent[0];
that.toLocationCode = that.dataContent[0].toLocationCode; that.toLocationCode = that.dataContent[0].toLocationCode;
that.fromLocationList = that.getFromLocationList(); that.fromLocationList = that.getFromLocationList();

3
src/pages/stockUp/coms/comScanStockUpPack.vue

@ -120,6 +120,7 @@
import { import {
getBalanceByManagementPrecision getBalanceByManagementPrecision
} from '@/common/balance.js'; } from '@/common/balance.js';
import { getDirectoryItemArray } from '../../../common/directory.js';
export default { export default {
name: 'winScanPack', name: 'winScanPack',
@ -197,7 +198,7 @@
let that = this; let that = this;
that.fromLocationList = []; that.fromLocationList = [];
if (that.dataContent != null) { if (that.dataContent != null) {
that.fromInventoryStatuses = this.jobContent.outInventoryStatuses that.fromInventoryStatuses = getDirectoryItemArray(this.jobContent.outInventoryStatuses)
that.toLocation = that.dataContent[0]; that.toLocation = that.dataContent[0];
that.toLocationCode = that.dataContent[0].toLocationCode; that.toLocationCode = that.dataContent[0].toLocationCode;
that.fromLocationList = that.getFromLocationList(); that.fromLocationList = that.getFromLocationList();

Loading…
Cancel
Save