Commit 54aabd35 authored by 佟礼's avatar 佟礼

工单执行

parents b26f1992 3a549d53
...@@ -227,9 +227,10 @@ export default { ...@@ -227,9 +227,10 @@ export default {
}, },
getCurrentUser(e) { getCurrentUser(e) {
if (e) { if (e) {
let userInfo = this.$store.admin.user.info; let userInfo = this.$store.state.admin.user.info;
this.user.cardno = userInfo.login_id this.user.cardno = userInfo.login_id
this.user.user_name =userInfo.userName this.user.user_name =userInfo.name
this.user.user_id = userInfo.userId this.user.user_id = userInfo.userId
} else { } else {
this.user.cardno = '' this.user.cardno = ''
......
...@@ -238,8 +238,8 @@ export default { ...@@ -238,8 +238,8 @@ export default {
}, },
getCurrentUser(e) { getCurrentUser(e) {
if (e) { if (e) {
let userInfo = this.$store.state.userInfo; let userInfo = this.$store.state.admin.user.info;
console.log(userInfo);
this.user.cardno = userInfo.login_id this.user.cardno = userInfo.login_id
this.user.user_name = userInfo.name this.user.user_name = userInfo.name
this.user.user_id = userInfo.userId this.user.user_id = userInfo.userId
......
...@@ -410,6 +410,7 @@ export default { ...@@ -410,6 +410,7 @@ export default {
file_template: '', file_template: '',
remarks: '', remarks: '',
extend: '', extend: '',
order_comb_id: 0, order_comb_id: 0,
orderids: '', orderids: '',
productingPreparationPeople:'', productingPreparationPeople:'',
......
...@@ -526,7 +526,7 @@ export default { ...@@ -526,7 +526,7 @@ export default {
{ {
title: '主工艺', title: '工艺规程',
key: 'mainRoutingID', key: 'mainRoutingID',
width: 120, width: 120,
render: (h, params) => { render: (h, params) => {
...@@ -610,7 +610,7 @@ export default { ...@@ -610,7 +610,7 @@ export default {
key: 'materialbillID', key: 'materialbillID',
width: 120, width: 120,
render: (h, params) => { render: (h, params) => {
if (this.tabstatus == '1') { if (params.row.mainRoutingID== 0) {
h('div', '') h('div', '')
} else { } else {
let id = params.row.id let id = params.row.id
...@@ -1615,6 +1615,8 @@ export default { ...@@ -1615,6 +1615,8 @@ export default {
this.modalliao = true this.modalliao = true
let ld = this.$refs.orderMaterial let ld = this.$refs.orderMaterial
params.row.mainRoutingID
if ( if (
params.row.materialbillStatus == 1 || params.row.materialbillStatus == 1 ||
params.row.materialbillStatus == 2 || params.row.materialbillStatus == 2 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment