|
|
|
@ -10,7 +10,6 @@
|
|
|
|
|
<el-form-item label="入库时间:" class="el-times"> |
|
|
|
|
<!-- <el-input v-model="query.stockupArea" placeholder="请输入备货区"></el-input>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="stockupDate" |
|
|
|
|
type="daterange" |
|
|
|
@ -76,9 +75,7 @@
|
|
|
|
|
@click="handleBillAdd" |
|
|
|
|
>创建自提</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" @click="pickupCancellation" |
|
|
|
|
>批量取消</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" @click="pickupCancellation">批量取消</el-button> |
|
|
|
|
<!-- <el-button |
|
|
|
|
type="primary" |
|
|
|
|
icon="el-icon-plus" |
|
|
|
@ -108,7 +105,7 @@
|
|
|
|
|
|
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<tablecmt |
|
|
|
|
class="tableNode" |
|
|
|
|
class="tableNode" |
|
|
|
|
:columnList="columnList" |
|
|
|
|
:tableData="data" |
|
|
|
|
:loading="loading" |
|
|
|
@ -266,14 +263,14 @@ import { mapGetters } from 'vuex';
|
|
|
|
|
import { getDictionaryBiz } from '@/api/system/dict'; |
|
|
|
|
import { getToken } from '@/utils/auth'; |
|
|
|
|
import dayjs from 'dayjs'; |
|
|
|
|
import { downloadXls, handleClearTableQuery ,setNodeHeight} from '@/utils/util'; |
|
|
|
|
import { downloadXls, handleClearTableQuery, setNodeHeight } from '@/utils/util'; |
|
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'; |
|
|
|
|
import MyPrint from '@/components/MyPrint/MyPrint.vue'; |
|
|
|
|
export default { |
|
|
|
|
name: '/distribution/inventory/distrilbutionBillLadingList', |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
Deliverytime:[],//提货时间 |
|
|
|
|
Deliverytime: [], //提货时间 |
|
|
|
|
columnList: [ |
|
|
|
|
{ |
|
|
|
|
prop: '', |
|
|
|
@ -309,7 +306,7 @@ export default {
|
|
|
|
|
label: '订单自编号', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '300', |
|
|
|
|
width: '200', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
@ -887,7 +884,7 @@ export default {
|
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
}) |
|
|
|
|
.then(async() => { |
|
|
|
|
.then(async () => { |
|
|
|
|
// 批量取消 |
|
|
|
|
let data = { |
|
|
|
|
billLodingIds: '', |
|
|
|
@ -895,7 +892,7 @@ export default {
|
|
|
|
|
data.billLodingIds = this.selectionList.map(res => res.id).join(','); |
|
|
|
|
console.log(data, '处理好的值'); |
|
|
|
|
this.loading = true; //开启加载 |
|
|
|
|
await $_distrilbutionBillLading(data) |
|
|
|
|
await $_distrilbutionBillLading(data) |
|
|
|
|
.then(res => { |
|
|
|
|
console.log(res, '批量取消车成功'); |
|
|
|
|
this.onLoad(this.page); |
|
|
|
@ -1141,11 +1138,11 @@ export default {
|
|
|
|
|
params.startDate = startDate; |
|
|
|
|
params.entDate = entDate; |
|
|
|
|
} |
|
|
|
|
if(this.Deliverytime?.length){ |
|
|
|
|
if (this.Deliverytime?.length) { |
|
|
|
|
let startDate = this.Deliverytime[0]; |
|
|
|
|
let entDate = this.Deliverytime[1]; |
|
|
|
|
params.pickUpTimeStart = startDate; |
|
|
|
|
params.pickUpTimeEnd = entDate |
|
|
|
|
params.pickUpTimeEnd = entDate; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getListOwnNUm(params).then(res => { |
|
|
|
@ -1158,7 +1155,7 @@ export default {
|
|
|
|
|
console.log(',.,.已签收', this.signedFor, '全部', this.sumTotal); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.data=[] |
|
|
|
|
this.data = []; |
|
|
|
|
const res = await getListOwn( |
|
|
|
|
page.currentPage, |
|
|
|
|
page.pageSize, |
|
|
|
|