Prechádzať zdrojové kódy

托书节点同步后的数据不能修改费用支出,删除无关debugger

jbb 2 rokov pred
rodič
commit
3e93d05f5d

+ 0 - 1
src/views/book/addBookDrawer.vue

@@ -670,7 +670,6 @@ export default {
         //     item.price = (item.totalPrice/item.netWeight).toFixed(2)
         //  }
       })
-          debugger
         // var subList = this.convertReferToSub(data);
         this.addBookData = this.addBookData.concat(data);
         this.addBook.termsOfDeliveryvalue = 'FOB'

+ 3 - 0
src/views/book/book-list.vue

@@ -446,6 +446,9 @@ export default {
               this.$refs.detailsBookDrawer.addBookData = data.syShippingOrderItemList
               this.$refs.detailsBookDrawer.rmbList = data.rmbList
               this.$refs.detailsBookDrawer.usdList = data.usdList
+              if(data.syStuta == 0){
+                this.$refs.detailsBookDrawer.disabled = false
+              }
             }
              
           //  this.bookListData = res.result.records

+ 1 - 1
src/views/book/detailsBookDrawer.vue

@@ -256,7 +256,7 @@
         }"
       >
           <a-button :style="{ marginRight: '8px' }" @click="handleCancel">关闭</a-button>
-          <a-button :style="{ marginRight: '8px' }" @click="editMoney">保存</a-button>
+          <a-button type="primary" :style="{ marginRight: '8px' }" @click="editMoney" :disabled="disabled">保存</a-button>
 
       </div>
     </a-drawer>

+ 0 - 2
src/views/packing-list/packinglist-clothes/referencePrePacklist.vue

@@ -384,10 +384,8 @@ export default {
         this.$message.error('请选择数据');
       } else{
         var id = this.selectedRowKeys.toString()
-        debugger
          queryOrderData({ids:id}).then(res => {
          if (res.success) {
-           debugger
          this.loading = false
           this.$emit('callback', this.selectedRowKeys);
             this.close()

+ 0 - 1
src/views/shipment-details/referOrderDataModal.vue

@@ -592,7 +592,6 @@ export default {
          this.garmentArr.push(item.garmentFactory)
          this.customerArr.push(item.customerAbbreviation)
       })
-      debugger
       this.customerArr = [...new Set(this.customerArr)]
       if([...new Set(orderTest)].length == 1 && [...new Set(poTest)].length == 1 &&[...new Set(preDeliveryTest)].length == 1&&
       [...new Set(preCompletionTest)].length == 1 && [...new Set(itemNumberTest)].length == 1 &&[...new Set(inventoryCodeTest)].length !== 1&&