yangfeng
2024-03-29 00d1a771adb136642f67ce281c09d7c32cb1f697
src/views/orderManageModule/orderManage/components/DeliveryDialog.vue
@@ -173,6 +173,16 @@
      this.$refs[formName].validate((valid) => {
        if (valid) {
          console.log(this.ruleForm, "保存内容处理", this.tableData)
          let isDeliveryCount = false
          this.tableData.map((item) => {
            if (item.deliveryAmount == 0) {
              isDeliveryCount = true
              return
            }
          })
          if (isDeliveryCount) {
            this.$message.error("发货数量必须大于0")
          } else {
          let deliveryList = this.tableData.map((item) => {
            return {
              outsourcingOrderProductID: item.id,
@@ -194,6 +204,7 @@
            }
          })
        }
        }
      })
    },
    // 全部发货完成