|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<el-form :model="formData" ref="dataForm" label-width="100px">
|
|
|
|
|
<el-form :model="formData" ref="dataForm" label-width="100px">
|
|
|
|
|
<el-row type="flex" justify="end">
|
|
|
|
|
<el-button-group style="display: flex;margin-bottom: 15px; margin-right: 50px;margin-top: -5px">
|
|
|
|
|
<el-button
|
|
|
|
@ -56,6 +56,11 @@
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row :gutter="20">
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item prop="remark" label="领用备注:">
|
|
|
|
|
<el-input v-model="formData.remark" auto-complete="off" disabled></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item prop="remark" label="审核说明:">
|
|
|
|
|
<el-input v-model="formData.auditRemark" auto-complete="off"></el-input>
|
|
|
|
@ -64,7 +69,8 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-card>
|
|
|
|
|
<el-card>
|
|
|
|
|
<el-table v-loading="loading" :data="codeArray" style="width: 100%;" border max-height="300" height="300" ref="multipleTable">
|
|
|
|
|
<el-table v-loading="loading" :data="codeArray" style="width: 100%;" border max-height="300" height="300"
|
|
|
|
|
ref="multipleTable">
|
|
|
|
|
<el-table-column label="序号" type="index" width="50"></el-table-column>
|
|
|
|
|
<el-table-column label="产品通用名" prop="cpmctymc" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column>
|
|
|
|
@ -120,7 +126,7 @@ export default {
|
|
|
|
|
this.showSearch = !this.showSearch;
|
|
|
|
|
},
|
|
|
|
|
handleDetail() {
|
|
|
|
|
var query={};
|
|
|
|
|
var query = {};
|
|
|
|
|
query.orderIdFk = this.formData.billNo;
|
|
|
|
|
getOrderDetail(query) //查找该单号下的所有条码
|
|
|
|
|
.then((response) => {
|
|
|
|
@ -130,28 +136,29 @@ export default {
|
|
|
|
|
this.codeArray = [];
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
saveOrder(val){
|
|
|
|
|
var data={
|
|
|
|
|
id:this.formData.id,
|
|
|
|
|
billNo:this.formData.billNo,
|
|
|
|
|
status:val,
|
|
|
|
|
auditRemark:this.formData.auditRemark
|
|
|
|
|
saveOrder(val) {
|
|
|
|
|
var data = {
|
|
|
|
|
id: this.formData.id,
|
|
|
|
|
billNo: this.formData.billNo,
|
|
|
|
|
status: val,
|
|
|
|
|
auditRemark: this.formData.auditRemark
|
|
|
|
|
};
|
|
|
|
|
getAudit(data).then((res=>{
|
|
|
|
|
if(res.code==20000){
|
|
|
|
|
getAudit(data).then((res => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
this.closeDialog();
|
|
|
|
|
}else{
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.message);
|
|
|
|
|
}
|
|
|
|
|
}))
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
filters: {},
|
|
|
|
|
mounted() {},
|
|
|
|
|
mounted() {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
console.log(this.idQuery)
|
|
|
|
|
this.formData=this.idQuery;
|
|
|
|
|
this.handleDetail();
|
|
|
|
|
this.formData = this.idQuery;
|
|
|
|
|
this.handleDetail();
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|