|
@@ -321,12 +321,26 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="关联流程" prop="">
|
|
|
-
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="关联流程" prop="relFlow">
|
|
|
+ <el-select style="width: 100%" v-model="form.relFlow" size="small">
|
|
|
+ <el-option
|
|
|
+ v-for="dict in flowDict"
|
|
|
+ :key="dict.id"
|
|
|
+ :label="dict.flowName"
|
|
|
+ :value="dict.id"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="6">
|
|
|
+ <el-col :span="16">
|
|
|
+ <el-form-item>
|
|
|
+ <el-steps :active="3">
|
|
|
+ <el-step title="步骤1"></el-step>
|
|
|
+ <el-step title="步骤2"></el-step>
|
|
|
+ <el-step title="步骤3"></el-step>
|
|
|
+ </el-steps>
|
|
|
+ </el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-divider content-position="center">批次属性信息</el-divider>
|
|
@@ -361,7 +375,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listFlowConfig, getFlowConfig, delFlowConfig, addFlowConfig, updateFlowConfig, queryLotattConfigListActive } from "@/api/ams/flowConfig";
|
|
|
+import { listFlowConfig, getFlowConfig, delFlowConfig, addFlowConfig, updateFlowConfig, queryLotattConfigListActive, flowConfigDict } from "@/api/ams/flowConfig";
|
|
|
import { querySkuTypeDict } from "@/api/base/skuType";
|
|
|
import { treeselectLocationZone } from "@/api/base/locationZone";
|
|
|
import { querySupplierDict } from "@/api/base/supplier";
|
|
@@ -435,7 +449,8 @@ export default {
|
|
|
{label : '入库', value : 'ASN'},
|
|
|
{label : '出库', value : 'SO'},
|
|
|
{label : '移库', value : 'MV'}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ flowDict: []
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -486,7 +501,9 @@ export default {
|
|
|
createTime: null,
|
|
|
updateBy: null,
|
|
|
updateTime: null,
|
|
|
- remark: null
|
|
|
+ remark: null,
|
|
|
+ relFlow: '',
|
|
|
+ rootFlow: ''
|
|
|
};
|
|
|
this.flowConfigDetailsList = [];
|
|
|
this.resetForm("form");
|
|
@@ -667,6 +684,11 @@ export default {
|
|
|
this.supplierCombo = response.data;
|
|
|
});
|
|
|
|
|
|
+ //查询流程配置字典
|
|
|
+ flowConfigDict().then(response => {
|
|
|
+ this.flowDict = response.data;
|
|
|
+ });
|
|
|
+
|
|
|
// 初始化库位
|
|
|
treeselectLocationZone().then(response => {
|
|
|
this.locationFromOptions = response.data;
|