10/21 界面优化

dev_unify
wangwei 9 months ago
parent a911f72b49
commit b5135d467c

@ -791,6 +791,7 @@ export default {
} }
let tQuery = Object.assign(JSON.parse(JSON.stringify(this.orderFormData))); let tQuery = Object.assign(JSON.parse(JSON.stringify(this.orderFormData)));
tQuery.orderId = this.orderFormData.billNo; tQuery.orderId = this.orderFormData.billNo;
tQuery.productType = 1
if (this.viewType == 2) { // if (this.viewType == 2) { //
submitCodes(tQuery) submitCodes(tQuery)
.then((response) => { .then((response) => {

@ -1252,6 +1252,7 @@ export default {
// } // }
// if (this.editQuery.basicPrductRemak7 != null) { // if (this.editQuery.basicPrductRemak7 != null) {
this.findThrTypeMethod(this.repEditQuery.basicPrductRemak7); this.findThrTypeMethod(this.repEditQuery.basicPrductRemak7);
this.getList();
}, },
directives: { directives: {
'debounce-input': { 'debounce-input': {

@ -499,7 +499,7 @@ export default {
} }
}, },
auditDialog(_this, row) { auditDialog(_this, row) {
_this.title = "物资入院审核" _this.title = "药品入院审核"
if (row.type == 1) { if (row.type == 1) {
let query = {devKey: row.deviceRecordKey} let query = {devKey: row.deviceRecordKey}
getDiProductDetail(query).then((res) => { getDiProductDetail(query).then((res) => {

@ -482,6 +482,7 @@ export default {
this.newProductData.sourceType = 1 this.newProductData.sourceType = 1
if (this.newType == 1) { if (this.newType == 1) {
this.newProductData.productType = 2
saveNewProduct(this.newProductData).then((res) => { saveNewProduct(this.newProductData).then((res) => {
if (res.code == 20000) { if (res.code == 20000) {
this.$message.success("添加成功"); this.$message.success("添加成功");
@ -496,6 +497,7 @@ export default {
}) })
} else if (this.newType == 2) { } else if (this.newType == 2) {
// addProduct(this.newProductData).then((res) => { // addProduct(this.newProductData).then((res) => {
this.newProductData.productsType = 2
addThrAddProductsNew(this.newProductData).then((res) => { addThrAddProductsNew(this.newProductData).then((res) => {
if (res.code == 20000) { if (res.code == 20000) {
this.$message.success("添加成功"); this.$message.success("添加成功");

@ -454,6 +454,7 @@ export default {
checkStatus: null, checkStatus: null,
page: 1, page: 1,
limit: 20, limit: 20,
productsType:2
}, },
total: 0, total: 0,
tableHeader: [], tableHeader: [],
@ -512,6 +513,7 @@ export default {
name: null, name: null,
page: 1, page: 1,
limit: 20, limit: 20,
productsType:2
}; };
this.getList(); this.getList();
}, },

@ -573,6 +573,7 @@ export default {
uuid: this.editDate.uuid, uuid: this.editDate.uuid,
customerId: this.editDate.customerId, customerId: this.editDate.customerId,
remark: this.remark remark: this.remark
} }
updateDiProduct(query).then((res) => { updateDiProduct(query).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {

@ -481,7 +481,9 @@ export default {
this.newProductData.sourceType = 1 this.newProductData.sourceType = 1
if (this.newType == 1) { if (this.newType == 1) {
this.newProductData.productType = 1
saveNewProduct(this.newProductData).then((res) => { saveNewProduct(this.newProductData).then((res) => {
if (res.code == 20000) { if (res.code == 20000) {
this.$message.success("添加成功"); this.$message.success("添加成功");
@ -495,6 +497,7 @@ export default {
this.$message.error(error.message); this.$message.error(error.message);
}) })
} else if (this.newType == 2) { } else if (this.newType == 2) {
this.newProductData.productsType = 1
// addProduct(this.newProductData).then((res) => { // addProduct(this.newProductData).then((res) => {
addThrAddProductsNew(this.newProductData).then((res) => { addThrAddProductsNew(this.newProductData).then((res) => {
if (res.code == 20000) { if (res.code == 20000) {

@ -454,6 +454,7 @@ export default {
checkStatus: null, checkStatus: null,
page: 1, page: 1,
limit: 20, limit: 20,
productsType:1
}, },
total: 0, total: 0,
tableHeader: [], tableHeader: [],
@ -512,6 +513,7 @@ export default {
name: null, name: null,
page: 1, page: 1,
limit: 20, limit: 20,
productsType:1
}; };
this.getList(); this.getList();
}, },

Loading…
Cancel
Save