| | |
| | | // 强制下架策略 |
| | | const forceRemovalStrategy = [ |
| | | { |
| | | name: "请选择", |
| | | id: 0 |
| | | }, |
| | | { |
| | | name: "First In First Out (FIFO)", |
| | | id: 1 |
| | | }, |
| | |
| | | //成本方法 |
| | | const costingMethod = [ |
| | | { |
| | | name: "请选择", |
| | | id: 0 |
| | | }, |
| | | { |
| | | name: "标准价格", |
| | | id: 1 |
| | | }, |
| | |
| | | // 库存计价 |
| | | const inventoryValuation = [ |
| | | { |
| | | name: "请选择", |
| | | id: 0 |
| | | }, |
| | | { |
| | | name: "手动", |
| | | id: 1 |
| | | }, |
| | |
| | | style="width: 85%" |
| | | :disabled="!showFooter" |
| | | > |
| | | <el-option v-for="item in productCategoryList" :key="item.id" :label="item.name" :value="item.id"> |
| | | <el-option v-for="item in productCategoryListWithDefault" :key="item.id" :label="item.name" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | } |
| | | }, |
| | | components: {}, |
| | | computed: {}, |
| | | computed: { |
| | | productCategoryListWithDefault(){ |
| | | console.log(this.productCategoryList) |
| | | return [{id:0,name:'请选择'},...(this.productCategoryList?? [])] |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | dialogWidth: "50%", |