chengxiangling
2025-05-15 65f86f41dedbbbb7030e2f37ce3e001bbca4923a
src/views/mainPlan/platePlan/index.vue
@@ -9,13 +9,13 @@
      label-position="left"
    >
      <el-row :gutter="20">
        <el-col :span="12">
        <el-col :span="8">
          <el-form-item
            :label-width="locale === 'zh' ? '90px' : '140px'"
            :label="$t('plan.query.daterangePlanStartDay')"
            :style="{ width: '100%'  }"
          >
          <!-- locale === 'zh' ? '220px' : '240px' -->
            <el-date-picker
              :style="{ width: locale === 'zh' ? '220px' : '240px' }"
              v-model="daterangePlanStartDay"
              value-format="YYYY-MM-DD"
              type="daterange"
@@ -25,13 +25,12 @@
            ></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12">
        <el-col :span="8">
          <el-form-item
            :label-width="locale === 'zh' ? '90px' : '140px'"
            :style="{ width: '100%'  }"
            :label="$t('plan.query.daterangePlanEndDay')"
          >
            <el-date-picker
              :style="{ width: locale === 'zh' ? '220px' : '240px' }"
              v-model="daterangePlanEndDay"
              value-format="YYYY-MM-DD"
              type="daterange"
@@ -41,16 +40,13 @@
            ></el-date-picker>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="12">
        <el-col :span="8">
          <el-form-item
            :label-width="locale === 'zh' ? '90px' : '140px'"
            :style="{ width: '100%'  }"
            :label="$t('plan.query.documentNumber')"
            prop="documentNumber"
          >
            <el-input
              :style="{ width: locale === 'zh' ? '220px' : '240px' }"
              v-model="queryParams.documentNumber"
              :placeholder="$t('plan.placeholder.documentNumber')"
              clearable
@@ -58,10 +54,11 @@
            />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item :label-width="locale === 'zh' ? '90px' : '140px'" :label="$t('plan.query.customer')" prop="customer">
      </el-row>
      <el-row>
        <el-col :span="6">
          <el-form-item :style="{ width: '100%'  }" :label="$t('plan.query.customer')" prop="customer">
            <el-input
              :style="{ width: locale === 'zh' ? '220px' : '240px' }"
              v-model="queryParams.customer"
              :placeholder="$t('plan.placeholder.customer')"
              clearable
@@ -69,10 +66,8 @@
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24" style="text-align: right">
          <el-form-item>
        <el-col :span="18" style="text-align: right">
          <el-form-item class="column-with-margin">
            <el-button type="primary" icon="Search" @click="handleQuery">{{
              $t("common.common.query")
            }}</el-button>
@@ -567,7 +562,7 @@
      {
        title: t("plan.table.mainPartNumber"),
        field: "mainPartNumber",
        width: 150,
        width: 160
      },
      // {
      //   title: '主件图号',
@@ -577,37 +572,37 @@
      {
        title: t('plan.table.customer'),
        field: 'customer',
        width: 200,
        width: 160
      },
      {
        title: t("plan.table.businessType"),
        field: "businessType",
        width: 100,
        width: "auto",
      },
      {
        title: t("plan.table.documentNumber"),
        field: "documentNumber",
        width: 140,
        width: "auto",
      },
      {
        title: t("plan.table.requirementType"),
        field: "requirementType",
        width: 100,
        width: "auto",
      },
      {
        title: t("plan.table.documentStatus"),
        field: "documentStatus",
        width: 100,
        width: "auto",
      },
      {
        title: t("plan.table.itemNumber"),
        field: "itemNumber",
        width: 100,
        width: "auto",
      },
      {
        title: t("plan.table.drawingNo"),
        field: "drawingNo",
        width: 100,
        width: 200,
      },
      // {
      //   title: '版本号',
@@ -617,7 +612,7 @@
      {
        title: t("plan.table.productionQuantity"),
        field: "productionQuantity",
        width: 100,
        width: "auto",
      },
      // {
      //   title: '良品数量',
@@ -627,12 +622,12 @@
      {
        title: t("plan.table.processNumber"),
        field: "processNumber",
        width: 100,
        width: "auto",
      },
      {
        title: t("plan.table.factoryCenter"),
        field: "workCenter",
        width: 180,
        width: "auto",
      },
      // {
      //   title: '所属部门',
@@ -647,7 +642,7 @@
      {
        title: t("plan.table.planEndDayDate"),
        field: "planEndDay",
        width: 100,
        width: 160,
      },
      // {
      //   title: '备料料号',
@@ -682,7 +677,7 @@
      {
        title: t('plan.table.account'),
        field: 'account',
        width: 100,
        width: "auto",
        // formatter: ({ cellValue, row, column }) => {
        //   if (cellValue) {
        //     console.log(cellValue,aps_account.value,"llll")
@@ -1052,7 +1047,15 @@
getList();
</script>
<style lang="css" scoped>
.column-with-margin {
  margin-right: 0px;
}
h4 {
  font-weight: bold;
}
</style>
<style>
.vxe-cell{
  padding:0 20px;
}
</style>