提交部署

This commit is contained in:
磷叶 2024-11-21 16:02:28 +08:00
parent 30a332a9a6
commit 7794316e1e
3 changed files with 42 additions and 24 deletions

View File

@ -262,11 +262,17 @@ export default {
},
methods: {
handleSync() {
this.$confirm('确定同步物料吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
syncMaterial().then(res => {
if (res.code === 200) {
this.$message.success("同步成功");
}
})
});
},
/** 当排序按钮被点击时触发 **/
onSortChange(column) {

View File

@ -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,11 +363,17 @@ export default {
methods: {
isEmpty,
handleSync(query = {}) {
this.$confirm('确定同步生产订单吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
syncProdOrder(query).then(res => {
if (res.code === 200) {
this.$message.success("同步成功");
}
})
})
},
/** 当排序按钮被点击时触发 **/
onSortChange(column) {

View File

@ -242,11 +242,17 @@ export default {
},
methods: {
handleSync() {
this.$confirm('确定同步单位吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
syncUnit().then(res => {
if (res.code === 200) {
this.$message.success("同步成功");
}
})
});
},
/** 当排序按钮被点击时触发 **/
onSortChange(column) {