|
|
@@ -32,7 +32,7 @@
|
|
|
|
|
|
<view class="listBox-sel">
|
|
|
<checkbox
|
|
|
- v-if='item.rootCategoryLevelId != 23 && (item.rootCategoryLevelId != 11 || (item.rootCategoryLevelId == 11 && item.status != 1))'
|
|
|
+ v-if=' (item.rootCategoryLevelId != 11 || (item.rootCategoryLevelId == 11 && item.status != 1))'
|
|
|
:value="item.code" color="#fff" :disabled="item.disabled" :checked="item.checked" />
|
|
|
</view>
|
|
|
|
|
|
@@ -83,9 +83,17 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
- <view class="items" v-if='item.rootCategoryLevelId == 1 '>
|
|
|
+ <view class="items" v-if='item.rootCategoryLevelId == 1 || item.rootCategoryLevelId == 23'>
|
|
|
<text>包装库存</text>{{ item.packingCountBase }} {{item.minUnit}}
|
|
|
</view>
|
|
|
+
|
|
|
+ <view class="items" v-if='item.rootCategoryLevelId == 1 || item.rootCategoryLevelId == 23'>
|
|
|
+ <text>计量库存数量</text>{{ item.availableCountBase }} {{item.measuringUnit}}
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<view class="items" v-if='item.rootCategoryLevelId == 11'>
|
|
|
<text
|
|
|
@@ -132,16 +140,16 @@
|
|
|
</checkbox>
|
|
|
</view>
|
|
|
<view>
|
|
|
-
|
|
|
- <u-button v-if='rootCategoryLevelId != 23' type="success" size="small" class="u-reset-button"
|
|
|
+
|
|
|
+ <u-button type="success" size="small" class="u-reset-button"
|
|
|
:disabled="!checkListLen" @click="jumpAdd(1)">
|
|
|
<view> 选择( {{ checkListLen }} ) </view>
|
|
|
</u-button>
|
|
|
|
|
|
- <u-button v-if='rootCategoryLevelId == 23' type="success" size="small" class="u-reset-button"
|
|
|
+ <!-- <u-button v-if='rootCategoryLevelId == 23' type="success" size="small" class="u-reset-button"
|
|
|
@click="jumpAdd(2)">
|
|
|
<view> 确认 </view>
|
|
|
- </u-button>
|
|
|
+ </u-button> -->
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -412,7 +420,7 @@
|
|
|
} else if (this.isType == 'zdy') {
|
|
|
params['ids'] = JSON.parse(this.classIds);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
treeByPid(params).then(res => {
|
|
|
@@ -459,15 +467,18 @@
|
|
|
isEnd = false
|
|
|
let URL = null
|
|
|
if (this.isType == 'pick') { // 领料
|
|
|
- if (this.rootCategoryLevelId == 23) {
|
|
|
- this.list = []
|
|
|
- param = {}
|
|
|
- param.workOrderId = this.pid
|
|
|
- URL = listOutsourceInWarehouse
|
|
|
- } else {
|
|
|
- param.dimension = 1
|
|
|
- URL = pageeLedgerMain
|
|
|
- }
|
|
|
+ // if (this.rootCategoryLevelId == 23) {
|
|
|
+ // this.list = []
|
|
|
+ // param = {}
|
|
|
+ // param.workOrderId = this.pid
|
|
|
+ // URL = listOutsourceInWarehouse
|
|
|
+ // } else {
|
|
|
+ // param.dimension = 1
|
|
|
+ // URL = pageeLedgerMain
|
|
|
+ // }
|
|
|
+ param.dimension = 1
|
|
|
+ URL = pageeLedgerMain
|
|
|
+
|
|
|
} else if (this.isType == 'feed') { // 投料
|
|
|
|
|
|
if ([4, 7, 14].includes(Number(this.rootCategoryLevelId))) {
|