This commit is contained in:
caoxinyu
2019-01-25 10:43:32 +08:00
4 changed files with 3 additions and 16 deletions

View File

@@ -25,18 +25,6 @@ export function searchtable2(num1) {
} }
}) })
} }
// 更改打印状态
export function edit(num1) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '车间生产管理工艺_备料到货_状态更改',
param: '工艺计划流水号=' + num1
}
})
}
export function handlechange(Number, code) { export function handlechange(Number, code) {
return request({ return request({

View File

@@ -52,7 +52,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="top: 1px;" style="top: 1px;"
placeholder="选择开始日期"/> placeholder="选择开始日期"/>
<el-button size="small" type="primary" style="margin: 10px" @click="PartPlan()">制定零件计划</el-button> <el-button size="small" type="primary" style="margin: 10px" @click="PartPlan()">零件计划变更</el-button>
<el-button v-if="false" size="small" type="primary" icon="el-icon-download" @click="Export()">导出Excel</el-button> <el-button v-if="false" size="small" type="primary" icon="el-icon-download" @click="Export()">导出Excel</el-button>
<el-table <el-table
v-loading="listLoading" v-loading="listLoading"
@@ -1489,7 +1489,7 @@ export default {
} }
} }
}, },
// 制定零件计划2.1 // 零件计划变更2.1
PartPlan() { PartPlan() {
if (this.startTime !== '' && this.startTime !== null) { if (this.startTime !== '' && this.startTime !== null) {
if (this.endTime !== '' && this.endTime !== null) { if (this.endTime !== '' && this.endTime !== null) {

View File

@@ -273,7 +273,6 @@ export default {
} }
}).then(() => { }).then(() => {
mainTable(this.num0).then(response => { mainTable(this.num0).then(response => {
console.log(response.data)
if (response.data.length === 0) { if (response.data.length === 0) {
this.listLoading = false this.listLoading = false
} else { } else {

View File

@@ -40,7 +40,7 @@
</el-card> </el-card>
<el-card> <el-card>
<el-table v-loading="loading2" :data="tableData2" height="370" style="width: 100%;" border element-loading-text="拼命加载中" @row-click="searchTable"> <el-table v-loading="loading2" :data="tableData2" highlight-current-row height="370" style="width: 100%;" border element-loading-text="拼命加载中" @row-click="searchTable">
<el-table-column <el-table-column
label=" " label=" "
type="index" type="index"