|
@@ -30,7 +30,6 @@
|
|
|
<view class="box_list">
|
|
<view class="box_list">
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<u-list @scrolltolower="scrolltolower" class="z_list">
|
|
<u-list @scrolltolower="scrolltolower" class="z_list">
|
|
|
|
|
|
|
|
<view v-if="actTab == '物品清单'">
|
|
<view v-if="actTab == '物品清单'">
|
|
@@ -85,17 +84,6 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -121,33 +109,56 @@
|
|
|
|
|
|
|
|
<view v-if="actTab == '产出清单'">
|
|
<view v-if="actTab == '产出清单'">
|
|
|
|
|
|
|
|
|
|
+ <view class="title_box rx-bc">
|
|
|
|
|
+ <view></view>
|
|
|
|
|
+ <view class="right_box rx-ec">
|
|
|
|
|
+ <u-button type="success" size="small" class="u-reset-button" @click="addPicking(3)"
|
|
|
|
|
+ text="添加产出"></u-button>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view v-for="(item, index) in standardOutputList" :key="index">
|
|
|
|
|
+ <label class="listBox rx-bs">
|
|
|
|
|
|
|
|
- <view v-for="(item, index) in pickOutInVOList" :key="index">
|
|
|
|
|
- <view class="listBox rx-bs">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <view class="listBox-sel">
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
|
|
|
- <view class="listBox-bottom rx">
|
|
|
|
|
|
|
+ <view class="listBox-con">
|
|
|
|
|
+
|
|
|
|
|
|
|
|
- <view class="items">
|
|
|
|
|
- <text>名称</text>{{ item.name }}
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view class="listBox-bottom rx">
|
|
|
|
|
+
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="items">
|
|
|
|
|
+ <text>名称</text>{{ item.name }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="items">
|
|
|
|
|
+ <text>编码</text>{{ item.code }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <view v-for="(itm, index) in tableH(item.rootCategoryLevelId)" :key="index"
|
|
|
|
|
+ class="items" v-if="!itm.formatter">
|
|
|
|
|
+ <text>{{ itm.label }}</text>{{ item[itm.prop] }}
|
|
|
|
|
+ </view>
|
|
|
|
|
|
|
|
- <view class="items">
|
|
|
|
|
- <text>编码</text>{{ item.code }}
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <view v-for="(itm, index) in tableH(item.rootCategoryLevelId)" :key="index"
|
|
|
|
|
- class="items" v-if="!itm.formatter">
|
|
|
|
|
- <text>{{ itm.label }}</text>{{ item[itm.prop] }}
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
|
|
|
+ </label>
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -208,7 +219,7 @@
|
|
|
bomMaterialList: [],
|
|
bomMaterialList: [],
|
|
|
pickOutInList: [],
|
|
pickOutInList: [],
|
|
|
materialList: [],
|
|
materialList: [],
|
|
|
- pickOutInVOList: []
|
|
|
|
|
|
|
+ standardOutputList: []
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -235,7 +246,7 @@
|
|
|
|
|
|
|
|
this.pickOutInList = res.pickOutInList
|
|
this.pickOutInList = res.pickOutInList
|
|
|
this.bomMaterialList = res.bomMaterialList
|
|
this.bomMaterialList = res.bomMaterialList
|
|
|
- this.pickOutInVOList = res.pickOutInVOList
|
|
|
|
|
|
|
+ this.standardOutputList = res.standardOutputList
|
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -248,8 +259,10 @@
|
|
|
this.show = false
|
|
this.show = false
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- handleEvent(data) {
|
|
|
|
|
- console.log('Received event with data:', data);
|
|
|
|
|
|
|
+ handleEvent({ message }) {
|
|
|
|
|
+ if(message.pid == 3) {
|
|
|
|
|
+ this.standardOutputList = message.memoList
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -262,11 +275,14 @@
|
|
|
|
|
|
|
|
addPicking(id) {
|
|
addPicking(id) {
|
|
|
const storageKey = Date.now() + "";
|
|
const storageKey = Date.now() + "";
|
|
|
-
|
|
|
|
|
- let arr = []
|
|
|
|
|
|
|
+ let arr = [
|
|
|
|
|
+ {
|
|
|
|
|
+ standardOutputList: this.standardOutputList
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
uni.setStorageSync(storageKey, arr);
|
|
uni.setStorageSync(storageKey, arr);
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
- url: `/pages/pda/workOrder/search/index?id=${id}&storageKey=${storageKey}&isType=zdy&taskId=${this.outObj.taskId}&classIds=[1,9]`
|
|
|
|
|
|
|
+ url: `/pages/pda/workOrder/search/index?id=${id}&storageKey=${storageKey}&isType=zdy&taskId=${this.outObj.taskId}&classIds=[1,23,9]`
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|