bug 3
This commit is contained in:
@@ -43,7 +43,8 @@
|
||||
<allocation
|
||||
v-if="allocationVisible"
|
||||
ref="allocation"
|
||||
@refreshDataList="getDataList" />
|
||||
@refreshDataList="searchStatus"
|
||||
@destroy="allocationVisible = false" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -353,6 +354,11 @@ export default {
|
||||
this.getDataList()
|
||||
},
|
||||
methods: {
|
||||
searchStatus() {
|
||||
setTimeout(() => {
|
||||
this.getDataList()
|
||||
}, 20000)
|
||||
},
|
||||
getWorkOrder() {
|
||||
getCoreWOList().then(res => {
|
||||
this.formConfig[0].selectOptions = res.data.map(item => {
|
||||
@@ -444,7 +450,7 @@ export default {
|
||||
type: 'success',
|
||||
duration: 1500,
|
||||
onClose: () => {
|
||||
this.getDataList();
|
||||
this.searchStatus();
|
||||
// 分配产量
|
||||
// if (param.status === 4) {
|
||||
// this.allocationOrder(param);
|
||||
@@ -478,7 +484,7 @@ export default {
|
||||
// 有绑定订单带id
|
||||
this.$refs.allocation.init(val.id);
|
||||
} else {
|
||||
this.$refs.allocation.init();
|
||||
this.$refs.allocation.init(val.id, true);
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user