| | |
| | | }; |
| | | // 排序复制 |
| | | copyStandardProductSort(params).then((res) => { |
| | | if (res.code === 201) return; |
| | | this.$message.success("复制成功"); |
| | | this.compareDia = false; |
| | | this.batchCopyDia = false; |
| | |
| | | }; |
| | | // 调取单独比较左右要求值的接口 |
| | | copyStandardProductOne(params).then((res) => { |
| | | if (res.code === 201) return; |
| | | this.compareDia = true; |
| | | this.compareList = res.data; |
| | | }); |
| | |
| | | }; |
| | | // 调取比较左右要求值的接口 |
| | | copyStandardProductList(params).then((res) => { |
| | | if (res.code === 201) return; |
| | | this.compareDia = true; |
| | | this.compareList = res.data; |
| | | }); |
| | |
| | | updateStandardProductListBatch(params) |
| | | .then((res) => { |
| | | this.handleCompareLoading = false; |
| | | if (res.code === 201) return; |
| | | this.$message.success("复制成功"); |
| | | this.compareDia = false; |
| | | this.batchCopyDia = false; |