Commit b68b9da2 authored by xioln's avatar xioln

入库流程编辑修改

parent afb8f9c8
...@@ -9,17 +9,15 @@ ...@@ -9,17 +9,15 @@
<edit-purchase v-if="purchaseVis" :basic-data="basicData" /> <edit-purchase v-if="purchaseVis" :basic-data="basicData" />
<dee-as-com <dee-as-com
v-else v-else
:key="refreshKey"
ref="itemTable" ref="itemTable"
style="border:none;" style="border:none;"
model-name="InStorageUse"
:lay-config="cmpOptions" :lay-config="cmpOptions"
:basic-data="basicData" :basic-data="basicData"
/> />
</div> </div>
</template> </template>
<script> <script>
import EditPurchase from '@/privateComponents/components/PurchasingWarehousingProcess' import EditPurchase from '@/privateComponents/components/PurchasingWarehousingNewOrEdit'
export default { export default {
name: 'FlowEdit', // name写在组件的最前方,自定义组件为必填 name: 'FlowEdit', // name写在组件的最前方,自定义组件为必填
components: { EditPurchase }, components: { EditPurchase },
...@@ -45,6 +43,7 @@ export default { ...@@ -45,6 +43,7 @@ export default {
deep: true, deep: true,
handler(val) { handler(val) {
if (val && val.subTypeName) { if (val && val.subTypeName) {
console.log('v7765675al', val)
switch (val.subTypeName) { switch (val.subTypeName) {
case 'InStorageRecall': case 'InStorageRecall':
this.cmpOptions = { this.cmpOptions = {
...@@ -71,8 +70,6 @@ export default { ...@@ -71,8 +70,6 @@ export default {
}, },
created() { created() {
// 初始化数据 // 初始化数据
console.log(' this.basicData', this.basicData)
console.log(' this.form', this.form)
}, },
methods: { methods: {
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</template> </template>
<script> <script>
import config from './config' import config from './config'// 默认值为extWorkCenteName不是extWorkCenterName
import _get from 'lodash.get' import _get from 'lodash.get'
import _set from 'lodash.set' import _set from 'lodash.set'
export default { export default {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment