diff --git a/src/router/index.js b/src/router/index.js index e9b47618..7e337f2e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -243,6 +243,27 @@ export const constantRoutes = [ ] }, + {//供应链-供应商功能-采购询价报价 + path: '/foodManage/supplierFunction', + component: Layout, + hidden: true, + redirect: 'noredirect', + children: [ + { + path: 'supplierQuotationDetail', + component: () => import('@/views/foodManage/supplierFunction/supplierQuotation/detail'), + name: 'SupplierQuotationDetail', + meta: { title: '采购询价报价详情', icon: '' } + }, + { + path: 'supplierQuotationEdit', + component: () => import('@/views/foodManage/supplierFunction/supplierQuotation/edit'), + name: 'SupplierQuotationEdit', + meta: { title: '采购询价报价', icon: '' } + }, + ] + }, + {//供应链-仓库管理-库存 path: '/foodManage/stockManage', component: Layout, diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue b/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue index 9a0a1454..cf13d6a4 100644 --- a/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue +++ b/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue @@ -89,6 +89,11 @@ + + + @@ -400,7 +405,7 @@ export default { param.endTime = this.formatDateTime(this.baseInfo.dateRange[1]) param.requestArrivalTime = this.formatDateTime(this.baseInfo.requestArrivalTime) param.status=1 - param.imsIntoInventoryDetailAddList = [] + param.detailList = [] this.noMaterial = false; if(this.materialList.length>0){ this.materialList.forEach(item=>{ @@ -408,7 +413,7 @@ export default { this.noMaterial = true }else{ let obj = Object.assign({}, item) - param.imsIntoInventoryDetailAddList.push(obj) + param.detailList.push(obj) } }) } @@ -456,7 +461,7 @@ export default { param.endTime = this.formatDateTime(this.baseInfo.dateRange[1]) param.requestArrivalTime = this.formatDateTime(this.baseInfo.requestArrivalTime) param.status=2 - param.imsIntoInventoryDetailAddList = [] + param.detailList = [] this.noMaterial = false; if(this.materialList.length>0){ this.materialList.forEach(item=>{ @@ -464,7 +469,7 @@ export default { this.noMaterial = true }else{ let obj = Object.assign({}, item) - param.imsIntoInventoryDetailAddList.push(obj) + param.detailList.push(obj) } }) } diff --git a/src/views/foodManage/supplierFunction/supplierQuotation/detail.vue b/src/views/foodManage/supplierFunction/supplierQuotation/detail.vue new file mode 100644 index 00000000..2daaac77 --- /dev/null +++ b/src/views/foodManage/supplierFunction/supplierQuotation/detail.vue @@ -0,0 +1,318 @@ + + + + \ No newline at end of file diff --git a/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue b/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue new file mode 100644 index 00000000..8fd71eeb --- /dev/null +++ b/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue @@ -0,0 +1,540 @@ + + + + \ No newline at end of file diff --git a/src/views/foodManage/supplierFunction/supplierQuotation/index.vue b/src/views/foodManage/supplierFunction/supplierQuotation/index.vue new file mode 100644 index 00000000..ac776fb5 --- /dev/null +++ b/src/views/foodManage/supplierFunction/supplierQuotation/index.vue @@ -0,0 +1,302 @@ + + +