1
This commit is contained in:
@@ -525,17 +525,22 @@ export default {
|
|||||||
this.temp = 5
|
this.temp = 5
|
||||||
},
|
},
|
||||||
submitTechnologicalRequirements() {
|
submitTechnologicalRequirements() {
|
||||||
addTechnologicalRequirements(this.ProcessNum, this.form3.TechnologicalRequirements).then(response => {
|
if (this.form3.TechnologicalRequirements !== '') {
|
||||||
if (response.data[0].result === '1') {
|
addTechnologicalRequirements(this.ProcessNum, this.form3.TechnologicalRequirements).then(response => {
|
||||||
this.$message.success('增加成功')
|
if (response.data[0].result === '1') {
|
||||||
this.loading3 = true
|
this.$message.success('增加成功')
|
||||||
searchTechnologicalRequirementsOfProcessNum(this.ProcessNum).then(response => {
|
this.loading3 = true
|
||||||
this.loading3 = false
|
searchTechnologicalRequirementsOfProcessNum(this.ProcessNum).then(response => {
|
||||||
this.tableData3 = response.data
|
this.loading3 = false
|
||||||
})
|
this.tableData3 = response.data
|
||||||
this.dialogFormVisible5 = false
|
})
|
||||||
} else { this.$message.error('增加失败') }
|
this.dialogFormVisible5 = false
|
||||||
})
|
} else { this.$message.error('增加失败') }
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.error('请输入工艺要求')
|
||||||
|
this.dialogFormVisible5 = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
editTechnologicalRequirements(row) {
|
editTechnologicalRequirements(row) {
|
||||||
this.temp = 6
|
this.temp = 6
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
<el-button type="primary" size="small" icon="el-icon-bangzhu" style="margin-left: 10px" plain @click="selectAll(tableData)">全选</el-button>
|
<el-button type="primary" size="small" icon="el-icon-bangzhu" style="margin-left: 10px" plain @click="selectAll(tableData)">全选</el-button>
|
||||||
<el-button type="success" size="small" icon="el-icon-upload" style="margin-left: 10px" plain @click="save">保存</el-button>
|
<el-button type="success" size="small" icon="el-icon-upload" style="margin-left: 10px" plain @click="save">保存</el-button>
|
||||||
<el-button type="success" size="small" icon="el-icon-upload" style="margin-left: 10px;float: right" plain @click="currency">通用件保存</el-button>
|
<el-button type="success" size="small" icon="el-icon-upload" style="margin-left: 300px" plain @click="currency">通用件保存</el-button>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-table
|
<el-table
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-card>
|
<el-card>
|
||||||
<span>客户名称:</span>
|
<span>客户名称:</span>
|
||||||
<el-select v-model="CustomerNameValue" filterable placeholder="请输入客户名称" style="margin: 3px" size="small" clearable>
|
<el-select v-model="CustomerNameValue" filterable placeholder="请输入客户名称" style="margin: 3px;width: 230px" size="small" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in CustomerName"
|
v-for="item in CustomerName"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-select v-model="customerName" filterable placeholder="客户名称" style="margin: 3px;width: 140px " size="small" clearable>
|
<el-select v-model="customerName" filterable placeholder="客户名称" style="margin: 3px;width: 220px " size="small" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in customerNames"
|
v-for="item in customerNames"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<el-card>
|
<el-card>
|
||||||
<!-- style="background: rgb(233,240,250)"-->
|
<!-- style="background: rgb(233,240,250)"-->
|
||||||
<div>
|
<div>
|
||||||
<el-select v-model="entryNameValue" clearable filterable placeholder="项目名称" size="small" style="width:150px;margin: 3px 10px;">
|
<el-select v-model="entryNameValue" clearable filterable placeholder="项目名称" size="small" style="width:180px;margin: 3px 10px;">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in entryName"
|
v-for="item in entryName"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -81,13 +81,8 @@
|
|||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<<<<<<< HEAD
|
|
||||||
<el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent2=1;pageSize2=10;total2=0;searchTable()">查询</el-button>
|
<el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent2=1;pageSize2=10;total2=0;searchTable()">查询</el-button>
|
||||||
<el-button class="button111" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addPurchaseOrder">创建采购计划单</el-button>
|
<el-button class="button111" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addPurchaseOrder">创建采购计划单</el-button>
|
||||||
=======
|
|
||||||
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable()">查询</el-button>
|
|
||||||
<el-button type="primary" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addPurchaseOrder">创建采购计划单</el-button>
|
|
||||||
>>>>>>> 6d4033c92a46c968832636b84ef2c64c7b192fe4
|
|
||||||
<!--<el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top">-->
|
<!--<el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top">-->
|
||||||
<!--<el-button type="baocun" size="small" icon="el-icon-download" style="margin-left: 10px" @click="saveMateriel">保存采购计划单</el-button>-->
|
<!--<el-button type="baocun" size="small" icon="el-icon-download" style="margin-left: 10px" @click="saveMateriel">保存采购计划单</el-button>-->
|
||||||
<!--</el-tooltip>-->
|
<!--</el-tooltip>-->
|
||||||
|
|||||||
@@ -20,26 +20,24 @@
|
|||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<<<<<<< HEAD
|
|
||||||
<el-button icon="el-icon-search" type="primary" plain size="small" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>
|
<el-button icon="el-icon-search" type="primary" plain size="small" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>
|
||||||
<el-button type="primary" icon="el-icon-download" plain size="small" @click="exportExcel()">导出</el-button>
|
<el-button type="primary" icon="el-icon-download" plain size="small" @click="exportExcel()">导出</el-button>
|
||||||
=======
|
<!-- <span>备料时间段:</span>-->
|
||||||
<span>备料时间段:</span>
|
<!-- <el-date-picker-->
|
||||||
<el-date-picker
|
<!-- v-model="dateRange"-->
|
||||||
v-model="dateRange"
|
<!-- :picker-options="pickerOptions"-->
|
||||||
:picker-options="pickerOptions"
|
<!-- size="small"-->
|
||||||
size="small"
|
<!-- type="daterange"-->
|
||||||
type="daterange"
|
<!-- align="center"-->
|
||||||
align="center"
|
<!-- style="width: 300px;margin: 3px 0"-->
|
||||||
style="width: 300px;margin: 3px 0"
|
<!-- value-format="yyyy-MM-dd"-->
|
||||||
value-format="yyyy-MM-dd"
|
<!-- format="yyyy-MM-dd"-->
|
||||||
format="yyyy-MM-dd"
|
<!-- range-separator="~"-->
|
||||||
range-separator="~"
|
<!-- start-placeholder="开始日期"-->
|
||||||
start-placeholder="开始日期"
|
<!-- end-placeholder="结束日期"/>-->
|
||||||
end-placeholder="结束日期"/>
|
<!-- <el-button icon="el-icon-search" type="success" size="small" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>-->
|
||||||
<el-button icon="el-icon-search" type="success" size="small" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>
|
<!-- <el-button type="primary" icon="el-icon-download" size="small" @click="exportExcel()">导出</el-button>-->
|
||||||
<el-button type="primary" icon="el-icon-download" size="small" @click="exportExcel()">导出</el-button>
|
|
||||||
>>>>>>> 6d4033c92a46c968832636b84ef2c64c7b192fe4
|
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card style="width: 76%">
|
<el-card style="width: 76%">
|
||||||
|
|||||||
Reference in New Issue
Block a user