|
@@ -791,20 +791,20 @@ export default {
|
|
|
|
|
|
JudgeVluabled(){
|
|
JudgeVluabled(){
|
|
this.judge = 0
|
|
this.judge = 0
|
|
- for (var i=0; i<this.syShippingDetailsItemList.length;i++){
|
|
+ // for (var i=0; i<this.syShippingDetailsItemList.length;i++){
|
|
- var tableRow = this.syShippingDetailsItemList[i];
|
|
+ // var tableRow = this.syShippingDetailsItemList[i];
|
|
- for (var j=i+1;j<this.syShippingDetailsItemList.length; j++){
|
|
+ // for (var j=i+1;j<this.syShippingDetailsItemList.length; j++){
|
|
- var nextData = this.syShippingDetailsItemList[j];
|
|
+ // var nextData = this.syShippingDetailsItemList[j];
|
|
- if (tableRow.smallPo == nextData.smallPo && tableRow.orderNumber == nextData.orderNumber &&
|
|
+ // if (tableRow.smallPo == nextData.smallPo && tableRow.orderNumber == nextData.orderNumber &&
|
|
- tableRow.preDeliveryDate == nextData.preDeliveryDate && tableRow.preCompletionDate == nextData.preCompletionDate &&
|
|
+ // tableRow.preDeliveryDate == nextData.preDeliveryDate && tableRow.preCompletionDate == nextData.preCompletionDate &&
|
|
- tableRow.itemNumber == nextData.itemNumber && tableRow.inventoryCode == nextData.inventoryCode&&
|
|
+ // tableRow.itemNumber == nextData.itemNumber && tableRow.inventoryCode == nextData.inventoryCode&&
|
|
- tableRow.colour == nextData.colour&& tableRow.size == nextData.size){
|
|
+ // tableRow.colour == nextData.colour&& tableRow.size == nextData.size){
|
|
- this.$message.error('第'+(i+1)+'行和第'+(j+1)+'行数据相同,无法保存');
|
|
+ // this.$message.error('第'+(i+1)+'行和第'+(j+1)+'行数据相同,无法保存');
|
|
- this.judge += 1
|
|
+ // this.judge += 1
|
|
- return;
|
|
+ // return;
|
|
- }
|
|
+ // }
|
|
- }
|
|
+ // }
|
|
- }
|
|
+ // }
|
|
for (var i=0; i<this.syShippingDetailsItemList.length;i++){
|
|
for (var i=0; i<this.syShippingDetailsItemList.length;i++){
|
|
var tableRow = this.syShippingDetailsItemList[i];
|
|
var tableRow = this.syShippingDetailsItemList[i];
|
|
//是否未填
|
|
//是否未填
|