| | |
| | | size="mini" |
| | | > |
| | | <div class="content-number-bg"> |
| | | <FormBtnsView :showPosition="true" :showWarehouse="false" @productClick="productClick" /> |
| | | <FormBtnsView :showPosition="true" :showPositionCursor="this.editConfig.title != '新建'?true:false" @positionReport="positionReport" :showWarehouse="false" @productClick="productClick" /> |
| | | </div> |
| | | <div class="basic-info"> |
| | | <div class="basic-info-view"> |
| | |
| | | v-model="editConfig.infomation.parentId" |
| | | placeholder="请选择" |
| | | size="mini" |
| | | :disabled="editCommonConfig.title=='编辑'" |
| | | :disabled="editCommonConfig.title!='新建'" |
| | | style="width: 90%" |
| | | > |
| | | <el-option v-for="item in positionList" :key="item.id" :label="item.name" :value="item.id"> |
| | | <el-option v-for="item in positionList" :key="item.id" :label="item.jointName" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | <el-select |
| | | v-model="editConfig.infomation.type" |
| | | filterable |
| | | :disabled="editCommonConfig.title=='编辑'" |
| | | :disabled="editCommonConfig.title!='新建'" |
| | | placeholder="请选择" |
| | | style="width: 90%" |
| | | no-data-text="暂无数据" |
| | |
| | | callback() |
| | | } |
| | | }, |
| | | // 当前库存 |
| | | positionReport(){ |
| | | if(this.editConfig.title != '新建'){ |
| | | this.$router.push({ |
| | | name: "locationReport", |
| | | params: { |
| | | positionId: this.editConfig.infomation.id |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | // 路线 |
| | | productClick() {}, |
| | | // 设置删除/打印/编辑是否显示 |
| | | setBottonView() { |
| | | if (this.editConfig.title === "新建") { |
| | | if (this.editConfig.title === "新建"||this.editConfig.title === "编辑") { |
| | | this.showEdit = false |
| | | this.showFooter = true |
| | | } else if (this.editConfig.infomation.status === "完成") { |