-
+
-
+
-
+
+
-
- {{'上移'}}
+ {{ '上移' }}
- {{'下移'}}
+ {{ '下移' }}
- {{'置顶'}}
-
+ {{ '置顶' }}
+ -->
- {{ '查看' }}
+ {{ '编辑' }}
+
+
+
+
+
import topBar from '@/components/topBar'
-import { getbdmenuList, getPubenumsList } from '@/api/system'
+import { getPubenumsList } from '@/api/system'
import { getgradeRanglist, getAwardsListChiose } from '@/api/level'
import * as api from '@/api/sms.js'
import { Message } from 'element-ui'
-import { deleteAgreement } from '@/api/configManage'
import ImageUpload from '@/components/ImageUpload'
+import { getvertexValue } from '@/api/member'
+
+const initForm = {
+ position: 1,
+ picture: '',
+ sort: '',
+ effectiveDate: '',
+ link: '',
+ pkVertex: ''
+}
export default {
name: 'Qxpz',
components: {
@@ -215,8 +250,8 @@ export default {
},
data() {
return {
- modifiedTime:[],
- modifiedTime1:[],
+ modifiedTime: [],
+ modifiedTime1: [],
title: '添加',
forms: '',
rules: {
@@ -236,7 +271,9 @@ export default {
{ required: true, message: '请输入链接', trigger: 'blur' }
]
},
- table: { position: '', picture: '', sort: '', effectiveDate: '', link: '' },
+ table: {
+ ...initForm
+ },
ruleShow: false,
moren: 'advertisementBanner',
topList: [
@@ -260,20 +297,26 @@ export default {
statusList: [{ 'name': '立即发送', 'id': '1' }, { 'name': '定时发送', 'id': '2' }],
statusList1: [{ 'name': '未发送', 'id': '0' }, { 'name': '已发送', 'id': '1' }],
menuOptions: [],
- loading:false,
+ loading: false,
tableData: [],
total: 0,
types: '',
formId: '',
- getPostionList: []
+ getPostionList: [],
+ vertexList: []
}
},
created() {
this.research()
this.getPostion()
+ this.getvertexValue()
},
methods: {
- // 置顶
+ getvertexValue() {
+ getvertexValue().then((res) => {
+ this.vertexList = res.data
+ })
+ },
updateTop(item) {
api.getPostion({ 'pkId': item.pkId }).then((res) => {
if (res.code == '200') {
@@ -332,8 +375,7 @@ export default {
api.getBannerDetails(item.pkId).then((res) => {
if (res.code === 200) {
this.ruleShow = true
- this.table = { position: res.data.position, picture: res.data.picture,
- sort: res.data.sort, effectiveDate: res.data.effectiveDate, link: res.data.link }
+ this.table = res.data
} else {
Message({
message: res.msg,
@@ -381,7 +423,7 @@ export default {
type: 'success'
})
that.ruleShow = false
- that.table = { position: '', picture: '', sort: '', effectiveDate: '', link: '' }
+ that.table = { ...initForm }
that.research()
} else {
Message({
@@ -400,7 +442,7 @@ export default {
type: 'success'
})
that.ruleShow = false
- that.table = { position: '', picture: '', sort: '', effectiveDate: '', link: '' }
+ that.table = { ...initForm }
that.research()
} else {
Message({
diff --git a/src/views/information/realInfo/index.vue b/src/views/information/realInfo/index.vue
index 1446a06..9181be1 100644
--- a/src/views/information/realInfo/index.vue
+++ b/src/views/information/realInfo/index.vue
@@ -36,7 +36,7 @@
-
+
-
-
+
+
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -343,16 +292,9 @@
width="180"
/>
-
@@ -389,14 +331,14 @@
-
+
{
- this.yesnouploadsList = res.data
- })
- },
+
// 认证下拉选
getattestation() {
getattestation().then((res) => {
diff --git a/src/views/logistics/delivery/components/OutOfStockProductList.vue b/src/views/logistics/delivery/components/OutOfStockProductList.vue
new file mode 100644
index 0000000..8445317
--- /dev/null
+++ b/src/views/logistics/delivery/components/OutOfStockProductList.vue
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+ {{ item.waresName }} ({{ item.waresCode }})
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/logistics/delivery/index.vue b/src/views/logistics/delivery/index.vue
index f075384..d9fef6d 100644
--- a/src/views/logistics/delivery/index.vue
+++ b/src/views/logistics/delivery/index.vue
@@ -6,7 +6,7 @@
:moren="moren"
/>
-
+
@@ -64,22 +64,7 @@
-
-
-
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ :selected="selectedProductList"
+ @submit="handleSubmit"
+ />
@@ -1286,14 +1206,16 @@ import nowdelivery from '@/components/Delivery/nowdelivery.vue'
import * as del from '@/api/delivery.js'
import { getvertexValue } from '@/api/member'
import { getRouters } from '@/api/settle'
-import { productList } from '@/api/product'
+import OutOfStockProductList from './components/OutOfStockProductList.vue'
+
export default {
name: 'Fhqd',
components: {
topBar,
unhandeled,
yihandeled,
- nowdelivery
+ nowdelivery,
+ OutOfStockProductList
},
data() {
return {
@@ -1309,7 +1231,7 @@ export default {
dialogList: [],
lsArr: [],
tableData: [],
- productLists: [],
+ productLists: '',
systemAllList: [
{
label: '是',
@@ -1368,7 +1290,7 @@ export default {
payTime: [],
printTime: [], // 打印时间2
deliverTime: [], // 发货时间2
- productIdList: [],
+ pkWaresList: [],
systemAll: 0
},
isActive: true,
@@ -1385,7 +1307,8 @@ export default {
menu2: false,
menu3: false,
menu4: false,
- vertexList: [] // 隶属体系
+ vertexList: [], // 隶属体系
+ selectedProductList: []
}
},
created() {
@@ -1395,84 +1318,15 @@ export default {
},
methods: {
clearProduct() {
- this.tableData = []
- this.lsArr = []
- this.queryParams.productIdList = []
- this.productLists = []
+ this.selectedProductList = []
+ this.queryParams.pkWaresList = []
+ this.productLists = ''
},
openDig() {
- this.select = {}
- productList(Object.assign({ isPutOn: 0 }, this.queryParams)).then(
- (res) => {
- res.rows.forEach((item) => {
- item.quantity = 1
- item.pkProduct = item.pkProduct
- item.isGift = 0
- })
- this.dialogList = res.rows
- this.total = res.total
- }
- )
this.dialogVisible = true
+ this.select = {}
},
- handleClose() {
- this.dialogVisible = false
- },
- getDataList() {
- productList(
- Object.assign({ isPutOn: 0 }, this.queryParams, this.select)
- ).then((res) => {
- res.rows.forEach((item) => {
- item.quantity = 1
- item.pkProduct = item.pkProduct
- item.isGift = 0
- })
- this.dialogList = res.rows
- this.total = res.total
- })
- },
- dialogChange(val) {
- this.lsArr = val
- },
- onSubmit() {
- // this.tableData = []
- this.lsArr.forEach((item) => {
- this.tableData.push(item)
- })
- // this.tableData = this.clearArr(this.tableData)
- this.dialogVisible = false
- this.dialogList.forEach((row) => {
- this.$refs.lessonTableRef.toggleRowSelection(row, false)
- })
- // 判断重复
- const arr = this.tableData
- let isTrue = false
- for (var i = 0; i < arr.length; i++) {
- // 首次遍历数组
- for (var j = i + 1; j < arr.length; j++) {
- // 再次遍历数组
- if (arr[i].productCode == arr[j].productCode) {
- if (arr[i].isGift == arr[j].isGift) {
- isTrue = true
- }
- }
- }
- }
- if (isTrue) {
- this.$message.error('请勿选择重复的商品')
- this.tableData = []
- this.lsArr = []
- this.queryParams.productIdList = []
- this.productLists = []
- return
- }
- this.queryParams.productIdList = []
- this.productLists = []
- this.tableData.forEach((item) => {
- this.queryParams.productIdList.push(item.pkId)
- this.productLists.push(item.productName)
- })
- },
+
tableRowClassName({ row, rowIndex }) {
if (rowIndex % 2 == 1) {
return 'warning-row'
@@ -1614,17 +1468,23 @@ export default {
},
// 重置
reChongzhi() {
+ this.selectedProductList = []
this.queryParams = {
pageNum: 1,
pageSize: 500,
orderStatus: 1
}
- this.productLists = []
+ this.productLists = ''
this.getSearch()
},
// 展开折叠
changeActive() {
this.isActive = !this.isActive
+ },
+ handleSubmit(products) {
+ this.selectedProductList = [...products]
+ this.queryParams.pkWaresList = products.map((item) => item.pkId).join(',')
+ this.productLists = products.map((item) => item.waresName).join(',')
}
}
}
diff --git a/src/views/selfService/register/index.vue b/src/views/selfService/register/index.vue
index b1fe0e0..50c4a45 100644
--- a/src/views/selfService/register/index.vue
+++ b/src/views/selfService/register/index.vue
@@ -6,180 +6,240 @@
-->
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
+
+
-
-
+
+
- {{ '返回' }}
+ {{ '返回' }}
-
+
@@ -339,7 +417,7 @@ import * as api from '@/api/giftGoods.js'
import {
DomicileDetails,
domicileReject,
- getDomicileChangeList,
+ getDomicileChangeList
} from '@/api/settle'
import { getApproveStatus } from '@/api/financial'
import { Message } from 'element-ui'
@@ -350,7 +428,7 @@ export default {
name: 'Bzpz',
components: {
topBar,
- Editor,
+ Editor
},
filters: {
isAgree(val) {
@@ -359,7 +437,7 @@ export default {
} else {
return '禁止'
}
- },
+ }
},
data() {
return {
@@ -374,29 +452,29 @@ export default {
// 查询参数
queryParams: {
pageNum: 1,
- pageSize: 50,
+ pageSize: 50
},
addOrEdit: '',
total: 0,
dialogVisible: false,
tableData: [],
- loading:false,
+ loading: false,
moren: 'Register',
topList: [
{
name: '户籍变更',
- path: 'Register',
- },
+ path: 'Register'
+ }
],
form: {
- name: '',
+ name: ''
},
rules: {
name: [
- { required: true, message: '请输入规格类型', trigger: 'blur' },
- ],
+ { required: true, message: '请输入规格类型', trigger: 'blur' }
+ ]
},
- actStatus: [],
+ actStatus: []
}
},
mounted() {
@@ -427,7 +505,7 @@ export default {
if (this.relContent.length == 0) {
this.$message({
message: '请输入驳回信息',
- type: 'warning',
+ type: 'warning'
})
return false
}
@@ -436,7 +514,7 @@ export default {
if (res.code == 200) {
this.$message({
message: res.msg,
- type: 'success',
+ type: 'success'
})
this.isShow = false
this.relContent = ''
@@ -479,21 +557,21 @@ export default {
this.$confirm('是否驳回该申请?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning',
+ type: 'warning'
}).then((_) => {
domicileReject({
- pkId: id || this.$refs.multipleTable.selection[0].pkId,
+ pkId: id || this.$refs.multipleTable.selection[0].pkId
}).then((res) => {
if (res.code == '200') {
Message({
message: res.msg,
- type: 'success',
+ type: 'success'
})
this.getDataList()
} else {
Message({
message: res.msg,
- type: 'error',
+ type: 'error'
})
}
})
@@ -501,7 +579,7 @@ export default {
} else if (this.$refs.multipleTable.selection[0].approveStatus == 3) {
Message({
message: '用户申请户籍变更已被驳回,请勿重复申请',
- type: 'warning',
+ type: 'warning'
})
}
}
@@ -514,7 +592,7 @@ export default {
} else {
Message({
message: res.msg,
- type: 'error',
+ type: 'error'
})
}
})
@@ -530,15 +608,15 @@ export default {
path: 'hjbgQc',
query: {
data: JSON.stringify([
- item || this.$refs.multipleTable.selection[0],
+ item || this.$refs.multipleTable.selection[0]
]),
- approvalBusiness: 132,
- },
+ approvalBusiness: 132
+ }
})
} else if (this.$refs.multipleTable.selection[0].approveStatus == 3) {
Message({
message: '用户申请户籍变更已被驳回,请勿重复申请',
- type: 'warning',
+ type: 'warning'
})
}
}
@@ -548,8 +626,8 @@ export default {
path: 'hjbgQc',
query: {
data: JSON.stringify([item]),
- approvalBusiness: 132,
- },
+ approvalBusiness: 132
+ }
})
},
getData() {
@@ -581,9 +659,9 @@ export default {
path: 'addGiftGoodsInfo',
query: {
pkId: id,
- type: index,
+ type: index
// functionType:this.select.functionType
- },
+ }
})
},
// 删除
@@ -591,7 +669,7 @@ export default {
this.$confirm('确认删除?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning',
+ type: 'warning'
}).then(() => {
api.activityRemove(id).then((res) => {
this.getDataList()
@@ -611,7 +689,7 @@ export default {
if (res.code == 200) {
this.$message({
message: res.msg,
- type: 'success',
+ type: 'success'
})
this.dialogVisible = false
// 充值数据
@@ -632,7 +710,7 @@ export default {
},
openDig() {
this.$router.push({
- path: 'addGiftGoodsInfo',
+ path: 'addGiftGoodsInfo'
})
},
getDataList() {
@@ -644,11 +722,11 @@ export default {
getDomicileChangeList(this.select).then((res) => {
this.loading = false
this.tableData = res.rows
- const regex = new RegExp('
{
- if(item.rejectMsg){
- item.rejectMsg= item.rejectMsg.replace(regex, `
{
+ if (item.rejectMsg) {
+ item.rejectMsg = item.rejectMsg.replace(regex, `
{
@@ -676,8 +754,8 @@ export default {
return 'success-row'
}
return ''
- },
- },
+ }
+ }
}
diff --git a/src/views/wholeNetwork/productManage/summary.vue b/src/views/wholeNetwork/productManage/summary.vue
new file mode 100644
index 0000000..ffd14b9
--- /dev/null
+++ b/src/views/wholeNetwork/productManage/summary.vue
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+