diff --git a/src/api/system/area.js b/src/api/system/area.js
new file mode 100644
index 0000000..fa736d6
--- /dev/null
+++ b/src/api/system/area.js
@@ -0,0 +1,79 @@
+import request from '@/utils/request'
+
+
+// 查询区域列表(不分页) 点击push
+export function selectAreaList(areaName, parentCode) {
+ return request({
+ url: `/system/area/selectAreaList?areaName=${areaName}&parentCode=${parentCode}`,
+ method: 'get',
+ })
+}
+
+//搜索
+// 查询区域列表(不分页)
+export function selectAreaListquery(areaName) {
+ return request({
+ url: `/system/area/selectAreaList?areaName=${areaName}`,
+ method: 'get',
+ })
+}
+
+//开局
+// 查询区域列表(不分页)
+export function selectAreaListinfo(areaName) {
+ return request({
+ url: `/system/area/selectAreaList?areaLevel=${areaName}`,
+ method: 'get',
+ })
+}
+
+// 查询区域列表
+export function listArea(query) {
+ return request({
+ url: '/system/area/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询区域详细
+export function getArea(id) {
+ return request({
+ url: '/system/area/' + id,
+ method: 'get'
+ })
+}
+
+// 新增区域
+export function addArea(data) {
+ return request({
+ url: '/system/area/add',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改区域
+export function updateArea(data) {
+ return request({
+ url: '/system/area/edit',
+ method: 'POST',
+ data: data
+ })
+}
+
+// 删除区域
+export function delArea(id) {
+ return request({
+ url: '/system/area/' + id,
+ method: 'POST'
+ })
+}
+
+//边远地区
+export function updateRemoteSigns(id, remoteSigns) {
+ return request({
+ url: `/system/area/updateRemoteSigns?id=${id}&remoteSigns=${remoteSigns}`,
+ method: 'POST'
+ })
+}
\ No newline at end of file
diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue
index 5ddfd01..f117421 100644
--- a/src/views/system/OperateGoodsInfo/index.vue
+++ b/src/views/system/OperateGoodsInfo/index.vue
@@ -122,7 +122,6 @@
align="center"
prop="goodsCategoryName"
/>
-
{{ scope.row.goodsPurpose == "BUSINESS" ? "买卖" : "" }}
@@ -151,7 +150,6 @@
-
@@ -326,8 +324,9 @@
diff --git a/src/views/system/OperateGoodsInfo/indexjs.js b/src/views/system/OperateGoodsInfo/indexjs.js
index a48b806..42dd5af 100644
--- a/src/views/system/OperateGoodsInfo/indexjs.js
+++ b/src/views/system/OperateGoodsInfo/indexjs.js
@@ -191,7 +191,7 @@ export default {
attributePitureUrl: "",
goodsPrice: "",
goodsStock: "",
- sort: "",
+ attributeDetailsSort: null,
ids: this.ids,
};
this.goodDetailsLists.push(obj);
@@ -244,7 +244,7 @@ export default {
attributePitureUrl: "",
goodsPrice: "",
goodsStock: "",
- sort: "",
+ attributeDetailsSort: null,
}, ],
}, ];
},
@@ -310,7 +310,7 @@ export default {
attributePitureUrl: "",
goodsPrice: "",
goodsStock: "",
- sort: "",
+ attributeDetailsSort: null,
ids: 9999999,
}, ];
this.resetForm("form");
@@ -352,7 +352,7 @@ export default {
attributePitureUrl: "",
goodsPrice: "",
goodsStock: "",
- sort: "",
+ sort: null,
ids: 9999999,
}, ];
this.open = true;
@@ -389,6 +389,10 @@ export default {
this.form.id = this.form.goodsInfoId;
this.form.goodDetailsLists.forEach(e => {
e.goodsPrice = Number(e.goodsPrice)
+ if (e.attributeDetailsSort == '') {
+ e.attributeDetailsSort = null
+ }
+ // e.sort = e.attributeDetailsSort
})
updateGoodsInfo(this.form).then((response) => {
var obj = { pictureUrlList: [] };
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
new file mode 100644
index 0000000..24fef2d
--- /dev/null
+++ b/src/views/system/area/index.vue
@@ -0,0 +1,534 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 否
+ 是
+
+
+
+
+
+
+
+
+
+
+