yangfeng
2023-09-22 8d04706059fecaa6afb485830af291269919c58d
新建/编辑产品弹窗新增字段接口联调
1个文件已删除
1个文件已修改
323 ■■■■ 已修改文件
src/views/other/product/index.vue 216 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productManage/product/AddProductDialog.vue 107 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other/product/index.vue
File was deleted
src/views/productManage/product/AddProductDialog.vue
@@ -36,7 +36,6 @@
          <el-button plain size="mini" disabled>更新数量</el-button>
          <el-button plain size="mini" disabled>执行补货</el-button>
        </div>
        <div class="basic-info">
          <FormBtnsView
            :add-product="addProduct"
@@ -130,7 +129,6 @@
                      :disabled="!showFooter"
                    ></el-input>
                  </el-form-item>
                  <el-form-item label="产品标签" prop="productTagName" style="margin-left: 20px">
                    <el-input
                      v-model="editConfig.infomation.productTagName"
@@ -245,7 +243,6 @@
                    </el-checkbox-group>
                  </el-form-item>
                </div> -->
                <div class="left">
                  <el-form-item label="负责人" prop="principal" style="margin-left: 20px" label-width="80px">
                    <el-select
@@ -287,6 +284,40 @@
                <div class="right">
                  <el-form-item
                    label="制造前置时间"
                    prop="makeAdvanceTime"
                    style="margin-left: 20px"
                    label-width="130px"
                  >
                    <el-input-number
                      v-model="editConfig.infomation.makeAdvanceTime"
                      placeholder="请输入"
                      :min="0"
                      :precision="0"
                      :controls="false"
                      style="width: 85%"
                      :disabled="!showFooter"
                    ></el-input-number>
                    <span> 天数</span>
                  </el-form-item>
                  <el-form-item
                    label="生产订单准备天数"
                    prop="orderAdvanceTime"
                    style="margin-left: 20px"
                    label-width="130px"
                  >
                    <el-input-number
                      v-model="editConfig.infomation.orderAdvanceTime"
                      placeholder="请输入"
                      :min="0"
                      :precision="0"
                      :controls="false"
                      style="width: 85%"
                      :disabled="!showFooter"
                    ></el-input-number>
                    <span> 天数</span>
                  </el-form-item>
                  <el-form-item
                    label="客户前置时间"
                    prop="deliveryAdvanceTime"
                    style="margin-left: 20px"
                    label-width="130px"
@@ -300,37 +331,7 @@
                      style="width: 85%"
                      :disabled="!showFooter"
                    ></el-input-number>
                    <span> 天数</span>
                  </el-form-item>
                  <el-form-item
                    label="生产订单准备天数"
                    prop="customerTaxes"
                    style="margin-left: 20px"
                    label-width="130px"
                  >
                    <el-input-number
                      v-model="editConfig.infomation.customerTaxes"
                      placeholder="请输入"
                      :min="0"
                      :precision="0"
                      :controls="false"
                      style="width: 85%"
                      :disabled="!showFooter"
                    ></el-input-number>
                    <span> 天数</span>
                  </el-form-item>
                  <el-form-item label="客户前置时间" prop="aaa" style="margin-left: 20px" label-width="130px">
                    <el-select
                      v-model="editConfig.infomation.aaa"
                      multiple
                      placeholder="请选择"
                      size="mini"
                      style="width: 85%"
                      :disabled="!showFooter"
                    >
                      <el-option v-for="item in aaaOptions" :key="item.id" :label="item.username" :value="item.id">
                      </el-option>
                    </el-select>
                    <span> 天</span>
                  </el-form-item>
                </div>
              </div>
@@ -483,7 +484,6 @@
      </el-form>
      <!-- 尾 -->
      <div v-if="showFooter" slot="footer" class="dialog-footer">
        <!-- <el-button type="primary" size="small" @click="editConfig.visible = false">保并提交审批</el-button> -->
        <el-button type="primary" size="small" @click="saveClick('form')">保存</el-button>
        <el-button size="small" @click="editConfig.visible = false">取消</el-button>
      </div>
@@ -523,12 +523,7 @@
        salePrice: [{ required: true, message: "请输入销售价格", trigger: "blur" }],
        unit: [{ required: true, message: "请输入单位", trigger: "blur" }]
      },
      memberOptions: [
        {
          name: "admin",
          id: 1
        }
      ],
      memberOptions: [{ name: "管理员", id: 1 }],
      productCategoryOptions: [], // 产品类别
      productTypeOptions: [
        { name: "能消耗", id: 1 },
@@ -557,30 +552,12 @@
      showProcure: true,
      showSale: true,
      materialTypeList: [
        {
          name: "原材料",
          id: "原材料"
        },
        {
          name: "半成品",
          id: "半成品"
        },
        {
          name: "成品",
          id: "成品"
        },
        {
          name: "辅料",
          id: "辅料"
        },
        {
          name: "耗材",
          id: "耗材"
        },
        {
          name: "其他",
          id: "其他"
        }
        { name: "原材料", id: "原材料" },
        { name: "半成品", id: "半成品" },
        { name: "成品", id: "成品" },
        { name: "辅料", id: "辅料" },
        { name: "耗材", id: "耗材" },
        { name: "其他", id: "其他" }
      ]
    }
  },