@ -37,7 +37,7 @@ export default {
column: [
{
label: '订单号',
prop: 'woId',
prop: 'woCode',
span: 12,
disabled: true,
},
@ -215,10 +215,14 @@ export default {
this.loading = true;
getWorkOrderByCardNo({ cardNo: this.cardNo })
.then(res => {
if (res.data.data) {
this.cardNo = '';
if (Object.keys(res.data.data).length != 0) {
this.rowItem = res.data.data;
this.editOpen = true;
this.loading = false;
} else {
this.$message.error('未找到该流程卡号!');
}
})
.catch(err => {