8/26 工位组别修改

20240912_adapter_z
wangwei 10 months ago
parent 60c7fd5ad1
commit b56b0e37ac

@ -552,21 +552,27 @@
<el-row :gutter="20" class="el-row" type="flex"> <el-row :gutter="20" class="el-row" type="flex">
<el-col class="el-col"> <el-col class="el-col">
<el-form-item label="上级菜单" prop="parentCode"> <el-form-item label="上级菜单" prop="parentCode">
<el-select v-model="subData.parentCode" placeholder="选择上级菜单" <!--<el-select v-model="subData.parentCode" placeholder="选择上级菜单"-->
style="width: 80%" <!-- style="width: 80%"-->
clearable <!-- clearable-->
<!-- disabled-->
<!--&gt;-->
<!-- <el-option-->
<!-- v-for="item in fromDeptOptions"-->
<!-- :key="item.parentCode"-->
<!-- :label="item.parentName"-->
<!-- :value="item.parentCode"-->
<!-- >-->
<!-- <span style="float: left">{{ item.parentName }}</span>-->
<!-- </el-option>-->
<!--</el-select>-->
<el-input
v-model="subData.parentName" style="width: 80%"
placeholder="全部"
auto-complete="off"
disabled disabled
> >
<el-option </el-input>
v-for="item in fromDeptOptions"
:key="item.parentCode"
:label="item.parentName"
:value="item.parentCode"
>
<span style="float: left">{{ item.parentName }}</span>
</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -696,7 +702,7 @@ export default {
chargeUser: null, chargeUser: null,
constituencies: null, constituencies: null,
invRemindNumber: 0, invRemindNumber: 0,
remake: null, remake: null
}, },
workplaceCode: '6001', workplaceCode: '6001',
unitStorageList: [], unitStorageList: [],
@ -752,7 +758,7 @@ export default {
}, },
inoutTypes: { inoutTypes: {
1: '入库', 1: '入库',
2: '出库', 2: '出库'
}, },
corpTypeMap: { corpTypeMap: {
1: '客户', 1: '客户',
@ -767,7 +773,7 @@ export default {
}, },
orderCirTypes: { orderCirTypes: {
1: '流通计量单位', 1: '流通计量单位',
2: '使用计量单位', 2: '使用计量单位'
}, },
workplaceStatusMap: { workplaceStatusMap: {
0: '暂停', 0: '暂停',
@ -800,7 +806,10 @@ export default {
edit: '编辑' edit: '编辑'
}, },
subFormVisible: false, subFormVisible: false,
subData: {}, subData: {
parentName: '全部',
parentCode: '1001'
},
groupData: null, groupData: null,
total: 0, total: 0,
userTotal: 0, userTotal: 0,
@ -862,10 +871,10 @@ export default {
workplaceType: 3, workplaceType: 3,
deptCode: null, deptCode: null,
chargeUser: null, chargeUser: null,
constituencies: "1001", constituencies: '1001',
invRemindNumber: 0, invRemindNumber: 0,
remake: null, remake: null
}; }
if (this.groupData != null) { if (this.groupData != null) {
this.formData.constituencies = this.groupData.code this.formData.constituencies = this.groupData.code
} }
@ -1238,10 +1247,10 @@ export default {
}).then(() => { }).then(() => {
removeBusTypeById(row).then(res => { removeBusTypeById(row).then(res => {
if (res.code == 20000) { if (res.code == 20000) {
this.$message.success('除成功') this.$message.success('除成功')
this.getWorkBindBusTypes() this.getWorkBindBusTypes()
} else { } else {
this.$message.error("移除失败") this.$message.error('删除失败')
} }
}) })
}).catch(() => { }).catch(() => {

Loading…
Cancel
Save