|
@@ -98,6 +98,23 @@ export default {
|
|
this.fenleichange();
|
|
this.fenleichange();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ chuFun(){
|
|
|
|
+ var that=this;
|
|
|
|
+ myRequest({
|
|
|
|
+ url: "/api/Goods/cancelDelivery",
|
|
|
|
+ method:'post',
|
|
|
|
+ data:{qiu_id:that.qiuid,id:that.chukudata[that.current].id}
|
|
|
|
+ }).then(res => {
|
|
|
|
+ console.log(res.data)
|
|
|
|
+ if (res.data.code == 200) {
|
|
|
|
+ that.show_1=false;
|
|
|
|
+ that.$refs.toast.show({model:'success',label:res.data.msg})
|
|
|
|
+ }else{
|
|
|
|
+ that.$refs.toast.show({model:'error',label:res.data.msg})
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ },
|
|
baocun(){
|
|
baocun(){
|
|
var that=this;
|
|
var that=this;
|
|
var arr=[],a=0;
|
|
var arr=[],a=0;
|
|
@@ -162,6 +179,7 @@ export default {
|
|
that.chukudata=res.data.data;
|
|
that.chukudata=res.data.data;
|
|
for(let i=0;i<res.data.data.length;i++){
|
|
for(let i=0;i<res.data.data.length;i++){
|
|
that.list1.push(res.data.data[i].image)
|
|
that.list1.push(res.data.data[i].image)
|
|
|
|
+ that.qiu_id=res.data.data[0].qiu_id;
|
|
}
|
|
}
|
|
that.$refs.toast.show({model:'success',label:'出库成功'})
|
|
that.$refs.toast.show({model:'success',label:'出库成功'})
|
|
}else{
|
|
}else{
|