提交部署
This commit is contained in:
parent
30a332a9a6
commit
7794316e1e
|
@ -262,11 +262,17 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
handleSync() {
|
||||
syncMaterial().then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success("同步成功");
|
||||
}
|
||||
})
|
||||
this.$confirm('确定同步物料吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
syncMaterial().then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success("同步成功");
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
/** 当排序按钮被点击时触发 **/
|
||||
onSortChange(column) {
|
||||
|
|
|
@ -58,16 +58,16 @@
|
|||
</el-form>
|
||||
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-has-permi="['yh:prodOrder:add']"
|
||||
>新增</el-button>
|
||||
</el-col>
|
||||
<!-- <el-col :span="1.5">-->
|
||||
<!-- <el-button-->
|
||||
<!-- type="primary"-->
|
||||
<!-- plain-->
|
||||
<!-- icon="el-icon-plus"-->
|
||||
<!-- size="mini"-->
|
||||
<!-- @click="handleAdd"-->
|
||||
<!-- v-has-permi="['yh:prodOrder:add']"-->
|
||||
<!-- >新增</el-button>-->
|
||||
<!-- </el-col>-->
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
|
@ -363,10 +363,16 @@ export default {
|
|||
methods: {
|
||||
isEmpty,
|
||||
handleSync(query = {}) {
|
||||
syncProdOrder(query).then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success("同步成功");
|
||||
}
|
||||
this.$confirm('确定同步生产订单吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
syncProdOrder(query).then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success("同步成功");
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
/** 当排序按钮被点击时触发 **/
|
||||
|
|
|
@ -242,11 +242,17 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
handleSync() {
|
||||
syncUnit().then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success("同步成功");
|
||||
}
|
||||
})
|
||||
this.$confirm('确定同步单位吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
syncUnit().then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success("同步成功");
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
/** 当排序按钮被点击时触发 **/
|
||||
onSortChange(column) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user