| | |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="入库类型"> |
| | | <el-col v-if="showOperationType" :span="12"> |
| | | <el-form-item label="入库类型" prop="operationTypeId"> |
| | | <el-select |
| | | v-if="showOperationType" |
| | | v-model="editConfig.infomation.operationTypeId" |
| | | placeholder="请选择" |
| | | size="mini" |
| | |
| | | <el-option v-for="item in operationTypeOptions" :key="item.id" :label="item.name" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | <el-input v-else v-model="receiptType" disabled style="width: 90%"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col v-else :span="12"> |
| | | <el-form-item label="入库类型"> |
| | | <el-input v-model="receiptType" disabled style="width: 90%"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | sourceNumber: [{ required: true, message: "请输入来源单据", trigger: "blur" }], |
| | | operationDate: [{ required: true, message: "请选择日期", trigger: "change" }], |
| | | toLocationId: [{ required: true, message: "请选择仓库位置", trigger: "change" }], |
| | | fromLocationId: [{ required: true, message: "请选择源位置", trigger: "change" }] |
| | | fromLocationId: [{ required: true, message: "请选择源位置", trigger: "change" }], |
| | | operationTypeId: [{ required: true, message: "请选择入库类型", trigger: "change" }] |
| | | }, |
| | | companyOptions: [], // 公司 |
| | | memberOptions: [{ id: 1, name: "管理员" }], |
| | |
| | | this.showEdit = false |
| | | this.showFooter = true |
| | | this.isValidateClick = false |
| | | } else if (this.editConfig.infomation.status === 4) { |
| | | } else if (this.editConfig.infomation.status === 4||this.editConfig.infomation.status === "完成") { |
| | | this.showButton = true |
| | | this.showEdit = false |
| | | this.isDelClick = true |
| | |
| | | this.showFooter = false |
| | | this.isValidateClick = false |
| | | } else { |
| | | // 就绪--- |
| | | this.showButton = true |
| | | this.showEdit = true |
| | | this.showFooter = false |
| | |
| | | this.list[0].status = "active" |
| | | } else { |
| | | this.list.map((item) => { |
| | | if (item.value === this.editConfig.infomation.status) { |
| | | console.log(item,this.editConfig.infomation.status,"打印信息") |
| | | if (item.value === this.editConfig.infomation.status||item.label===this.editConfig.infomation.status) { |
| | | item.status = "active" |
| | | } else { |
| | | item.status = "todo" |