查看
+ 人员列表
编辑
删除
@@ -330,6 +331,20 @@ export default {
}
},
+ //人员列表
+ handleList(row){
+
+ console.log("班组信息",row);
+ this.$router.push({
+ path: '/basicdata/team/basicdataTeamStaff',
+ query: {
+ id: row.id,
+ name: '班组人员 - ' + row.groupName,
+ type: '2'
+ }
+ });
+
+ },
async handleEdit (row) {
//查询仓库信息
await this.getWarehouseList();
diff --git a/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue b/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue
index 32f1e190..3db46012 100644
--- a/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue
+++ b/src/views/basicdata/warehouse/goodsArea/basicdataGoodsArea.vue
@@ -53,6 +53,8 @@
新 增
删 除
+ 禁 用
+ 启 用
@@ -102,7 +104,9 @@
查看
导出数据
编辑
- 删除
+ 删除
+
+
@@ -182,18 +186,18 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -209,7 +213,7 @@
+
+
diff --git a/src/views/distribution/inventory/distributionStockArticleDetails.vue b/src/views/distribution/inventory/distributionStockArticleDetails.vue
index 906297ca..1b4527db 100644
--- a/src/views/distribution/inventory/distributionStockArticleDetails.vue
+++ b/src/views/distribution/inventory/distributionStockArticleDetails.vue
@@ -429,8 +429,8 @@ export default {
fixed: true,
},
{
- prop: 'warehouse',
- label: '仓库',
+ prop: 'serviceNumber',
+ label: '服务号',
type: 2,
values: '',
width: '150',
@@ -449,6 +449,27 @@ export default {
fixed: true,
sortable: true,
head: false,
+ }, {
+ prop: 'orderCode',
+ label: '订单自编号',
+ type: 2,
+ values: '',
+ width: '150',
+ checkarr: [],
+ fixed: false,
+ sortable: true,
+ head: false,
+ },
+ {
+ prop: 'warehouse',
+ label: '仓库',
+ type: 2,
+ values: '',
+ width: '150',
+ checkarr: [],
+ fixed: false,
+ sortable: true,
+ head: false,
},
{
prop: 'orderPackageStatusName',
diff --git a/src/views/distribution/reservation/reservation.vue b/src/views/distribution/reservation/reservation.vue
index aebda40c..9518ac2b 100644
--- a/src/views/distribution/reservation/reservation.vue
+++ b/src/views/distribution/reservation/reservation.vue
@@ -90,10 +90,10 @@
@selection="selectionChange"
>
- 查看
- 编辑
+ 查看
+ 编辑
- 取消预约
+ 取消预约
确认预约
diff --git a/src/views/distribution/reservation/reservationAddFrom.vue b/src/views/distribution/reservation/reservationAddFrom.vue
index 88ba0cda..e85b7505 100644
--- a/src/views/distribution/reservation/reservationAddFrom.vue
+++ b/src/views/distribution/reservation/reservationAddFrom.vue
@@ -103,7 +103,6 @@
{{item.dictValue}}
@@ -117,15 +116,15 @@
-
-
-
- {{item.dictValue}}
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -591,7 +590,7 @@
// { required: true, message: '请选择启用状态!', trigger: 'change' }
// ],
},
- obj:{},
+ obj: {}
};
},
created() {
@@ -610,7 +609,7 @@
this.onLoad(this.page);
this.getDictionary();
},
- watch:{
+ watch: {
'$route.query.reservationId': {
handler(newVal, oldVal) {
console.log(newVal, oldVal);
@@ -688,125 +687,9 @@
//查询出所有的市配订单
handleAddOrder() {
this.loading = true;
- console.log('$$$$$$', this.orderData);
- this.query.typeService = 2;
- this.query.genre = '1';
- const params = {};
- const page = this.page;
- if (this.reservationId){
- console.log("------------>",'预约编辑');
- //编辑和新增不一样的处理方式
- //这里需要查询出未被预约的订单和该预约自己本身的订单
- // selectUpdateAvailableStockArticle(this.reservationId).then(res=>{
- // console.log('res------------>', res);
- // const data = res.data.data;
- // this.stockArticleInfo = data
- // this.stockArticleInfo.forEach((item, index) => {
- // //检查订单是否冻结
- // this.checkOrder(item, index);
- // if (this.orderData) {
- // this.orderData.forEach(o => {
- // if (o.id === item.id) {
- // this.$nextTick(() => {
- // this.$refs.orderList.toggleRowSelection(this.stockArticleInfo[index], true);
- // });
- // }
- // });
- // }else {
- // this.orderList = [];
- // }
- // });
- // })
- this.onLoadEditOrder(this.page);
- }else {
- this.onLoadOrder(this.page);
- // selectStockArticleInfoList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then( res => {
- // console.log('res------------>', res);
- // const data = res.data.data;
- // this.stockArticleInfo = data.records;
- // this.stockArticleInfo.forEach((item, index) => {
- // //检查订单是否冻结
- // this.checkOrder(item, index);
- // // if (this.orderData) {
- // // this.orderData.forEach(o => {
- // // if (o.id === item.id) {
- // // this.$nextTick(() => {
- // // this.$refs.orderList.toggleRowSelection(this.stockArticleInfo[index], true);
- // // });
- // // }
- // // });
- // // }else {
- // // this.orderList = [];
- // // }
- // });
- // this.orderList = [];
- //
- // });
- }
+ //这里只需要对订单进行正常的搜索即可
+ this.onLoadOrder(this.page);
this.loading = false;
- console.log("this.stockArticleInfo------------->",this.stockArticleInfo);
- // if (this.reservationId) {
- // //这里需要编辑,那么这里就需要在订单列表中回显已使用包件,禁用勾选其他预约使用的包件细信息
- // this.query.typeService = 2;
- // this.query.genre = '1';
- // //查询所有订单列表信息
- // let page = this.page;
- // let params = {};
- // selectStockArticleInfoList(Object.assign(params, this.query)).then(res => {
- // let orderListData = res.data.data;
- // this.stockArticleInfo = orderListData;
- // //这里进行订单的勾选回显
- // let a = this.orderData;
- // for (let i = 0; i < orderListData.length; i++) {
- // for (let j = 0; j < a.length; j++) {
- // if (orderListData[i].id === a[j].id){
- // orderListData[i] = a[j];
- // this.$nextTick(()=> {
- // this.$refs.orderList.toggleRowSelection(this.stockArticleInfo[i],true);
- // })
- // }
- // this.checkOrder(this.stockArticleInfo[i],i);
- // }
- // }
- // this.loading = false;
- // this.selectionClear();
- // });
- // } else {
- // this.query.typeService = 2;
- // this.query.genre = '1';
- // let page = this.page;
- // let params = {};
- // selectStockArticleAndParcel(Object.assign(params, this.query)).then(res => {
- // let orderData = res.data.data;
- // orderData.forEach((item, index) => {
- // item.reservationNum = item.handQuantity;
- // item.reservationNum = '0';
- // });
- // this.stockArticleInfo = orderData;
- // //转预约单的操作会带出订单
- // if (this.orderData){
- // this.stockArticleInfo.forEach((item,index)=>{
- // this.orderData.forEach(o=>{
- // if (item.id === o.id){
- // this.$nextTick(()=> {
- // this.$refs.orderList.toggleRowSelection(this.stockArticleInfo[index],true);
- // })
- // }
- // })
- // // if (item.reservationStatus === '30'){
- // // this.$nextTick(()=> {
- // // this.$refs.orderList.toggleRowSelection(this.stockArticleInfo[index],true);
- // // })
- // // }
- // this.checkOrder(item,index);
- // })
- // }else {
- // //这里是通过新增预约的按钮进入的页面
- // }
- // this.loading = false;
- // this.selectionClear();
- // });
- // }
this.orderShow = true;
},
checkOrder(row, index) {
@@ -930,29 +813,29 @@
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>', row);
if (this.reservationId) {
//这里就是编辑的数据回显问题
- let packageInfo = row.parcelListVOS
+ let packageInfo = row.parcelListVOS;
// this.packageData = row.parcelListVOS;
let packageListData = this.packageData;
if (row.packageList) {
let packageListInfo = row.packageList;
- packageInfo.forEach((item,index)=>{
- packageListInfo.forEach(p=>{
- if (item.id===p.id){
- this.$nextTick( ()=> {
- this.$refs.packageList.toggleRowSelection(this.packageData[index],true);
- })
+ packageInfo.forEach((item, index) => {
+ packageListInfo.forEach(p => {
+ if (item.id === p.id) {
+ this.$nextTick(() => {
+ this.$refs.packageList.toggleRowSelection(this.packageData[index], true);
+ });
}
- })
- })
- }else {
+ });
+ });
+ } else {
//新增订单,默认全选
- packageInfo.forEach((item,index)=>{
- this.$nextTick( ()=> {
- this.$refs.packageList.toggleRowSelection(this.packageData[index],true);
- })
- })
+ packageInfo.forEach((item, index) => {
+ this.$nextTick(() => {
+ this.$refs.packageList.toggleRowSelection(this.packageData[index], true);
+ });
+ });
}
- this.packageData =row.parcelListVOS;
+ this.packageData = row.parcelListVOS;
} else {
this.packageData = row.parcelListVOS;
//这里回显展示的效果应该是展示被其他预约单勾选的订单处于禁用勾选,冻结订单处于禁用无法勾选,其他默认为全选
@@ -995,12 +878,11 @@
let page = this.page;
this.query.typeService = 2;
this.query.genre = 1;
- if (this.reservationId){
- this.onLoadEditOrder(this.page)
- }else {
- this.onLoadOrder(this.page)
-
- }
+ // if (this.reservationId) {
+ // this.onLoadEditOrder(this.page);
+ // } else {
+ this.onLoadOrder(this.page);
+ // }
// selectStockArticleList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
// const data = res.data.data;
// data.records.forEach(item => {
@@ -1042,11 +924,11 @@
this.$message.warning('请选择包件!!!');
return;
}
- this.orderData.forEach(item=>{
- if (item.id===this.obj.id){
+ this.orderData.forEach(item => {
+ if (item.id === this.obj.id) {
item.packageList = this.packageList;
}
- })
+ });
console.log('this.orderData------------>', this.orderData);
this.isaddvalue = false;
},
@@ -1076,11 +958,11 @@
this.form.inventoryList = inventoryList;
console.log('-------------->', this.orderData);
let order = this.orderData;
- order.forEach(o=>{
- if (!o.packageListInfo){
+ order.forEach(o => {
+ if (!o.packageListInfo) {
o.packageListInfo = o.packageList;
}
- })
+ });
this.form.stockArticleList = order;
this.deliveryWayData.forEach(item => {
if (this.form.deliveryWay === item.dictValue) {
@@ -1117,7 +999,7 @@
});
});
} else {
- this.form.reservationStatus = '20'
+ this.form.reservationStatus = '20';
autonomouslySave(this.form).then(() => {
this.$message({
type: 'success',
@@ -1224,12 +1106,12 @@
this.$message.warning('请选择至少一条数据');
return;
}
- this.inventoryList.forEach(item=>{
- if (item.reservationNum > item.applyNum){
+ this.inventoryList.forEach(item => {
+ if (item.reservationNum > item.applyNum) {
this.$message.warning('该库存品数量输入有误!!!');
return;
}
- })
+ });
this.inventoryData = this.inventoryList;
// if (this.orderData.length) {
@@ -1250,40 +1132,71 @@
*/
onSubmitOrder() {
console.log('-------------》', this.orderList);
- if (this.orderList.length === 0) {
- this.$message.warning('请选择至少一条数据');
- return;
- }
const list = this.orderList;
- console.log("list--------",list);
- let j = 0;
- let name = list[0].customerName;
- let address = list[0].customerAddress;
- let phone = list[0].customerTelephone;
+ let name = list[0].customerName;
+ let address = list[0].customerAddress;
+ let phone = list[0].customerTelephone;
+ if (!!this.form.consignee) {
+ if (this.form.consignee !== name) {
+ this.$message.warning('请选择统一顾客订单!!!');
+ return;
+ }
+ }
+ if (!!this.form.customerAddress) {
+ if (this.form.customerAddress !== address) {
+ this.$message.warning('请选择统一顾客订单!!!');
+ return;
+ }
+ }
+ if (!!this.form.customerTelephone) {
+ if (this.form.customerTelephone !== phone) {
+ this.$message.warning('请选择统一顾客订单!!!');
+ return;
+ }
+ }
+ //市配 --- 最终客户校验
for (let i = 1; i < list.length; i++) {
- if (list[i].customerName !== name || list[i].customerAddress !== address || list[i].customerTelephone !== phone){
+ if (list[i].customerName !== name || list[i].customerAddress !== address || list[i].customerTelephone !== phone) {
this.$message.warning('请选择统一顾客订单!!!');
return;
}
}
+
this.form.consignee = name;
this.form.deliveryAddress = address;
this.form.deliveryPhone = phone;
- this.orderData = this.orderList;
- let info = [];
- // if (this.orderData){
- // let a = this.orderData;
- // data.forEach(item=>{
- // a.forEach(order=>{
- // if (item.id === order.id){
- console.log("orderData----------------->",this.orderData);
- // item = order;
- // }
- // })
- // info.push(item);
- // })
- // }
- // this.orderData = info;
+ //这里需要对选择的订单进行筛选
+ const info = [];
+ this.stockArticleInfo.forEach((item, index) => {
+ this.orderList.forEach(order => {
+ // const newDate1 = this.orderData.map(item => { // map遍历本地数据
+ // if (this.orderList.find(o => o.id !== item.id)) { // 如果在接口数据中包含本地数据,则返回这条本地数据
+ // return item;
+ // });
+ // } info.push(order);
+ //清理原来订单列表的订单数据
+ info.push(order);
+ this.stockArticleInfo.splice(index, 1);
+ });
+ });
+ if (this.orderData.length >= 1) {
+ let newDate1 = this.orderData.map(item => { // map遍历本地数据
+ if (this.orderList.find(o => o.id !== item.id)) { // 如果在接口数据中包含本地数据,则返回这条本地数据
+ return item;
+ }
+ });
+ console.log('newDate1-------------->', newDate1.length);
+ if (newDate1.length >= 1) {
+ console.log('newDate1-------------->', newDate1);
+ newDate1.forEach(a => {
+ this.orderData.push(a);
+ });
+ }
+ console.log('this.orderData------------->', this.orderData);
+ } else {
+ this.orderData = this.orderList;
+ }
+ // this.orderData.push(info);
this.orderShow = false;
},
selectionClear() {
@@ -1293,28 +1206,39 @@
},
currentOrderChange(currentPage) {
this.page.currentPage = currentPage;
- if (this.reservationId){
- this.onLoadEditOrder(this.page,this.reservationId);
- }else {
- this.onLoadOrder(this.page);
- }
+ // if (this.reservationId) {
+ // this.onLoadEditOrder(this.page, this.reservationId);
+ // } else {
+ // this.onLoadOrder(this.page);
+ // }
+ this.onLoadOrder(this.page);
},
sizeOrderChange(pageSize) {
this.page.pageSize = pageSize;
- if (this.reservationId){
- this.onLoadEditOrder(this.page,this.reservationId);
-
- }else {
+ // if (this.reservationId) {
+ // this.onLoadEditOrder(this.page, this.reservationId);
+ // } else {
+ // this.onLoadOrder(this.page);
+ // }
+ this.onLoadOrder(this.page);
- this.onLoadOrder(this.page);
- }
},
- onLoadEditOrder(arg,params = {}){
- const page = arg;
- selectUpdateAvailableStockArticle(page.currentPage, page.pageSize,this.reservationId,Object.assign(params, this.query)).then(res=>{
+ onLoadEditOrder(params = {}) {
+ this.query.typeService = 2;
+ this.query.genre = '1';
+ const page = this.page;
+ let a = [];
+ if (this.orderData) {
+ this.orderData.forEach(item => {
+ a.push(item.id);
+ });
+ }
+ this.query.orderIds = a.join(',');
+ this.query.reservationId = this.reservationId;
+ selectUpdateAvailableStockArticle(page.currentPage, page.pageSize, this.reservationId, Object.assign(params, this.query)).then(res => {
console.log('res------------>', res);
const data = res.data.data;
- this.stockArticleInfo = data.records;
+ this.stockArticleInfo = data.records;
this.stockArticleInfo.forEach((item, index) => {
//检查订单是否冻结
this.checkOrder(item, index);
@@ -1327,24 +1251,30 @@
});
}
});
- }else {
+ } else {
this.orderList = [];
}
});
this.page.total = data.total;
- })
+ });
// this.query = {};
},
-
-
- onLoadOrder(arg,params={}){
- console.log("------------->arg",arg);
- const page = arg;
- console.log("------------->page",page);
- selectStockArticleInfoList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then( res => {
+ onLoadOrder(page, params = {}) {
+ this.query.typeService = 2;
+ this.query.genre = '1';
+ // const page = this.page;
+ let a = [];
+ if (this.orderData) {
+ this.orderData.forEach(item => {
+ a.push(item.id);
+ });
+ }
+ this.query.orderIds = a.join(',');
+ console.log('-------------->', this.query);
+ selectStockArticleInfoList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
console.log('res------------>', res);
const data = res.data.data;
- this.stockArticleInfo = data.records;
+ this.stockArticleInfo = data.records;
this.stockArticleInfo.forEach((item, index) => {
//检查订单是否冻结
this.checkOrder(item, index);
@@ -1362,7 +1292,6 @@
this.page.total = data.total;
});
this.orderList = [];
-
});
},
diff --git a/src/views/distribution/stockup/distributionStockup.vue b/src/views/distribution/stockup/distributionStockup.vue
index 4da16469..f849c113 100644
--- a/src/views/distribution/stockup/distributionStockup.vue
+++ b/src/views/distribution/stockup/distributionStockup.vue
@@ -671,8 +671,9 @@ export default {
let params ={
department: this.deptId
}
+ console.log("备货区参数>>>",params);
stockUp(params).then(res =>{
- // console.log("res>>>",res.data.data);
+ console.log("备货区数据",res.data.data);
let fo =[];
res.data.data.forEach(i =>{
let v = {
@@ -695,7 +696,7 @@ export default {
}
let a = false ;
this.selectionList.some(i =>{
- if(i.assignStatus == "2"){
+ if(i.assignStatus == "20"){
a = true;
return;
}
diff --git a/src/views/distribution/stockup/distributionStockupSelf.vue b/src/views/distribution/stockup/distributionStockupSelf.vue
index 775d02cd..6121d657 100644
--- a/src/views/distribution/stockup/distributionStockupSelf.vue
+++ b/src/views/distribution/stockup/distributionStockupSelf.vue
@@ -736,8 +736,9 @@ export default {
let params ={
department: this.deptId
}
+ console.log("备货参数<><><>",params);
stockUp(params).then(res =>{
- // console.log("res>>>",res.data.data);
+ console.log("备货区数据>>>",res.data.data);
let fo =[];
res.data.data.forEach(i =>{
let v = {
diff --git a/src/views/distribution/turndelivery/deliveryDiscuss.vue b/src/views/distribution/turndelivery/deliveryDiscuss.vue
index 3bca59d9..6a60c8cb 100644
--- a/src/views/distribution/turndelivery/deliveryDiscuss.vue
+++ b/src/views/distribution/turndelivery/deliveryDiscuss.vue
@@ -193,16 +193,16 @@
-
-
-
-
- {{ item.dictValue }}
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -407,10 +407,10 @@
>
-
+
-
+
@@ -1056,28 +1056,46 @@
console.log('>>>>>>>>>>>>', this.stockArticleList);
console.log('>>>>>>>>orderData', this.orderData);
const data = this.stockArticleList;
- let info = [];
- // if (this.orderData) {
- // let a = this.orderData;
- // data.forEach(item => {
- // a.forEach(order => {
- // if (item.id === order.id) {
- // console.log('order----------------->', order);
- // item = order;
- // }
- // });
- // info.push(item);
- // });
- // }
- data.map(item=>{
- console.log(item);
- this.orderData.forEach(order=>{
- if (item.id !== order.id){
- this.orderData.push(item);
- }
+ const info = [];
+ this.stockArticleInfo.forEach((item, index) => {
+ this.stockArticleList.forEach(order => {
+ // const newDate1 = this.orderData.map(item => { // map遍历本地数据
+ // if (this.orderList.find(o => o.id !== item.id)) { // 如果在接口数据中包含本地数据,则返回这条本地数据
+ // return item;
+ // });
+ // } info.push(order);
+ //清理原来订单列表的订单数据
+ info.push(order);
+ this.stockArticleInfo.splice(index, 1);
+ });
+ });
+
+ if (this.orderData.length >= 1) {
+ let newDate1 = this.orderData.map(item => { // map遍历本地数据
+ if (this.stockArticleList.find(o => o.id !== item.id)) { // 如果在接口数据中包含本地数据,则返回这条本地数据
+ return item;
+ }
+ });
+ console.log('newDate1-------------->', newDate1.length);
+ if (newDate1.length >= 1) {
+ console.log('newDate1-------------->', newDate1);
+ newDate1.forEach(a=>{
+ this.orderData.push(a);
})
- })
- // this.orderData = info;
+ }
+ console.log("this.orderData------------->",this.orderData);
+ } else {
+ this.orderData = this.stockArticleList;
+ }
+ // data.map(item=>{
+ // console.log(item);
+ // this.orderData.forEach(order=>{
+ // if (item.id !== order.id){
+ // this.orderData.push(item);
+ // }
+ // })
+ // })
+ // // this.orderData = info;
console.log('+++++++++++++++', this.orderData);
this.orderShow = false;
},
@@ -1537,23 +1555,24 @@
this.query.genre = '1';
console.log('query------------->', this.query);
const page = this.page;
- selectStockArticleInfoList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
- console.log('------------------->', res);
- const data = res.data.data;
- this.stockArticleInfo = data.records;
- if (this.orderData) {
- this.stockArticleInfo.forEach((item, index) => {
- this.orderData.forEach(order => {
- if (item.id === order.id) {
- console.log('----------->');
- this.$nextTick(() => {
- this.$refs.stockArticleTable.toggleRowSelection(this.stockArticleInfo[index], true);
- });
- }
- });
- });
- }
- });
+ this.onLoadOrder(page);
+ // selectStockArticleInfoList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
+ // console.log('------------------->', res);
+ // const data = res.data.data;
+ // this.stockArticleInfo = data.records;
+ // if (this.orderData) {
+ // this.stockArticleInfo.forEach((item, index) => {
+ // this.orderData.forEach(order => {
+ // if (item.id === order.id) {
+ // console.log('----------->');
+ // this.$nextTick(() => {
+ // this.$refs.stockArticleTable.toggleRowSelection(this.stockArticleInfo[index], true);
+ // });
+ // }
+ // });
+ // });
+ // }
+ // });
// selectStockArticleAndParcel(Object.assign(params,this.query)).then(res=>{
// console.log("res------------>",res.data.data);
// const data = res.data.data
@@ -1626,6 +1645,13 @@
this.query.typeService = 1;
this.query.genre = '1';
const page = arg;
+ let a =[];
+ if (this.orderData){
+ this.orderData.forEach(item=>{
+ a.push(item.id)
+ })
+ }
+ this.query.orderIds = a.join(",");
selectStockArticleInfoList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
console.log(res.data.data);
const data = res.data.data;
diff --git a/src/views/reservation/order_list.vue b/src/views/reservation/order_list.vue
index 900d7692..3cdac67b 100644
--- a/src/views/reservation/order_list.vue
+++ b/src/views/reservation/order_list.vue
@@ -969,7 +969,7 @@ export default {
// 返回false,说明全都相等
if(!notEqualFlag){
this.$router.push({
- path: '/distribution/reservation/reservationFrom',
+ path: '/distribution/reservation/order_listFrom',
query:{
id: this.ids,
}
diff --git a/src/views/system/tenant.vue b/src/views/system/tenant.vue
index a0bd6fa0..9b60bc4c 100644
--- a/src/views/system/tenant.vue
+++ b/src/views/system/tenant.vue
@@ -128,6 +128,7 @@ import { getDetail as packageDetail } from '@/api/system/tenantpackage';
import { mapGetters } from 'vuex';
import { getMenuTree } from '@/api/system/menu';
import { validatenull } from '@/utils/validate';
+import {getAppMenuTree} from "@/api/system/appmenu";
export default {
data() {
@@ -375,6 +376,11 @@ export default {
const column = this.findObject(this.packageOption.column, 'menuId');
column.dicData = res.data.data;
});
+ getAppMenuTree().then(res => {
+
+ const columns = this.findObject(this.packageOption.column, 'appMenuId');
+ columns.dicData = res.data.data;
+ });
},
rowSave(row, done, loading) {
add(row).then(
diff --git a/src/views/warehouse/warehouseStock/warehouseStock.vue b/src/views/warehouse/warehouseStock/warehouseStock.vue
index d6e9f06b..f337f712 100644
--- a/src/views/warehouse/warehouseStock/warehouseStock.vue
+++ b/src/views/warehouse/warehouseStock/warehouseStock.vue
@@ -68,6 +68,17 @@ export default {
sortable: false,
head: false,
},
+ {
+ prop: 'scanNodeType',
+ label: '扫描详情',
+ type: 2,
+ values: '',
+ width: '150',
+ checkarr: [],
+ fixed: true,
+ sortable: false,
+ head: false,
+ },
{
prop: 'orderCode',
label: '订单自编码',
@@ -181,7 +192,7 @@ export default {
{
prop: 'operatorName',
label: '操作员',
- type: 2,
+ type: 1,
values: '',
width: '180',
checkarr: [],
@@ -373,6 +384,8 @@ export default {
},
inputsc(index, row) {
console.log(index, row);
+ this.query[row.prop] = index;
+ this.onLoad(this.page);
},
init () {
this.height = this.setPx(document.body.clientHeight - 340);
diff --git a/src/views/warehouse/warehouseWaybill.vue b/src/views/warehouse/warehouseWaybill.vue
index b76fdf2a..0e0ed495 100644
--- a/src/views/warehouse/warehouseWaybill.vue
+++ b/src/views/warehouse/warehouseWaybill.vue
@@ -425,7 +425,7 @@ export default {
head: false,
},
{
- prop: 'destinationWarehouse',
+ prop: 'destinationWarehouseName',
label: '目的仓',
type: 2,
values: '',
@@ -436,7 +436,7 @@ export default {
head: false,
},
{
- prop: 'departureWarehouse',
+ prop: 'departureWarehouseName',
label: '发站仓',
type: 2,
values: '',
@@ -1128,7 +1128,7 @@ export default {
for (let index = 0; index < this.orderlist.length; index++) {
const element = this.orderlist[index];
if(element.goods){
- var o = element.goods[index]
+ var o = element.goods[0]
if(!o.splitNum){
this.$message({
type: 'waring',