Browse Source

数据

intex_online20250418
张立 2 weeks ago
parent
commit
c3ef6f5b4b
  1. 10
      src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue

10
src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue

@ -95,6 +95,7 @@
}, },
onShow() { onShow() {
uni.$on('updateData', (data) => { uni.$on('updateData', (data) => {
console.log(data)
this.jobList.forEach(item => { this.jobList.forEach(item => {
if (item.asnNumber == data.asnNumber && item.itemCode == data.itemCode && item.batch == data.batch) { if (item.asnNumber == data.asnNumber && item.itemCode == data.itemCode && item.batch == data.batch) {
if (data.handleQty) { if (data.handleQty) {
@ -392,7 +393,7 @@
return this.jobList.slice(0,9) return this.jobList.slice(0,9)
}, },
// //
getList(type) { getList() {
let that = this; let that = this;
this.loadingType = "loading"; this.loadingType = "loading";
var filters = [] var filters = []
@ -400,6 +401,10 @@
column: "status", column: "status",
action: "in", action: "in",
value: '1,2' value: '1,2'
},{
column: "number",
action: "in",
value: 'JOB0120250414-0008,JOB0120250414-0007,JOB0120250414-0006,JOB0120250414-0005'
}) })
getPurchaseReceiptASNJobList({ getPurchaseReceiptASNJobList({
filters: filters, filters: filters,
@ -413,7 +418,8 @@
cur.scaned=true cur.scaned=true
}) })
}) })
this.jobList = [...resultList,...resultList,...resultList,...resultList,...resultList,...resultList,...resultList,...resultList,...resultList,...resultList] this.jobList =resultList
console.log(this.jobList)
let k=0 let k=0
this.jobList.forEach(item=>{ this.jobList.forEach(item=>{
item.packageDOS.forEach(cur=>{ item.packageDOS.forEach(cur=>{

Loading…
Cancel
Save