Browse Source

自提编辑添加统一商场限制

pre-production
马远东 9 months ago
parent
commit
4e4bbed21b
  1. 2
      src/views/distribution/checkInventoryTask/createTask.vue
  2. 13
      src/views/distribution/inventory/distrilbutionBillLading.vue

2
src/views/distribution/checkInventoryTask/createTask.vue

@ -2648,7 +2648,7 @@ const DelayButton = () => {
/** 未盘点数据导出 */
const handleUncountedExport = () => {
ElMessageBox.confirm('是否导出未盘点数据?').then(async () => {
ElMessageBox.confirm(InventoryState.value ? '导出未盘点数据' : '导出已盘点数据').then(async () => {
try {
TcPdloading.value = true;
const res = await postExportContrastStockInfo({

13
src/views/distribution/inventory/distrilbutionBillLading.vue

@ -465,7 +465,7 @@
class="addTable"
ref="multipleTable"
:columnList="columnList"
:tableData="dataOrder"
:tableData="dataOrder"
:loading="loading"
@inputTxt="inputsc"
@timeCheck="timesc"
@ -2270,14 +2270,21 @@ export default {
},
//
callFordeliveryOrder() {
if(!this.selectionList.length){
this.$message.warning('请选择订单');
return
}
console.log(this.selectionList, 'this.selectionList');
let scID = this.selectionList[0].mallId; //DI
let mallIdState = this.selectionList.find(res => res.mallId != scID);
if (mallIdState) {
let dataListscID = null;
if(this.dataList.length){
dataListscID = this.dataList.find(res=>res.mallId != scID)
}
if (mallIdState || dataListscID) {
this.$message.warning('请选择同一商场');
return;
}
console.log('111 :>> ', 111);
let st = false;
let sts = false;

Loading…
Cancel
Save