diff --git a/src/api/prefrenceArea.js b/src/api/prefrenceArea.js new file mode 100644 index 0000000..32b43fd --- /dev/null +++ b/src/api/prefrenceArea.js @@ -0,0 +1,7 @@ +import request from '@/utils/request' +export function fetchList() { + return request({ + url:'/prefrenceArea/listAll', + method:'get', + }) +} diff --git a/src/api/subject.js b/src/api/subject.js new file mode 100644 index 0000000..c11e6ec --- /dev/null +++ b/src/api/subject.js @@ -0,0 +1,7 @@ +import request from '@/utils/request' +export function fetchList() { + return request({ + url:'/subject/listAll', + method:'get', + }) +} diff --git a/src/views/pms/product/add.vue b/src/views/pms/product/add.vue index d49c645..ee0171e 100644 --- a/src/views/pms/product/add.vue +++ b/src/views/pms/product/add.vue @@ -6,16 +6,32 @@ - - - - -
- - 上一步 - 下一步 - -
+ + + + + + + + diff --git a/src/views/pms/product/components/addProductRelation.vue b/src/views/pms/product/components/addProductRelation.vue index 255fe57..35a48ea 100644 --- a/src/views/pms/product/components/addProductRelation.vue +++ b/src/views/pms/product/components/addProductRelation.vue @@ -1,10 +1,116 @@ diff --git a/src/views/pms/product/components/addProductSale.vue b/src/views/pms/product/components/addProductSale.vue index 8e857d6..1823876 100644 --- a/src/views/pms/product/components/addProductSale.vue +++ b/src/views/pms/product/components/addProductSale.vue @@ -156,6 +156,10 @@ + + 上一步,填写商品信息 + 下一步,填写商品属性 + @@ -169,7 +173,9 @@ }, data() { return { + //选中的服务保证 selectServiceList: [], + //日期选择器配置 pickerOptions1: { disabledDate(time) { return time.getTime() < Date.now(); @@ -258,6 +264,12 @@ type: 'warning' }); } + }, + handlePrev(){ + this.$emit('prevStep') + }, + handleNext(){ + this.$emit('nextStep') } } }