|
@@ -97,6 +97,15 @@
|
|
|
sourceCategory: '2'
|
|
|
})
|
|
|
})
|
|
|
+ } else if (this.bizType === 'check') {
|
|
|
+ data.data.records.forEach(item => {
|
|
|
+ this.options.push({...item,
|
|
|
+ label: item.materialName + ' - ' + item.specifications + ' - ' + item.cnt,
|
|
|
+ value: item.materialId,
|
|
|
+ specification: item.specifications,
|
|
|
+ cntLimit: Number(item.cnt) - Number(item.lockCnt)
|
|
|
+ })
|
|
|
+ })
|
|
|
} else {
|
|
|
data.data.records.forEach(item => {
|
|
|
this.options.push({...item,
|