Browse Source

6月11号上拉加载更多还没改

hella_vue3
zhang_li 3 months ago
parent
commit
2e62d67844
  1. 8
      src/api/request2.js
  2. 1
      src/mycomponents/scan/winComScanFg.vue
  3. 12
      src/pages/productPutaway/record/productPutawayRecord.vue
  4. 2
      src/pages/productReceipt/job/fgProductReceiptDetail.vue
  5. 5
      src/pages/productReceipt/job/productReceiptJob.vue

8
src/api/request2.js

@ -2571,3 +2571,11 @@ export function getPackageLabel(packageCode) {
}
return http.post("/wms/barbasic/senior",data)
}
/**
* 装配收货mes码是否已经完工
* @param {*}
*/
export function isCheckMesCode(code) {
return http.get("/wms/productreceipt-detailb/getCheckWhetherItExists?remark="+code)
}

1
src/mycomponents/scan/winComScanFg.vue

@ -176,6 +176,7 @@ const handelScanMsg = () => {
const batch = content.substr(lengthMat + 8, 3)
const order = content.substr(-8)
if (itemCode != partNumber) {
clear()
throw new Error(`解析错误:扫描物料号【${itemCode}】与查询物料号【${partNumber}】不一致`)
}

12
src/pages/productPutaway/record/productPutawayRecord.vue

@ -39,7 +39,7 @@
import { ref, getCurrentInstance, nextTick } from 'vue'
import { onLoad, onNavigationBarButtonTap, onReady, onReachBottom, onPullDownRefresh } from '@dcloudio/uni-app'
import { productPutawayRecordSubmit } from '@/api/request2.js'
import { goHome, getPackingNumberAndBatchByList, deepCopyData } from '@/common/basic.js'
import { goHome, getPackingNumberAndBatchByList, deepCopyData, updateTitle } from '@/common/basic.js'
import { getPrecisionStrategyList } from '@/common/balance.js'
import { getInventoryStatusDesc, getDirectoryItemArray } from '@/common/directory.js'
@ -55,6 +55,7 @@ import winScanLocation from '@/mycomponents/scan/winScanLocation.vue'
import winScanPackAndLocation from '@/mycomponents/scan/winScanPackAndLocation.vue'
import recordComDetailCard from '@/mycomponents/record/recordComDetailCard.vue'
import { useCountStore } from '@/store'
// store
const store = useCountStore()
const { proxy } = getCurrentInstance()
@ -74,10 +75,16 @@ const managementList = ref([])
const scanLocationCode = ref()
const scanPopup = ref()
const comMessageRef = ref()
const type = ref('')
onLoad((option) => {
type.value = option.type
if (type.value == 'predict') {
updateTitle('制品上架记录')
} else if (type.value == 'assemble') {
updateTitle('装配上架记录')
}
const typeCode = 'ProductPutaway'
getBusinessType(typeCode, (res) => {
console.log(111, res)
if (res.success) {
businessType.value = res.businessType
fromLocationAreaTypeList.value = res.fromLocationAreaTypeList
@ -270,6 +277,7 @@ const setParams = () => {
})
})
dataContent.value.subList = subList
dataContent.value.type = type.value
dataContent.value.creator = creator
return dataContent.value
}

2
src/pages/productReceipt/job/fgProductReceiptDetail.vue

@ -384,6 +384,7 @@ const commit = () => {
submitJob()
}
} else {
subitem.handleQty = subitem.qty
subitem.scaned = true
submitJob()
}
@ -439,6 +440,7 @@ const setParams = () => {
res.outsideItemCode = res.itemCode
res.outsideProduceDate = res.productDate
res.outsideSerialNumber = res.order
res.lowerLim = res.content
})
}
subList.push(detail)

5
src/pages/productReceipt/job/productReceiptJob.vue

@ -301,6 +301,11 @@ const getScanResult = (result) => {
column: 'itemCode',
action: '==',
value: result.label.itemCode
},
{
column: 'type',
action: '==',
value: props.type
}
// {
// column: 'fromLocationCode',

Loading…
Cancel
Save