|
@@ -380,8 +380,8 @@ const add_Dialog = async ()=>{
|
|
|
const baogong_getInfo = await getInfo(params);
|
|
const baogong_getInfo = await getInfo(params);
|
|
|
if (baogong_getInfo.code === 0) {
|
|
if (baogong_getInfo.code === 0) {
|
|
|
ElMessage({type: 'success',message: '报工成功'});
|
|
ElMessage({type: 'success',message: '报工成功'});
|
|
|
- const getSpotToLists = await getSpotList({order:order_id,code:_code});
|
|
|
|
|
- add_tableData.splice(0,add_tableData.length,...getSpotToLists.data.data);
|
|
|
|
|
|
|
+ const getSpotToLists = await getSpotList({order:_order.value,code:_code});
|
|
|
|
|
+ add_tableData.value = getSpotToLists.data.data;
|
|
|
add_searchInfo.value = ''
|
|
add_searchInfo.value = ''
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage({ type: 'error',message: '出库失败'})
|
|
ElMessage({ type: 'error',message: '出库失败'})
|