增加工单导入导出
This commit is contained in:
@@ -41,7 +41,7 @@ export default {
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
list:[{},{},{}],
|
||||
list:[{},{},{},{}],
|
||||
}
|
||||
},
|
||||
setup(){
|
||||
@@ -56,7 +56,7 @@ export default {
|
||||
},
|
||||
methods:{
|
||||
getWsResult(res){
|
||||
if(res.data && (res.data.type == 6 || res.data.type == 7 || res.data.type == 8)){
|
||||
if(res.data && (res.data.type == 6 || res.data.type == 7 || res.data.type == 8 || res.data.type == 11)){
|
||||
let item = {
|
||||
type:res.data.type,
|
||||
type_desc:res.data.type_desc,
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
if(res.data.type == 8){
|
||||
this.list[2] = item;
|
||||
}
|
||||
if(res.data.type == 11){
|
||||
this.list[3] = item;
|
||||
}
|
||||
this.$emit('updateShow', item);
|
||||
|
||||
if(res.data.status==1){
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
},
|
||||
methods:{
|
||||
getWsResult(res){
|
||||
if(res.data && (res.data.type == 4 || res.data.type == 5)){
|
||||
if(res.data && (res.data.type == 4 || res.data.type == 5 || res.data.type == 10)){
|
||||
this.importInfo = res.data;
|
||||
this.progressShow = true;
|
||||
if(res.data.status == 0){
|
||||
|
||||
Reference in New Issue
Block a user