已修改6个文件
48 ■■■■ 文件已修改
src/views/equipmentManagement/upkeep/Form/DetailDialog.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/inventoryManagement/dispatchLog/Record.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/inventoryManagement/receiptManagement/Record.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/inventoryManagement/stockManagement/Subtract.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/inventoryManagement/stockReport/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionManagement/productStatistics/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/equipmentManagement/upkeep/Form/DetailDialog.vue
@@ -54,9 +54,9 @@
             class="image-list">
          <el-image v-for="(image, index) in imagesFile"
                    :key="index"
                    :src="image.url"
                    :src="baseUrl + image.url"
                    fit="cover"
                    class="image-item" />
                    class="image-item">{{image.url}}</el-image>
        </div>
        <span v-else>-</span>
      </el-form-item>
@@ -70,8 +70,9 @@
</template>
<script setup>
  import { ref, watch, computed } from "vue";
  import { ref, watch, computed, getCurrentInstance } from "vue";
  import dayjs from "dayjs";
  const { proxy } = getCurrentInstance();
  const props = defineProps({
    visible: {
@@ -83,6 +84,7 @@
      default: () => ({}),
    },
  });
  const baseUrl = proxy.javaApi;
  const emit = defineEmits(["update:visible", "close"]);
src/views/inventoryManagement/dispatchLog/Record.vue
@@ -77,6 +77,11 @@
                    show-overflow-tooltip
                />
                <el-table-column
                    label="净重(吨)"
                    prop="netWeight"
                    show-overflow-tooltip
                />
                <el-table-column
                    label="出库人"
                    prop="createBy"
                    show-overflow-tooltip
src/views/inventoryManagement/receiptManagement/Record.vue
@@ -73,6 +73,10 @@
        <el-table-column label="入库数量"
                         prop="stockInNum"
                         show-overflow-tooltip/>
        <el-table-column label="净重(吨)"
                         prop="netWeight"
                         v-if="type === '0'"
                         show-overflow-tooltip/>
        <el-table-column label="入库人"
                         prop="createBy"
                         show-overflow-tooltip/>
@@ -85,10 +89,6 @@
        </el-table-column>
        <el-table-column label="过磅日期"
                         prop="weighingDate"
                         v-if="type === '0'"
                         show-overflow-tooltip/>
        <el-table-column label="净重(吨)"
                         prop="netWeight"
                         v-if="type === '0'"
                         show-overflow-tooltip/>
      </el-table>
src/views/inventoryManagement/stockManagement/Subtract.vue
@@ -44,6 +44,14 @@
          <el-input-number v-model="formState.qualitity" :step="1" :min="1" :max="maxQuality" style="width: 100%" />
        </el-form-item>
        <el-form-item
            v-if="isRawMaterial"
            label="净重"
            prop="netWeight"
        >
          <el-input-number v-model="formState.netWeight" :precision="2" :step="0.01" :min="0" style="width: 100%" />
        </el-form-item>
        <el-form-item label="备注" prop="remark">
          <el-input v-model="formState.remark" type="textarea" />
        </el-form-item>
@@ -97,6 +105,10 @@
  return props.record.unLockedQuantity ? props.record.unLockedQuantity :  0;
})
const isRawMaterial = computed(() => {
  return props.record.parentName === '原材料';
})
const initFormData = () => {
  if (props.record) {
    formState.value = {
@@ -113,6 +125,7 @@
  model: "",
  unit: "",
  qualitity: 0,
  netWeight: undefined,
  remark: '',
});
@@ -135,8 +148,11 @@
    productId: undefined,
    productModelId: undefined,
    productName: "",
    productModelName: "",
    description: '',
    model: "",
    unit: "",
    qualitity: 0,
    netWeight: undefined,
    remark: '',
  };
  isShow.value = false;
};
src/views/inventoryManagement/stockReport/index.vue
@@ -214,6 +214,11 @@
             prop="currentStock"
             align="center"
           />
            <el-table-column
             label="现净重(吨)"
             prop="currentWeight"
             align="center"
           />
           <el-table-column label="来源"
                            prop="recordType"
                            v-if="searchForm.reportType !== 'inout'"
src/views/productionManagement/productStatistics/index.vue
@@ -30,7 +30,7 @@
          {{ row.inputQuantity === 0 ? '-' : row.inputQuantity }}
        </template>
        <template #outputQuantitySlot="{ row }">
          {{ row.outputQuantity === 0 ? '-' : row.inputQuantity }}
          {{ row.outputQuantity === 0 ? '-' : row.outputQuantity }}
        </template>
      </PIMTable>
    </div>