Merge remote-tracking branch 'origin/master'

master
夜笙歌 2 months ago
commit 0cbbed4b89

@ -138,7 +138,7 @@ public class MesBaseMaterialInfoController extends BaseController
* *
*/ */
@InnerAuth @InnerAuth
@GetMapping(value = "/getMaterialByMaterialId/materialId}") @GetMapping(value = "/getMaterialByMaterialId/{materialId}")
public AjaxResult getMaterialByMaterialId(@PathVariable("materialId") Long materialId) public AjaxResult getMaterialByMaterialId(@PathVariable("materialId") Long materialId)
{ {
return success(mesBaseMaterialInfoService.selectMesBaseMaterialInfoByMaterialId(materialId)); return success(mesBaseMaterialInfoService.selectMesBaseMaterialInfoByMaterialId(materialId));

@ -488,6 +488,9 @@
</div> </div>
</el-dialog> </el-dialog>
<div id="workshopNotice">
<WorkshopNotice :visible.sync="showTableDialog" :noticeListData="noticeListData"></WorkshopNotice>
</div>
<!-- <el-dialog :visible.sync="assignModel" title="工位选择" width="80%">--> <!-- <el-dialog :visible.sync="assignModel" title="工位选择" width="80%">-->
@ -542,6 +545,8 @@ import {
getNewestOutstockCabinet,updateBarcodePlan, completeCollectMaterials, completeReturnMaterials,continueRawInstock getNewestOutstockCabinet,updateBarcodePlan, completeCollectMaterials, completeReturnMaterials,continueRawInstock
} from "@/api/board"; } from "@/api/board";
import applyRawOutstock from '@//views/board/common/applyRawOutstock.vue'; import applyRawOutstock from '@//views/board/common/applyRawOutstock.vue';
import WorkshopNotice from "@/components/workshopNotice/index.vue";
import {noticeData} from "@/utils/notice"
const setState = (e) => { const setState = (e) => {
if (e === '1') { if (e === '1') {
@ -560,7 +565,8 @@ export default {
components: { components: {
'apply-raw-outstock': applyRawOutstock, 'apply-raw-outstock': applyRawOutstock,
Chart, Chart,
PrintPage PrintPage,
WorkshopNotice
}, },
dicts: ['wms_raw_return_task_type', 'mes_safe_flag'], dicts: ['wms_raw_return_task_type', 'mes_safe_flag'],
provide(){ provide(){
@ -568,6 +574,7 @@ export default {
closeDialog : this.closeDialog closeDialog : this.closeDialog
} }
}, },
mixins: [noticeData],
data() { data() {
return { return {
fileList: [], fileList: [],

@ -329,6 +329,10 @@
</el-form> </el-form>
</el-dialog> </el-dialog>
<div id="workshopNotice">
<WorkshopNotice :visible.sync="showTableDialog" :noticeListData="noticeListData"></WorkshopNotice>
</div>
</div> </div>
</template> </template>
@ -350,6 +354,8 @@ import {
import {monitorSerialData} from "@/utils/serial"; import {monitorSerialData} from "@/utils/serial";
import applyRawOutstock from '@//views/board/common/applyRawOutstock.vue'; import applyRawOutstock from '@//views/board/common/applyRawOutstock.vue';
import {getNowDateTime} from "@/utils/ruoyi"; import {getNowDateTime} from "@/utils/ruoyi";
import WorkshopNotice from "@/components/workshopNotice/index.vue";
import {noticeData} from "@/utils/notice"
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100 const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
export default { export default {
@ -360,11 +366,12 @@ export default {
closeDialog : this.closeDialog closeDialog : this.closeDialog
} }
}, },
mixins: [monitorSerialData], mixins: [monitorSerialData, noticeData],
components: { components: {
'apply-raw-outstock': applyRawOutstock, 'apply-raw-outstock': applyRawOutstock,
Chart, Chart,
PrintPage PrintPage,
WorkshopNotice
}, },
data() { data() {
return { return {

@ -233,6 +233,11 @@
<el-button type="primary" v-loading="submitLoading" @click="submitRawStock"> </el-button> <el-button type="primary" v-loading="submitLoading" @click="submitRawStock"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<div id="workshopNotice">
<WorkshopNotice :visible.sync="showTableDialog" :noticeListData="noticeListData"></WorkshopNotice>
</div>
</div> </div>
</template> </template>
@ -254,6 +259,8 @@ import {
import {monitorSerialData} from "@/utils/serial" import {monitorSerialData} from "@/utils/serial"
import {addWmslocation, updateWmslocation} from "@/api/wms/wmslocation"; import {addWmslocation, updateWmslocation} from "@/api/wms/wmslocation";
import WorkshopNotice from "@/components/workshopNotice/index.vue";
import {noticeData} from "@/utils/notice"
const setState = (e) => { const setState = (e) => {
if (e === '1') { if (e === '1') {
@ -269,9 +276,10 @@ const setState = (e) => {
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100 const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
export default { export default {
name: 'Board1', name: 'Board1',
mixins: [monitorSerialData], mixins: [monitorSerialData, noticeData],
components: { components: {
Chart Chart,
WorkshopNotice
}, },
data() { data() {
return { return {

@ -220,6 +220,11 @@
style="display: block; max-width: 100%; margin: 0 auto" style="display: block; max-width: 100%; margin: 0 auto"
/> />
</el-dialog> </el-dialog>
<div id="workshopNotice">
<WorkshopNotice :visible.sync="showTableDialog" :noticeListData="noticeListData"></WorkshopNotice>
</div>
</div> </div>
</template> </template>
@ -232,6 +237,9 @@ import {
getProductPlans, getProductPlans,
startNextProductPlanDetail startNextProductPlanDetail
} from '@/api/board' } from '@/api/board'
import WorkshopNotice from "@/components/workshopNotice/index.vue";
import {noticeData} from "@/utils/notice"
import {monitorSerialData} from "@/utils/serial";
const setState = (e) => { const setState = (e) => {
if (e === '1') { if (e === '1') {
@ -248,8 +256,10 @@ const vw = (document.documentElement.clientWidth || document.body.clientWidth) /
export default { export default {
name: 'Board1', name: 'Board1',
components: { components: {
Chart Chart,
WorkshopNotice
}, },
mixins: [noticeData],
data() { data() {
return { return {
fileList: [], fileList: [],

Loading…
Cancel
Save