zhangwencui
昨天 cb2e3013e8c9db6b60dc89517575a4ffc52d7bdb
src/views/salesManagement/salesLedger/index.vue
@@ -180,7 +180,7 @@
                  {{ scope.row.perimeter ?? "" }}
                </template>
              </el-table-column>
              <el-table-column label="总面积(cm²)"
              <el-table-column label="总面积(m²)"
                               prop="actualTotalArea"
                               min-width="100">
                <template #default="scope">
@@ -351,6 +351,10 @@
                         show-overflow-tooltip />
        <el-table-column label="备注"
                         prop="remarks"
                         width="200"
                         show-overflow-tooltip />
        <el-table-column label="客户备注"
                         prop="customerRemarks"
                         width="200"
                         show-overflow-tooltip />
        <el-table-column fixed="right"
@@ -820,12 +824,12 @@
                               type="primary"
                               size="small"
                               @click="openOtherAmountInline(scope.row)">
                      其他金额({{ (scope.row.salesProductProcessList || []).length || 0 }})
                      额外加工({{ (scope.row.salesProductProcessList || []).length || 0 }})
                    </el-button>
                  </template>
                  <div style="display:flex; align-items:center; justify-content:space-between; gap: 10px; margin-bottom: 8px;">
                    <div style="font-weight: 600; color:#303133;">
                      其他金额
                      额外加工
                    </div>
                    <el-button type="primary"
                               plain
@@ -840,7 +844,7 @@
                    <el-select v-model="scope.row.__inlineOtherAmountAddId"
                               filterable
                               clearable
                               placeholder="请选择其他金额项目"
                               placeholder="请选择额外加工项目"
                               style="width: 100%;">
                      <el-option v-for="item in otherAmountSelectOptions"
                                 :key="item.id"
@@ -887,7 +891,7 @@
                  </div>
                  <div v-else
                       style="color:#909399; font-size: 13px;">
                    暂无其他金额
                    暂无额外加工
                  </div>
                </el-popover>
              </template>
@@ -910,12 +914,12 @@
                               size="small"
                               :disabled="isProductShipped(scope.row)"
                               @click="openOtherAmountInline(scope.row)">
                      其他金额({{ (scope.row.salesProductProcessList || []).length || 0 }})
                      额外加工({{ (scope.row.salesProductProcessList || []).length || 0 }})
                    </el-button>
                  </template>
                  <div style="display:flex; align-items:center; justify-content:space-between; gap: 10px; margin-bottom: 8px;">
                    <div style="font-weight: 600; color:#303133;">
                      其他金额
                      额外加工
                    </div>
                    <el-button type="primary"
                               plain
@@ -931,7 +935,7 @@
                    <el-select v-model="scope.row.__inlineOtherAmountAddId"
                               filterable
                               clearable
                               placeholder="请选择其他金额项目"
                               placeholder="请选择额外加工项目"
                               style="width: 100%;"
                               :disabled="isProductShipped(scope.row)">
                      <el-option v-for="item in otherAmountSelectOptions"
@@ -981,7 +985,7 @@
                  </div>
                  <div v-else
                       style="color:#909399; font-size: 13px;">
                    暂无其他金额
                    暂无额外加工
                  </div>
                </el-popover>
              </template>
@@ -1954,6 +1958,30 @@
      proxy.$modal.msgWarning("请选择产品大类");
      return false;
    }
    if (row.width <= 0) {
      proxy.$modal.msgWarning("宽必须大于0");
      return false;
    }
    if (row.height <= 0) {
      proxy.$modal.msgWarning("高必须大于0");
      return false;
    }
    if (row.settlePieceArea <= 0) {
      proxy.$modal.msgWarning("结算单片面积必须大于0");
      return false;
    }
    if (row.quantity <= 0) {
      proxy.$modal.msgWarning("数量必须大于0");
      return false;
    }
    if (row.actualTotalArea <= 0) {
      proxy.$modal.msgWarning("面积必须大于0");
      return false;
    }
    if (row.taxInclusiveUnitPrice <= 0) {
      proxy.$modal.msgWarning("含税单价必须大于0");
      return false;
    }
    if (!row.productModelId) {
      proxy.$modal.msgWarning("请选择规格型号");
      return false;