修改页面及功能bug

tagView
zhengmingliang 3 years ago
parent f66acdcc08
commit 2f926c4167

@ -600,6 +600,7 @@ export default {
this.editTye = 2;
} else {
this.formName = 1;
this.inputQuery.formData={};
this.editTye = 1;
}
this.addCertVisible = true;

@ -1557,9 +1557,13 @@ export default {
this.getBussinessType(1,action);
},
selsectBussinessType(row){
// if(row==null || row==undefined){
// this.$message.info("");
// return;
// }
var busQuery = {
code: this.currentCode,
code: row.code,
page: 1,
limit: 10000
}

@ -187,7 +187,6 @@ export default {
getCodeList() {
this.loading = true;
this.query.orderIdFk = this.idQuery.orderIdFk;
let query = {
orderIdFk: this.idQuery.orderIdFk
}

@ -245,7 +245,7 @@ export default {
listApplyDetail(query) //
.then((response) => {
this.detailList = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
})
.catch(() => {

@ -287,6 +287,17 @@ export default {
return;
}
if (status === '2') {
if(this.formData.billDate==""){
return this.$message.error("单据日期不能为空!");
}
if(this.formData.locStorageCode=="" || this.formData.locStorageCode==null){
return this.$message.error("仓库不能为空!");
}
if(this.formData.invWarehouseCode=="" || this.formData.invWarehouseCode==null){
return this.$message.error("分库不能为空!");
}
for (let i = 0; i < this.codeArray.length; i++) {
if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") {
return this.$message.error('单据数量不能为0');
@ -337,6 +348,7 @@ export default {
this.thisData.stockOrderLists = this.codeArray;
},
closeDialogC2(rData) {
debugger
this.selectProductVisible = false;
this.thisData = {};
if (this.$isNotBlank(rData)) {

@ -245,7 +245,6 @@ export default {
listApplyDetail(query) //
.then((response) => {
this.detailList = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
})
.catch(() => {

@ -242,7 +242,6 @@ export default {
listApplyDetail(query) //
.then((response) => {
this.detailList = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
})
.catch(() => {

@ -162,7 +162,7 @@
</template>
</el-table-column>
<el-table-column label="操作" fixed="right" width="150">
<!-- <el-table-column label="操作" fixed="right" width="150">
<template slot-scope="scope">
<el-button
type="text"
@ -182,7 +182,7 @@
</el-button
>
</template>
</el-table-column>
</el-table-column> -->
</el-table>
</el-card>
</el-form>

@ -311,6 +311,19 @@ export default {
return;
}
if (status === '2') {
if(this.formData.billDate==""){
return this.$message.error("单据日期不能为空!");
}
if(this.formData.billType=="" || this.formData.billType==null){
return this.$message.error("采购类型不能为空!");
}
if(this.formData.locStorageCode=="" || this.formData.locStorageCode==null){
return this.$message.error("采购仓库不能为空!");
}
if(this.formData.invWarehouseCode=="" || this.formData.invWarehouseCode==null){
return this.$message.error("采购分库不能为空!");
}
for (let i = 0; i < this.codeArray.length; i++) {
if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") {
return this.$message.error('单据数量不能为0');

@ -242,7 +242,7 @@ export default {
listApplyDetail(query) //
.then((response) => {
this.detailList = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
})
.catch(() => {

@ -252,7 +252,6 @@ export default {
listApplyDetail(query) //
.then((response) => {
this.detailList = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false;
})
.catch(() => {

@ -194,7 +194,7 @@
<el-table-column width="150" label="单据数量" prop="count">
</el-table-column>
<el-table-column label="操作" fixed="right" width="150">
<!-- <el-table-column label="操作" fixed="right" width="150">
<template slot-scope="scope">
<el-button
type="text"
@ -214,7 +214,7 @@
</el-button
>
</template>
</el-table-column>
</el-table-column> -->
</el-table>
</el-card>
</el-form>

@ -536,9 +536,7 @@ export default {
name: [
{required: true, message: "证书名称", trigger: "blur"}
],
foreign: [
{required: true, message: "请选择产地", trigger: "blur"}
],
},
/**--------产品资质设置--------------*/
@ -617,7 +615,12 @@ export default {
this.currentSup.type = 1;
addSupCertSet(this.currentSup)
.then((response) => {
this.getList();
if(response.code==20000){
this.getList();
}else{
this.$message.error(response.message);
}
})
.catch(() => {
});
@ -627,6 +630,7 @@ export default {
this.getList();
this.$message.success("保存成功!");
} else {
this.getList();
this.$message.error(res.message);
}
})
@ -689,7 +693,12 @@ export default {
this.currentManufacturer.type = 2;
addSupCertSet(this.currentManufacturer)
.then((response) => {
this.getManufacturerList();
if(response.code==20000){
this.getManufacturerList();
}else{
this.$message.error(response.message);
}
})
.catch(() => {
});
@ -699,6 +708,7 @@ export default {
this.getManufacturerList();
this.$message.success("保存成功!");
} else {
this.getManufacturerList();
this.$message.error(res.message);
}
})
@ -756,7 +766,11 @@ export default {
this.currentProduct.type = 3;
addSupCertSet(this.currentProduct)
.then((response) => {
this.getProductList();
if(response.code==20000){
this.getProductList();
}else{
this.$message.error(response.message);
}
})
.catch(() => {
});
@ -766,6 +780,7 @@ export default {
this.getProductList();
this.$message.success("保存成功!");
} else {
this.getProductList();
this.$message.error(res.message);
}
})

@ -573,6 +573,7 @@ export default {
this.editTye = 2;
} else {
this.formName = 1;
this.inputQuery.formData = {};
this.editTye = 1;
}
this.addCertVisible = true;

@ -76,7 +76,7 @@
show-overflow-tooltip
></el-table-column>
<el-table-column
label="生产企业"
label="医疗器械注册人"
prop="ylqxzcrbarmc"
show-overflow-tooltip
></el-table-column>
@ -244,20 +244,12 @@ export default {
this.$router.push({
path: "",
});
this.listQuery = {
unionCode: null,
udiCode: null,
ylqxzcrbarmc: "",
cpmctymc: "",
thrPiId: null,
nameCode: "",
ggxh: null,
page: 1,
limit: 20,
addType: 1,
billType: this.data.formData.billType,
corpId: this.data.formData.corpId,
};
this.listQuery.udiCode=null
this.listQuery.unionCode=null
this.listQuery.cpmctymc=null
this.listQuery.ggxh=null
this.listQuery.ylqxzcrbarmc=null
this.listQuery.thrPiId=null
this.getList();
},
tableRowClassName({row}) {

Loading…
Cancel
Save