|
@@ -394,7 +394,7 @@
|
|
|
v-if="worderVisible"
|
|
|
ref="worder"
|
|
|
:userMultiple="true"
|
|
|
- @submit="addWorderItem"
|
|
|
+ @submitArray="addWorderItems"
|
|
|
/>
|
|
|
<attach-detail-dialog ref="attachDetail" @onChose="onChose" />
|
|
|
</div>
|
|
@@ -629,6 +629,11 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
+ addWorderItems (array) {
|
|
|
+ array.forEach(item => {
|
|
|
+ this.addWorderItem(item)
|
|
|
+ })
|
|
|
+ },
|
|
|
// 添加工单
|
|
|
addWorderItem (item) {
|
|
|
if (!item.recordId) {
|