新购编码管理修改
This commit is contained in:
parent
a18aff4d23
commit
1666636cab
|
|
@ -405,20 +405,10 @@ export default {
|
||||||
if(this.codeList.length==0){
|
if(this.codeList.length==0){
|
||||||
this.$modal.msgError("无新增编码绑定");
|
this.$modal.msgError("无新增编码绑定");
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
editPurchaseMacode(this.codeList).then(response => {
|
editPurchaseMacode(this.codeList).then(response => {
|
||||||
console.log(response.data)
|
console.log(response.data)
|
||||||
if(response.data && response.data.length>0){
|
if(response.data && response.length>0){
|
||||||
this.codeList = response.data;
|
this.codeList = response.data;
|
||||||
// this.codeList.forEach(item=>{
|
|
||||||
// if(item.statusFlag==1){
|
|
||||||
// item.maCode=''
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
|
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("绑定成功");
|
this.$modal.msgSuccess("绑定成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue