生产计划
This commit is contained in:
@@ -110,3 +110,21 @@ export function submitAdd(name) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 查询二级模块分给那些角色
|
||||||
|
export function searchJS(name) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
UserID: state.state.user.id,
|
||||||
|
ModularID: router.currentRoute.path,
|
||||||
|
type: '3',
|
||||||
|
name: ` select 角色功能,title from
|
||||||
|
基础表_模块信息 inner join 基础表_角色模块信息 on 基础表_角色模块信息.id = 基础表_模块信息.id
|
||||||
|
inner join 菜单系统模块_项目角色 on 基础表_角色模块信息.角色编号 = 菜单系统模块_项目角色.角色编号
|
||||||
|
order by title`,
|
||||||
|
param: `模块名称=${name}`
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -377,4 +377,3 @@ export default {
|
|||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="机床图号" style="margin-top:28px">
|
<el-form-item label="机床图号" style="margin-top:28px">
|
||||||
<el-select v-model="toolNumValue" filterable size="small" style="margin-bottom:10px;width: 180px" placeholder="机床图号" @change="typeChange1()">
|
<el-select v-model="toolNumValue" filterable size="small" style="margin-bottom:10px;width: 180px" placeholder="机床图号" @change="typeChange1()" @focus="typeChange()">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in toolNum"
|
v-for="item in toolNum"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -34,51 +34,51 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col style="width: 530px">
|
<el-col style="width: 530px;margin-left: 50px">
|
||||||
<el-form label-width="70px" label-position="left" class="Time">
|
<el-form label-width="70px" label-position="left" class="Time">
|
||||||
<el-form-item label="计划下达">
|
<el-form-item label="计划下达">
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_planStart" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_planStart" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1" class="line">~</el-col>
|
<el-col :span="1" class="line">~</el-col>
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_planFinish" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_planFinish" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="工艺">
|
<el-form-item label="工艺">
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_gongyiStart" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_gongyiStart" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1" class="line">~</el-col>
|
<el-col :span="1" class="line">~</el-col>
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_gongyiFinish" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_gongyiFinish" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="定额">
|
<el-form-item label="定额">
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_dingeStart" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_dingeStart" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1" class="line">~</el-col>
|
<el-col :span="1" class="line">~</el-col>
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_dingeFinish" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_dingeFinish" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="计划平衡">
|
<el-form-item label="计划平衡">
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_planpinghengStart" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_planpinghengStart" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1" class="line">~</el-col>
|
<el-col :span="1" class="line">~</el-col>
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_planpinghengFinish" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_planpinghengFinish" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="加工">
|
<el-form-item label="加工">
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_machiningStart" size="small" type="datetime" class="time" readonly/>
|
<el-date-picker v-model="time_machiningStart" size="small" type="date" class="time" readonly/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1" class="line">~</el-col>
|
<el-col :span="1" class="line">~</el-col>
|
||||||
<el-col :span="11">
|
<el-col :span="8">
|
||||||
<el-date-picker v-model="time_machiningFinish" :picker-options="pickerOptions" default-time="23:59:59" size="small" type="datetime" value-format="yyyy-MM-dd HH:mm:ss" style="margin-bottom:20px;width:200px"/>
|
<el-date-picker v-model="time_machiningFinish" :picker-options="pickerOptions" default-time="23:59:59" size="small" type="date" value-format="yyyy-MM-dd HH:mm:ss" style="margin-bottom:20px;width:150px"/>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -371,7 +371,7 @@
|
|||||||
<el-input v-model="form10.规格" placeholder="规格" size="small" style="width:160px" clearable/>
|
<el-input v-model="form10.规格" placeholder="规格" size="small" style="width:160px" clearable/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="零件数量" prop="零件数量">
|
<el-form-item label="零件数量" prop="零件数量">
|
||||||
<el-input-number v-model="form10.零件数量" :step="1" :min="0" size="mini" style="width:160px"/>
|
<el-input-number v-model="form10.零件数量" :step="1" :min="1" size="mini" style="width:160px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="零件备注" prop="零件备注">
|
<el-form-item label="零件备注" prop="零件备注">
|
||||||
<el-input v-model="form10.零件备注" placeholder="零件备注" size="small" style="width:160px" clearable/>
|
<el-input v-model="form10.零件备注" placeholder="零件备注" size="small" style="width:160px" clearable/>
|
||||||
@@ -1347,7 +1347,7 @@ export default {
|
|||||||
margin: 10px 0 10px 10px;
|
margin: 10px 0 10px 10px;
|
||||||
}
|
}
|
||||||
.time{
|
.time{
|
||||||
width: 200px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
.Time>.el-form-item{
|
.Time>.el-form-item{
|
||||||
margin:2px;
|
margin:2px;
|
||||||
|
|||||||
Reference in New Issue
Block a user