Merge branch 'master' of http://123.56.95.229:10010/r/高精
This commit is contained in:
@@ -46,7 +46,7 @@ export function edit(num1) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 外购备料
|
// 外购备料
|
||||||
export function edit2(num1) {
|
export function edit2(num1, id) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@@ -55,7 +55,7 @@ export function edit2(num1) {
|
|||||||
ModularID: router.currentRoute.path,
|
ModularID: router.currentRoute.path,
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '车间生产管理工艺_备料单导出_外购备料',
|
name: '车间生产管理工艺_备料单导出_外购备料',
|
||||||
param: `工艺计划流水号组=${num1}&是否外购备料=1`
|
param: `工艺计划流水号组=${num1}&是否外购备料=1&分配人员编号=${id}`
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -395,3 +395,15 @@ export function OutPart(num) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
export function searchBillNumber(num) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
UserID: state.state.user.id,
|
||||||
|
ModularID: router.currentRoute.path,
|
||||||
|
type: '1',
|
||||||
|
name: '车间管理_基本件采购_请购单_查询请购单号_查询数据'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
10
src/main.js
10
src/main.js
@@ -63,3 +63,13 @@ new Vue({
|
|||||||
store,
|
store,
|
||||||
render: h => h(App)
|
render: h => h(App)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
import request from '@/utils/request'
|
||||||
|
export function ExecDatabase(num) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: num
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// end--->
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table :data="tableData" style="width: 1020px" height="580" stripe size="mini" border @selection-change="handleSelectionChange">
|
<el-table :data="tableData" style="width: 1120px" height="580" stripe size="mini" border @selection-change="handleSelectionChange">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="45"/>
|
width="45"/>
|
||||||
@@ -54,6 +54,11 @@
|
|||||||
{{ scope.row.零件名称 }}
|
{{ scope.row.零件名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column align="center" label="入库时间" width="100px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.入库时间 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column align="center" label="库存数量" width="90px">
|
<el-table-column align="center" label="库存数量" width="90px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.出库数量1 }}
|
{{ scope.row.出库数量1 }}
|
||||||
@@ -180,6 +185,7 @@ export default {
|
|||||||
组号: response.data.rows[i].组号,
|
组号: response.data.rows[i].组号,
|
||||||
零件图号: response.data.rows[i].零件图号,
|
零件图号: response.data.rows[i].零件图号,
|
||||||
零件名称: response.data.rows[i].零件名称,
|
零件名称: response.data.rows[i].零件名称,
|
||||||
|
入库时间: response.data.rows[i].入库时间,
|
||||||
已出库数量: Number(response.data.rows[i].出库数量),
|
已出库数量: Number(response.data.rows[i].出库数量),
|
||||||
入库数量: Number(response.data.rows[i].入库数量),
|
入库数量: Number(response.data.rows[i].入库数量),
|
||||||
工艺计划流水号: response.data.rows[i].工艺计划流水号,
|
工艺计划流水号: response.data.rows[i].工艺计划流水号,
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table :data="tableData1" :row-class-name="tableRowClassName" style="height: 670px" highlight-current-row border>
|
<el-table :data="tableData1" :row-class-name="tableRowClassName" empty-text=" " style="height: 670px" highlight-current-row border>
|
||||||
<el-table-column align="center" label="工序名" width="110">
|
<el-table-column align="center" label="工序名" width="110">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.工艺名称 }}
|
{{ scope.row.工艺名称 }}
|
||||||
|
|||||||
@@ -250,12 +250,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
edit2() {
|
edit2() {
|
||||||
|
console.log(this.$store.state.user.id, 9090)
|
||||||
if (this.tableData2.length === 0) {
|
if (this.tableData2.length === 0) {
|
||||||
this.$message.warning('暂无数据')
|
this.$message.warning('暂无数据')
|
||||||
} else {
|
} else {
|
||||||
this.a = 0
|
this.a = 0
|
||||||
for (let i = 0; i < this.tableData2.length; i++) {
|
for (let i = 0; i < this.tableData2.length; i++) {
|
||||||
edit2(this.tableData2[i].工艺计划流水号).then(response => {
|
edit2(this.tableData2[i].工艺计划流水号, this.$store.state.user.id).then(response => {
|
||||||
this.a += parseInt(response.data[0].result)
|
this.a += parseInt(response.data[0].result)
|
||||||
if (this.a === this.tableData2.length) {
|
if (this.a === this.tableData2.length) {
|
||||||
this.pageSize = 10
|
this.pageSize = 10
|
||||||
|
|||||||
@@ -312,20 +312,15 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible" title="新增请购单" center style="min-height: 300px" width="350px">
|
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible" title="新增请购单" center style="min-height: 300px" width="350px">
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
|
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||||
<el-form-item label="请购车间" prop="请购车间">
|
<el-form-item label="请款单号" prop="请款单号">
|
||||||
<el-input
|
<el-input :disabled="true" v-model="form.请款单号" size="small" style="width:160px"/>
|
||||||
v-model="form.请购车间"
|
</el-form-item>
|
||||||
size="small"
|
<el-form-item v-show="false" label="请购车间" prop="请购车间">
|
||||||
style="width:160px"/>
|
<el-input v-model="form.请购车间" size="small" style="width:160px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="请购人员">
|
<el-form-item label="请购人员">
|
||||||
<el-input
|
<el-input v-model="name" size="small" readonly style="width:160px;"/>
|
||||||
v-model="name"
|
|
||||||
size="small"
|
|
||||||
readonly
|
|
||||||
style="width:160px;"/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="请购时间" prop="请购时间">
|
<el-form-item label="请购时间" prop="请购时间">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="form.请购时间"
|
v-model="form.请购时间"
|
||||||
@@ -337,10 +332,7 @@
|
|||||||
placeholder="选择日期"/>
|
placeholder="选择日期"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="备注">
|
<el-form-item label="备注">
|
||||||
<el-input
|
<el-input v-model="form.Remarks" size="small" style="width:160px"/>
|
||||||
v-model="form.Remarks"
|
|
||||||
size="small"
|
|
||||||
style="width:160px"/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
@@ -349,6 +341,7 @@
|
|||||||
<el-button v-show="title==='编辑'" type="primary" @click="submitEdit('form')">确定</el-button>
|
<el-button v-show="title==='编辑'" type="primary" @click="submitEdit('form')">确定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible3" title="零件数量" center style="min-height: 300px" width="400px">
|
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible3" title="零件数量" center style="min-height: 300px" width="400px">
|
||||||
<el-form ref="form3" :model="form3" :rules="rules3" label-position="left" label-width="110px" class="demo-ruleForm">
|
<el-form ref="form3" :model="form3" :rules="rules3" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||||
<el-form-item label="数量" prop="数量">
|
<el-form-item label="数量" prop="数量">
|
||||||
@@ -557,7 +550,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { DeliveryTimeSelect, initProject, searchgroup, searchTable, searchPart, searchPart1, searchTable1, addData, editData, deleteData, searchDetailed1, purchaseRequisition, purchaseRequisition1, purchaseRequisition2, MoveOut, MoveOut1, PurchasingDepartment, Production, PartCallbackInformation, PartCallbackInformation1, Delete, Delete1, editStock, editNum, OutPart, PurchasingDepartmentBack, purchaseRequisition2Back } from '@/api/ManufacturingCenter/PartAssignment'
|
import { searchBillNumber, DeliveryTimeSelect, initProject, searchgroup, searchTable, searchPart, searchPart1, searchTable1, addData, editData, deleteData, searchDetailed1, purchaseRequisition, purchaseRequisition1, purchaseRequisition2, MoveOut, MoveOut1, PurchasingDepartment, Production, PartCallbackInformation, PartCallbackInformation1, Delete, Delete1, editStock, editNum, OutPart, PurchasingDepartmentBack, purchaseRequisition2Back } from '@/api/ManufacturingCenter/PartAssignment'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import { getNowShotTime } from '@/utils/tool'
|
import { getNowShotTime } from '@/utils/tool'
|
||||||
import Cookie from 'js-cookie'
|
import Cookie from 'js-cookie'
|
||||||
@@ -601,6 +594,7 @@ export default {
|
|||||||
dialogFormVisible: false,
|
dialogFormVisible: false,
|
||||||
RequisitionList: '',
|
RequisitionList: '',
|
||||||
form: {
|
form: {
|
||||||
|
请款单号: '',
|
||||||
请购单编号: '',
|
请购单编号: '',
|
||||||
请购车间: '制造部',
|
请购车间: '制造部',
|
||||||
请购时间: '',
|
请购时间: '',
|
||||||
@@ -1040,6 +1034,9 @@ export default {
|
|||||||
handleAdd() {
|
handleAdd() {
|
||||||
this.handleAdd_disable = false
|
this.handleAdd_disable = false
|
||||||
this.addForm('form', [this.dialogFormVisible = true, this.title = '增加'])
|
this.addForm('form', [this.dialogFormVisible = true, this.title = '增加'])
|
||||||
|
searchBillNumber().then(response => {
|
||||||
|
this.form.请款单号 = response.data[0].单号
|
||||||
|
})
|
||||||
this.form.请购时间 = getNowShotTime()
|
this.form.请购时间 = getNowShotTime()
|
||||||
},
|
},
|
||||||
submitAdd(formName) {
|
submitAdd(formName) {
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ export default {
|
|||||||
loginsession() {
|
loginsession() {
|
||||||
this.$axios({
|
this.$axios({
|
||||||
methods: 'post',
|
methods: 'post',
|
||||||
url: 'http://192.168.1.192:8045/submit/SessionID.ashx?userName=0000',
|
url: 'http://192.168.1.192:8045/submit/SessionID.ashx?userName=1222',
|
||||||
data: {
|
data: {
|
||||||
userName: '0000'
|
userName: '0000'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -188,7 +188,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="callOff('form')">取消</el-button>
|
<el-button @click="callOff('form')">取消</el-button>
|
||||||
<el-button type="primary" @click="submit('form')">确定</el-button>
|
<el-button :disabled="ADD_disable" type="primary" @click="submit('form')">确定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
@@ -201,6 +201,7 @@ import { getNowTime } from '@/utils/tool'
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
ADD_disable: false,
|
||||||
equipmentName: '', // 设备名称
|
equipmentName: '', // 设备名称
|
||||||
List: [],
|
List: [],
|
||||||
check: 0,
|
check: 0,
|
||||||
@@ -296,7 +297,6 @@ export default {
|
|||||||
this.$refs['form'].resetFields()
|
this.$refs['form'].resetFields()
|
||||||
}
|
}
|
||||||
this.title = '编辑设备'
|
this.title = '编辑设备'
|
||||||
this.dialogFormVisible = true
|
|
||||||
this.form.设备名称 = row.设备名称
|
this.form.设备名称 = row.设备名称
|
||||||
this.form.设备编号 = row.设备编号
|
this.form.设备编号 = row.设备编号
|
||||||
this.form.设备型号 = row.设备型号
|
this.form.设备型号 = row.设备型号
|
||||||
@@ -308,6 +308,8 @@ export default {
|
|||||||
this.form.整改工时系数 = row.整改工时比例
|
this.form.整改工时系数 = row.整改工时比例
|
||||||
this.form.预留工时系数 = row.设备预留工时系数
|
this.form.预留工时系数 = row.设备预留工时系数
|
||||||
this.equipmentSerialNumber = row.设备流水号
|
this.equipmentSerialNumber = row.设备流水号
|
||||||
|
this.ADD_disable = false
|
||||||
|
this.dialogFormVisible = true
|
||||||
},
|
},
|
||||||
submit(formName) {
|
submit(formName) {
|
||||||
this.$refs[formName].validate((valid) => {
|
this.$refs[formName].validate((valid) => {
|
||||||
@@ -321,6 +323,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
submitAdd() {
|
submitAdd() {
|
||||||
|
this.ADD_disable = true
|
||||||
for (let i = 0; i < this.processingName.length; i++) {
|
for (let i = 0; i < this.processingName.length; i++) {
|
||||||
if (this.form.设备加工工艺 === this.processingName[i].value) {
|
if (this.form.设备加工工艺 === this.processingName[i].value) {
|
||||||
this.processing1 = this.processingName[i].processing
|
this.processing1 = this.processingName[i].processing
|
||||||
@@ -336,19 +339,21 @@ export default {
|
|||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
} else {
|
} else {
|
||||||
|
this.ADD_disable = false
|
||||||
this.$message.error('信息添加失败')
|
this.$message.error('信息添加失败')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
ADD() {
|
ADD() {
|
||||||
this.addForm('form')
|
this.addForm('form')
|
||||||
this.dialogFormVisible = true
|
|
||||||
this.form.contractSigningDate = getNowTime()// new Date()
|
this.form.contractSigningDate = getNowTime()// new Date()
|
||||||
this.temp = 1
|
this.temp = 1
|
||||||
this.title = '增加'
|
this.title = '新增设备'
|
||||||
|
this.ADD_disable = false
|
||||||
|
this.dialogFormVisible = true
|
||||||
},
|
},
|
||||||
submitEdit() {
|
submitEdit() {
|
||||||
console.log(2323)
|
this.ADD_disable = true
|
||||||
editTable(this.equipmentSerialNumber, this.form.设备名称, this.form.设备型号, this.form.设备性能指标, this.form.设备加工能力, this.form.设备工时系数, this.form.班次类型, this.form.设备加工工艺, this.form.整改工时系数, this.form.设备编号, this.form.预留工时系数).then(response => {
|
editTable(this.equipmentSerialNumber, this.form.设备名称, this.form.设备型号, this.form.设备性能指标, this.form.设备加工能力, this.form.设备工时系数, this.form.班次类型, this.form.设备加工工艺, this.form.整改工时系数, this.form.设备编号, this.form.预留工时系数).then(response => {
|
||||||
if (response.data[0].result === '1') {
|
if (response.data[0].result === '1') {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
@@ -360,6 +365,7 @@ export default {
|
|||||||
this.title = ''
|
this.title = ''
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
} else {
|
} else {
|
||||||
|
this.ADD_disable = false
|
||||||
this.$message.error('信息编辑失败')
|
this.$message.error('信息编辑失败')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -16,26 +16,27 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table v-loading="loading" :data="tableData" border stripe size="mini" height="650" style="width: 1350px">
|
<el-table v-loading="loading" :data="tableData" border stripe size="mini" height="650" style="width: 1480px">
|
||||||
<el-table-column label="序号" align="center" type="index" width="55"/>
|
<el-table-column label="序号" align="center" type="index" width="50"/>
|
||||||
<el-table-column label="外协状态" align="center" width="80px">
|
<el-table-column label="外协状态" align="center" width="80px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="Number(scope.row.外协状态)==1" type="primary" size="mini">未提交</el-tag>
|
<el-tag v-if="Number(scope.row.外协状态)==1" type="primary" size="mini">未提交</el-tag>
|
||||||
<el-tag v-if="Number(scope.row.外协状态)==2 && Number(scope.row.到货状态)!==1" type="warning" size="mini">未到</el-tag>
|
<el-tag v-if="Number(scope.row.到货状态)===9" type="success" size="mini">未外协</el-tag>
|
||||||
<el-tag v-if="Number(scope.row.外协状态)==2 && Number(scope.row.到货状态)===1" type="success" size="mini">已到</el-tag>
|
<el-tag v-if="Number(scope.row.外协状态)==2 && Number(scope.row.到货状态)!==1" type="warning" size="mini">未到货</el-tag>
|
||||||
|
<el-tag v-if="Number(scope.row.外协状态)==2 && Number(scope.row.到货状态)===1" type="success" size="mini">已到货</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="项目名称" align="center" width="130px">
|
<el-table-column label="项目名称" align="center" width="115px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.项目名称 }}
|
{{ scope.row.项目名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="零件图号" align="center" width="160px">
|
<el-table-column label="零件图号" align="center" width="140px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.零件图号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="零件名称" align="center" width="120px">
|
<el-table-column label="零件名称" align="center" width="110px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件名称 }}
|
{{ scope.row.零件名称 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -60,7 +61,7 @@
|
|||||||
{{ scope.row.加工价格_成交 }}
|
{{ scope.row.加工价格_成交 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="外协厂家" align="center" width="160px">
|
<el-table-column label="外协厂家" align="center" width="140px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.外协厂家名称 }}
|
{{ scope.row.外协厂家名称 }}
|
||||||
</template>
|
</template>
|
||||||
@@ -75,6 +76,11 @@
|
|||||||
{{ scope.row.任务下达日期.split(' ')[0] }}
|
{{ scope.row.任务下达日期.split(' ')[0] }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="外协员" align="center" width="70" show-overflow-tooltip>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.外协计划员 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="block" style="margin-top: 10px;">
|
<div class="block" style="margin-top: 10px;">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
<el-input v-model="partName" placeholder="零件图号" size="small" clearable style="width:180px"/>
|
<el-input v-model="partName" placeholder="零件图号" size="small" clearable style="width:180px"/>
|
||||||
<el-button size="small" icon="el-icon-search" type="primary" plain @click="pageSize1=50; pageCurrent1=1;searchTable()">查询</el-button>
|
<el-button size="small" icon="el-icon-search" type="primary" plain @click="pageSize1=50; pageCurrent1=1;searchTable()">查询</el-button>
|
||||||
<el-table v-loading="loading1" :data="tableData1" :row-class-name="tableData1ClassName2" size="mini" highlight-current-row height="550px" border element-loading-text="拼命加载中" @row-click="searchTable2">
|
<el-table v-loading="loading1" :data="tableData1" :row-class-name="tableData1ClassName2" empty-text=" " size="mini" highlight-current-row height="550px" border element-loading-text="拼命加载中" @row-click="searchTable2">
|
||||||
<el-table-column label="零件图号" prop="零件图号" align="center" width="175px" show-overflow-tooltip>
|
<el-table-column label="零件图号" prop="零件图号" align="center" width="175px" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.零件图号 }}
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
<el-col style="width: auto">
|
<el-col style="width: auto">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-button :disabled="saveRowPrice_disable" size="small" type="success" plain style="margin: 10px" @click="saveRowPrice()">保存</el-button>
|
<el-button :disabled="saveRowPrice_disable" size="small" type="success" plain style="margin: 10px" @click="saveRowPrice()">保存</el-button>
|
||||||
<el-table v-loading="loading2" :data="tableData2" :row-class-name="tableData1ClassName" height="580" border element-loading-text="拼命加载中" size="small">
|
<el-table v-loading="loading2" :data="tableData2" :row-class-name="tableData1ClassName" empty-text=" " height="580" border element-loading-text="拼命加载中" size="small">
|
||||||
<el-table-column label="序号" type="index" align="center" width="50"/>
|
<el-table-column label="序号" type="index" align="center" width="50"/>
|
||||||
<el-table-column label="加工状态" width="100" align="center">
|
<el-table-column label="加工状态" width="100" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|||||||
@@ -4,14 +4,7 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col style="margin-top: 3px;width: 180px;margin-left: 10px">
|
<el-col style="margin-top: 3px;width: 180px;margin-left: 10px">
|
||||||
<el-input v-model="MaterialName" placeholder="物料名称" size="small" clearable style="width: 170px"/>
|
<el-input v-model="MaterialName" placeholder="物料名称" size="small" clearable style="width: 170px"/>
|
||||||
<el-select
|
<el-select v-show="false" v-model="MaterialCategoryValue" placeholder="物料类别" size="small" clearable style="width: 140px" @change="searchMaterialVariety">
|
||||||
v-show="false"
|
|
||||||
v-model="MaterialCategoryValue"
|
|
||||||
placeholder="物料类别"
|
|
||||||
size="small"
|
|
||||||
clearable
|
|
||||||
style="width: 140px"
|
|
||||||
@change="searchMaterialVariety">
|
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in MaterialCategory"
|
v-for="item in MaterialCategory"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -20,20 +13,8 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col style="margin-top: 3px;width: 190px">
|
<el-col style="margin-top: 3px;width: 190px">
|
||||||
<el-input
|
<el-input v-model="MaterialSpecification" placeholder="物料规格" size="small" clearable style="width: 190px"/>
|
||||||
v-model="MaterialSpecification"
|
<el-select v-show="false" v-model="MaterialVarietyValue" placeholder="物料品种" size="small" clearable style="width: 140px" @change="searchMaterial">
|
||||||
placeholder="物料规格"
|
|
||||||
size="small"
|
|
||||||
clearable
|
|
||||||
style="width: 190px"/>
|
|
||||||
<el-select
|
|
||||||
v-show="false"
|
|
||||||
v-model="MaterialVarietyValue"
|
|
||||||
placeholder="物料品种"
|
|
||||||
size="small"
|
|
||||||
clearable
|
|
||||||
style="width: 140px"
|
|
||||||
@change="searchMaterial">
|
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in MaterialVariety"
|
v-for="item in MaterialVariety"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -42,40 +23,18 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col style="margin-top: 3px;width: 190px;margin-left: 10px">
|
<el-col style="margin-top: 3px;width: 190px;margin-left: 10px">
|
||||||
<el-input
|
<el-input v-model="MaterialModel" placeholder="物料型号" size="small" clearable style="width: 190px"/>
|
||||||
v-model="MaterialModel"
|
<el-input v-show="false" v-model="FullNameOfMaterial" placeholder="物料全称" size="small" clearable style="width: 170px"/>
|
||||||
placeholder="物料型号"
|
|
||||||
size="small"
|
|
||||||
clearable
|
|
||||||
style="width: 190px"/>
|
|
||||||
<el-input
|
|
||||||
v-show="false"
|
|
||||||
v-model="FullNameOfMaterial"
|
|
||||||
placeholder="物料全称"
|
|
||||||
size="small"
|
|
||||||
clearable
|
|
||||||
style="width: 170px"/>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col style="margin-top: 3px;width: 250px;margin-left: 10px">
|
<el-col style="margin-top: 3px;width: 250px;margin-left: 10px">
|
||||||
<el-select
|
<el-select v-model="GonghuoshangValue" placeholder="供货商" filterable style="width: 140px" size="small" clearable>
|
||||||
v-model="GonghuoshangValue"
|
|
||||||
placeholder="供货商"
|
|
||||||
filterable
|
|
||||||
style="width: 140px"
|
|
||||||
size="small"
|
|
||||||
clearable>
|
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in Gonghuoshang"
|
v-for="item in Gonghuoshang"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-button
|
<el-button type="primary" icon="el-icon-search" size="small" plain @click="pageCurrent=1;searchMaterial()">查询
|
||||||
type="primary"
|
|
||||||
icon="el-icon-search"
|
|
||||||
size="small"
|
|
||||||
plain
|
|
||||||
@click="pageCurrent=1;searchMaterial()">查询
|
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -96,13 +55,7 @@
|
|||||||
<!--</el-col>-->
|
<!--</el-col>-->
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col style="width: 150px;margin-left: 10px">
|
<el-col style="width: 150px;margin-left: 10px">
|
||||||
<el-select
|
<el-select v-show="false" v-model="MaterialSourceValue" placeholder="物料来源" style="margin-bottom: 3px;margin-top: 10px;width: 140px" size="small" clearable>
|
||||||
v-show="false"
|
|
||||||
v-model="MaterialSourceValue"
|
|
||||||
placeholder="物料来源"
|
|
||||||
style="margin-bottom: 3px;margin-top: 10px;width: 140px"
|
|
||||||
size="small"
|
|
||||||
clearable>
|
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in MaterialSource"
|
v-for="item in MaterialSource"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -121,14 +74,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col style="margin-left: 10px;width: 550px">
|
<el-col style="margin-left: 10px;width: 550px">
|
||||||
<el-button :disabled="parseInt(token) !== 11 && parseInt(token) !== 36" type="distribution" style="margin-bottom: 3px;margin-top: 10px" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd()">物料</el-button>
|
<el-button :disabled="parseInt(token) !== 11 && parseInt(token) !== 36" type="distribution" style="margin-bottom: 3px;margin-top: 10px" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd()">物料</el-button>
|
||||||
<el-button
|
<el-button :disabled="parseInt(token) !== 11 && parseInt(token) !== 36" type="distribution" icon="el-icon-refresh" size="small" style="margin-left: 10px" @click="CategoryMaintenance">维护物料类别</el-button>
|
||||||
:disabled="parseInt(token) !== 11 && parseInt(token) !== 36"
|
|
||||||
type="distribution"
|
|
||||||
icon="el-icon-refresh"
|
|
||||||
size="small"
|
|
||||||
style="margin-left: 10px"
|
|
||||||
@click="CategoryMaintenance">维护物料类别
|
|
||||||
</el-button>
|
|
||||||
<el-button type="distribution" style="margin-bottom: 3px;margin-top: 10px" icon="el-icon-circle-plus-outline" size="small" @click="open()">供货商</el-button>
|
<el-button type="distribution" style="margin-bottom: 3px;margin-top: 10px" icon="el-icon-circle-plus-outline" size="small" @click="open()">供货商</el-button>
|
||||||
<el-badge :value="weishenhe" class="item">
|
<el-badge :value="weishenhe" class="item">
|
||||||
<el-button type="primary" plain size="small" style="margin-left: 10px" @click="daishenhe()">采购部新增物料审核</el-button>
|
<el-button type="primary" plain size="small" style="margin-left: 10px" @click="daishenhe()">采购部新增物料审核</el-button>
|
||||||
|
|||||||
@@ -59,6 +59,11 @@
|
|||||||
{{ scope.row.备料任务分配时间 }}
|
{{ scope.row.备料任务分配时间 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="分配人" prop="分配人姓名" width="90" align="center" show-overflow-tooltip>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.分配人姓名 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div v-show="false" class="block">
|
<div v-show="false" class="block">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
|||||||
Reference in New Issue
Block a user