diff --git a/src/api/inout/receiveOrder.js b/src/api/inout/receiveOrder.js index 8dc9b0f5..c49b2267 100644 --- a/src/api/inout/receiveOrder.js +++ b/src/api/inout/receiveOrder.js @@ -46,5 +46,20 @@ export function addOrderDetailAndApply(data) { } +export function printOrder(data) { + return axios({ + url: "/pur/receive/order/printOrder", + method: "post", + data: data, + headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, + responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf + }); +} + + + + + + diff --git a/src/views/inout/PanelCreateOrderBizDetail.vue b/src/views/inout/PanelCreateOrderBizDetail.vue index c45f5d21..d04b4e64 100644 --- a/src/views/inout/PanelCreateOrderBizDetail.vue +++ b/src/views/inout/PanelCreateOrderBizDetail.vue @@ -98,12 +98,19 @@ @@ -324,6 +331,8 @@ export default { } else if (this.curBustype.corpType === 1) {//客户信息 this.invQueryData.invCode = this.idQuery.invCode; this.selectInvProductVisible = true; + } else if (this.curBustype.corpType = 4) { + this.selectProductVisible = true; } }, diff --git a/src/views/inout/receive/receiveAudit.vue b/src/views/inout/receive/receiveAudit.vue index 0c05fa19..794f1df1 100644 --- a/src/views/inout/receive/receiveAudit.vue +++ b/src/views/inout/receive/receiveAudit.vue @@ -10,7 +10,7 @@ - + { this.invList = response.data || []; if (this.invList.length > 0) { - this.filterQuery.invCode = this.invList[0].code - this.invCodebe = this.filterQuery.invCode + this.filterQuery.targetInvCode = this.invList[0].code + this.invCodebe = this.filterQuery.targetInvCode } this.getList(); }) diff --git a/src/views/inout/receive/receiveMySearch.vue b/src/views/inout/receive/receiveMySearch.vue index a7e7679d..2106f395 100644 --- a/src/views/inout/receive/receiveMySearch.vue +++ b/src/views/inout/receive/receiveMySearch.vue @@ -1,16 +1,16 @@ + sortable="custom" :sort-orders="['ascending', 'descending']"> + + + + + diff --git a/src/views/system/ration/InvRationSet.vue b/src/views/system/ration/InvRationSet.vue index 1dda7739..ec2f3ed1 100644 --- a/src/views/system/ration/InvRationSet.vue +++ b/src/views/system/ration/InvRationSet.vue @@ -132,11 +132,10 @@ - + diff --git a/src/views/system/user/authUser.vue b/src/views/system/user/authUser.vue index 7fc018fc..59b3c024 100644 --- a/src/views/system/user/authUser.vue +++ b/src/views/system/user/authUser.vue @@ -32,7 +32,8 @@ 查询 新增 + v-hasPermi="['system:user:add']">新增 + @@ -369,7 +370,7 @@ export default { }; }, methods: { - getDeptList(){ + getDeptList() { }, hideSearch() {