diff --git a/src/api/basic/product/udiRelevance.js b/src/api/basic/product/udiRelevance.js index e765ac2f..b966232f 100644 --- a/src/api/basic/product/udiRelevance.js +++ b/src/api/basic/product/udiRelevance.js @@ -184,6 +184,14 @@ export function changeVersion(query) { }); } +export function getGgxhList(params) { + return axios({ + url: "/udiwms/udiinfo/getGgxhList", + method: "get", + params: params + }); +} + diff --git a/src/api/inout/code.js b/src/api/inout/code.js index a7d80d1d..bc637415 100644 --- a/src/api/inout/code.js +++ b/src/api/inout/code.js @@ -8,6 +8,15 @@ export function saveCode(query) { }); } +export function tabCode(query) { + return axios({ + url: "/warehouse/inout/saveTabCode", + method: "post", + data: query + }); +} + + export function findByCode(query) { return axios( { diff --git a/src/views/basic/product/SelectDIDetailDialog.vue b/src/views/basic/product/SelectDIDetailDialog.vue index 7e51a7e3..5f6a26b5 100644 --- a/src/views/basic/product/SelectDIDetailDialog.vue +++ b/src/views/basic/product/SelectDIDetailDialog.vue @@ -130,7 +130,7 @@ :disabled="true" size="small" splaceholder="请输入内容" - v-model="editQuery.cplb" + v-model="editQuery.hchzsb" > @@ -196,7 +196,7 @@ :disabled="true" size="small" splaceholder="请输入内容" - v-model="editQuery.qxlb" + v-model="editQuery.cplx" > diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue index 7d1353b6..63b64639 100644 --- a/src/views/inout/DialogCreateOrder.vue +++ b/src/views/inout/DialogCreateOrder.vue @@ -221,7 +221,7 @@ :closeCodeDialog="closeCodeDialog" :repeatAddCode="repeatAddCode" :codeDetail="codeFormData" - editTye="1"> + editType="1"> @@ -399,7 +399,8 @@ export default { .then((response) => { this.busTypeOptions = response.data || []; this.curAction = this.getActionItem(this.orderFormData.action); - if ((this.curAction.checkEnable && this.curAction.checkWebNew) || this.viewType == 1) { + if ((this.curAction.checkEnable && (this.curAction.checkWebNew || this.curAction.checkUdims || this.curAction.checkCopy + || this.curAction.checkPdaEd || this.curAction.checkPdaUn || this.curAction.checkPc || this.curAction.checkWebNew || this.curAction.checkSp || this.curAction.checkChange || this.curAction.checkBalance)) || this.viewType == 1) { this.bizShow = true; } else this.bizShow = false; diff --git a/src/views/inout/DialogEditCode.vue b/src/views/inout/DialogEditCode.vue index aabe6fca..c7cffc4f 100644 --- a/src/views/inout/DialogEditCode.vue +++ b/src/views/inout/DialogEditCode.vue @@ -18,7 +18,7 @@ + :disabled="editType!=1"> @@ -26,19 +26,19 @@ + :disabled="editType!=1"> - + - + @@ -72,13 +72,13 @@ import { findByCode, - saveCode + saveCode, tabCode } from "@/api/inout/code"; export default { name: "editCode", props: { - editTye: { + editType: { type: Object, required: true, }, @@ -106,8 +106,20 @@ export default { methods: { saveCode() { - if (this.editTye == 1) { + if (this.editType == 1) { this.repeatAddCode(this.editData); + + tabCode(this.editData) + .then((response) => { + console.log(response) + if (response.code === 20000) { + this.$message.success("提交成功"); + } else { + this.$message.error(response.message); + } + this.loading = false; + }); + } else { saveCode(this.editData) .then((response) => { diff --git a/src/views/inout/PanelCreateOrderCodes.vue b/src/views/inout/PanelCreateOrderCodes.vue index 41f57728..13056691 100644 --- a/src/views/inout/PanelCreateOrderCodes.vue +++ b/src/views/inout/PanelCreateOrderCodes.vue @@ -148,7 +148,7 @@ v-if="editCodeVisible" > @@ -314,6 +314,7 @@ export default { this.$message.success("绑定成功"); this.idQuery.id = this.curRow.orderId; this.getCodeList(); + this.refreshPanel(); } else { this.$message.error(response.message); } @@ -325,7 +326,7 @@ export default { closeBindDialog() { this.selectRlVisible = false; this.dialogTableVisible = false; - this.refreshPanel(); + // this.refreshPanel(); }, closeCodeDialog() { diff --git a/src/views/inventory/DeviceReceiveOrderModify.vue b/src/views/inventory/DeviceReceiveOrderModify.vue index 0718fd87..f35ce372 100644 --- a/src/views/inventory/DeviceReceiveOrderModify.vue +++ b/src/views/inventory/DeviceReceiveOrderModify.vue @@ -690,7 +690,7 @@ export default { }, created() { this.getDeptList(); - if (isBlank(this.deviceReceiveOrder) ) { + if (!(isBlank(this.deviceReceiveOrder.orderId)) ) { this.formData.orderId = this.deviceReceiveOrder.orderId; this.formData.createTime = this.deviceReceiveOrder.createTime; this.formData.fromDeptCode = this.deviceReceiveOrder.fromDeptCode; diff --git a/src/views/remind/invRemindMsg.vue b/src/views/remind/invRemindMsg.vue index fcd3ad06..ce018a28 100644 --- a/src/views/remind/invRemindMsg.vue +++ b/src/views/remind/invRemindMsg.vue @@ -1,75 +1,183 @@ +