|
@@ -287,7 +287,19 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
- eidtProduct(row) {
|
|
|
+ eidtProduct(row, index) {
|
|
|
+ try {
|
|
|
+ this.orderInfo.orderProducts.map((item, index_) => {
|
|
|
+ if (
|
|
|
+ `${row.brandId}_${row.mainId}_${row.smallId}_${row.productName}` == `${item.brandId}_${item.mainId}_${item.smallId}_${item.productName}` &&
|
|
|
+ index_ != index
|
|
|
+ ) {
|
|
|
+ throw new Error('');
|
|
|
+ }
|
|
|
+ })
|
|
|
+ } catch (error) {
|
|
|
+ console.log(error)
|
|
|
+ }
|
|
|
this.appointVerify(this.getVfyKey(this.isEditIndex), (v) => {
|
|
|
if (v) {
|
|
|
if (this.id) {
|