Initial commit: 景耀JY1.0项目
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
@click="pageCurrent = 1;pageSize = 20;searchTable()">查询
|
||||
</el-button>
|
||||
<el-button type="success" plain icon="el-icon-download" size="small" @click="exportExcel()">导出</el-button>
|
||||
<el-button type="distribution" icon="el-icon-plus" size="small" @click="addMaterial()">物料</el-button>
|
||||
<!-- <el-button type="distribution" icon="el-icon-plus" size="small" @click="addMaterial()">物料</el-button> -->
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
@@ -256,7 +256,7 @@
|
||||
</el-button>
|
||||
<el-button type="success" plain icon="el-icon-download" size="small" @click="exportExcel1()">导出
|
||||
</el-button>
|
||||
<el-button type="distribution" icon="el-icon-plus" size="small" @click="addMaterial()">物料</el-button>
|
||||
<!-- <el-button type="distribution" icon="el-icon-plus" size="small" @click="addMaterial()">物料</el-button> -->
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
@@ -368,7 +368,7 @@
|
||||
</el-tooltip>
|
||||
<el-tooltip :open-delay="700" effect="dark" content="更替物料" placement="top">
|
||||
<el-button
|
||||
:disabled="((Number(scope.row.零件类型)===1||Number(scope.row.零件类型)===2) && Number(scope.row.是否传递)=== 1 && jobNumber != '1002') || ((Number(scope.row.零件类型)===3||Number(scope.row.零件类型)===4) && Number(scope.row.考核状态) > 1 && jobNumber != '1002')"
|
||||
:disabled="((Number(scope.row.零件类型)===1||Number(scope.row.零件类型)===2) && Number(scope.row.是否传递)=== 1 && jobNumber != '2009') || ((Number(scope.row.零件类型)===3||Number(scope.row.零件类型)===4) && Number(scope.row.考核状态) > 1 && jobNumber != '2009')"
|
||||
type="text"
|
||||
size="mini"
|
||||
style="margin-right: 10px"
|
||||
@@ -377,7 +377,7 @@
|
||||
</el-tooltip>
|
||||
<el-tooltip :open-delay="700" effect="dark" content="编辑零件信息" placement="top">
|
||||
<el-button
|
||||
:disabled="((Number(scope.row.零件类型)===1||Number(scope.row.零件类型)===2) && Number(scope.row.是否传递)=== 1 && jobNumber != '1002') || ((Number(scope.row.零件类型)===3||Number(scope.row.零件类型)===4) && Number(scope.row.考核状态) > 1 && jobNumber != '1002')"
|
||||
:disabled="((Number(scope.row.零件类型)===1||Number(scope.row.零件类型)===2) && Number(scope.row.是否传递)=== 1 && jobNumber != '2009') || ((Number(scope.row.零件类型)===3||Number(scope.row.零件类型)===4) && Number(scope.row.考核状态) > 1 && jobNumber != '2009')"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
size="mini"
|
||||
@@ -669,9 +669,18 @@
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
</div>
|
||||
<span v-show="PartType==='专机' && groupNameValue !== ''" style="margin-left: 170px;">需求数:{{
|
||||
numberOfParts
|
||||
}}</span>
|
||||
<div v-show="PartType==='专机' && groupNameValue !== ''" style="margin-left: 170px;">
|
||||
<span style="margin-right: 20px;">
|
||||
部件状态:
|
||||
<el-tag v-if="taskStatus==='未下达'" type="danger" size="small" style="margin: 0px">未下达</el-tag>
|
||||
<el-tag v-if="taskStatus==='未接受'" type="warning" size="small" style="margin: 0px">未接受</el-tag>
|
||||
<el-tag v-if="taskStatus==='未开始'" type="info" size="small" style="margin: 0px">未开始</el-tag>
|
||||
<el-tag v-if="taskStatus==='加工中'" size="small" style="margin: 0px">加工中</el-tag>
|
||||
<el-tag v-if="taskStatus==='装配中'" type="primary" size="small" style="margin: 0px">装配中</el-tag>
|
||||
<el-tag v-if="taskStatus==='完成'" type="success" size="small" style="margin: 0px">完成</el-tag>
|
||||
</span>
|
||||
<span>需求数:{{ numberOfParts }}</span>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button size="small" @click="dialogFormVisible2=false">取消</el-button>
|
||||
<el-button v-if="PartType==='通用件'" type="primary" size="small" @click="submitAddMaterial">确定</el-button>
|
||||
@@ -721,6 +730,7 @@ export default {
|
||||
return {
|
||||
partTool: '',
|
||||
numberOfParts: '',
|
||||
taskStatus: '',
|
||||
dialogVisible: false,
|
||||
hadFile: [],
|
||||
multipleSelection: [],
|
||||
@@ -820,6 +830,7 @@ export default {
|
||||
var Data = this.CreateData('11', '订单BOM_部件数量_查询数据', param)
|
||||
this.ExecDatabase(Data).then(response => {
|
||||
this.numberOfParts = response.data[0].数量
|
||||
this.taskStatus = response.data[0].任务状态
|
||||
console.log('订单BOM_部件数量_查询数据', response.data)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user