Преглед изворни кода

选择放箱号 只保存大于0的值

Qukatie пре 6 дана
родитељ
комит
817b16ccf2

+ 1 - 0
src/views/iosBasicData/SeafreightExportF/bills/assembly/EntrustmentLnformation/precontainers.vue

@@ -725,6 +725,7 @@ export default {
             if (occupyNumSum != this.boxForm.quantity) {
             if (occupyNumSum != this.boxForm.quantity) {
               return this.$message.error(`明细数据所有占用箱量的和必须等于箱量:${this.boxForm.quantity}!`);
               return this.$message.error(`明细数据所有占用箱量的和必须等于箱量:${this.boxForm.quantity}!`);
             }
             }
+            this.containerNumberItemList.filter(item => item.occupyNum > 0)
             selectedContainerNumber(this.containerNumberItemList).then(res => {
             selectedContainerNumber(this.containerNumberItemList).then(res => {
               this.$message.success("操作成功!");
               this.$message.success("操作成功!");
               this.dialogVisible = false;
               this.dialogVisible = false;