Commit 540c4e39 authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents 01d30b78 ca0ef497
...@@ -144,12 +144,13 @@ export default { ...@@ -144,12 +144,13 @@ export default {
this.cur = i this.cur = i
}; };
// if(u.defaultUsers.mutable&&u.defaultUsers.mutable.length>0){ // if(u.defaultUsers.mutable&&u.defaultUsers.mutable.length>0){
u.defaultUsers.immutable=u.defaultUsers.immutable.concat(u.defaultUsers.mutable) // u.defaultUsers.immutable=u.defaultUsers.immutable.concat(u.defaultUsers.mutable)
u.defaultUsers.immutable=u.defaultUsers.immutable||(u.defaultUsers.mutable)//审核人员bug
// } // }
}) })
if (this.dataImmut.length > this.cur + 1) { if (this.dataImmut.length > this.cur + 1) {
console.log("this.dataImmut[this.cur + 1]:",this.dataImmut[this.cur + 1],this.cur,this.dataImmut.length ) // console.log("this.dataImmut[this.cur + 1]:",this.dataImmut[this.cur + 1],this.cur,this.dataImmut.length )
this.immutData = this.dataImmut[this.cur + 1].defaultUsers.immutable.concat(this.dataImmut[this.cur + 1].defaultUsers.mutable) this.immutData = this.dataImmut[this.cur + 1].defaultUsers.immutable||(this.dataImmut[this.cur + 1].defaultUsers.mutable)//审核人员bug
} }
} else { } else {
this.$Message.error('加载失败') this.$Message.error('加载失败')
......
...@@ -322,7 +322,7 @@ ...@@ -322,7 +322,7 @@
<OrderSendReview ref="orderSendReview"></OrderSendReview> <OrderSendReview ref="orderSendReview"></OrderSendReview>
<div slot="footer"> <div slot="footer">
<Button @click="canCelFn">取消</Button> <Button @click="canCelFn">取消</Button>
<Button type="primary" @click="upSave">确定送审</Button> <Button type="primary" :disabled='sendDisable' @click="upSave">确定送审</Button>
</div> </div>
</Modal> </Modal>
<Modal <Modal
...@@ -423,6 +423,7 @@ export default { ...@@ -423,6 +423,7 @@ export default {
modal1: false, modal1: false,
processviewModal: false, //工艺预览 processviewModal: false, //工艺预览
documentShow: false, //工艺送审 documentShow: false, //工艺送审
sendDisable:false,//料单送审确定按钮
modalliao: false, modalliao: false,
orderDatadia: false, orderDatadia: false,
ProductingPreparationPeople: 0, ProductingPreparationPeople: 0,
...@@ -1851,10 +1852,10 @@ export default { ...@@ -1851,10 +1852,10 @@ export default {
}, },
upSave() { upSave() {
let operatorIdList = this.$refs.orderSendReview.returnDataList() let operatorIdList = this.$refs.orderSendReview.returnDataList()
let itemCode = this.formdata.data01.code let itemCode = this.formdata.data01.code// this.dataListRetrunNew.codeList.push(itemCode)
// this.dataListRetrunNew.codeList.push(itemCode)
this.dataListRetrunNew.code = itemCode this.dataListRetrunNew.code = itemCode
this.dataListRetrunNew.operatorIdList = operatorIdList this.dataListRetrunNew.operatorIdList = operatorIdList
this.sendDisable = true//防止多次点击确定送审
this.$http.order this.$http.order
.batchOrderStart(this.dataListRetrunNew) .batchOrderStart(this.dataListRetrunNew)
.then((response) => { .then((response) => {
...@@ -1869,6 +1870,8 @@ export default { ...@@ -1869,6 +1870,8 @@ export default {
this.$Message.error(response.error.message) this.$Message.error(response.error.message)
} }
this.modalInfo = false this.modalInfo = false
this.sendDisable = false
this.loaddata('')
}) })
.catch((err) => { .catch((err) => {
console.log(err) console.log(err)
......
...@@ -106,16 +106,18 @@ export default { ...@@ -106,16 +106,18 @@ export default {
easy: true, easy: true,
high: true, high: true,
hide:true, hide:true,
},{ },
key: 'reinspectionDate', // {
title: this.l('reinspectionDate'), // key: 'reinspectionDate',
align: 'center', // title: this.l('reinspectionDate'),
render: (h, paras) => { // align: 'center',
return h('span', paras.row.reinspectionDate) // render: (h, paras) => {
}, // return h('span', paras.row.reinspectionDate)
high: true, // },
width:180, // high: true,
},{ // width:180,
// },
{
key: 'remainingAmount', key: 'remainingAmount',
title: this.l('remainingAmount'), title: this.l('remainingAmount'),
align: 'left', align: 'left',
......
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