|
|
@@ -28,6 +28,7 @@
|
|
|
@success="warehouseAllChange"
|
|
|
:disabled="!selection.length"
|
|
|
></warehouseAll>
|
|
|
+
|
|
|
<el-button
|
|
|
size="small"
|
|
|
type="primary"
|
|
|
@@ -42,6 +43,11 @@
|
|
|
@chooseTime="chooseTimeALl"
|
|
|
:disabled="!selection.length"
|
|
|
></timeDialogAll>
|
|
|
+
|
|
|
+ <dateAll
|
|
|
+ @success="dateAllChange"
|
|
|
+ :disabled="!selection.length"
|
|
|
+ ></dateAll>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-slot:productName="{ row, $index }">
|
|
|
@@ -512,7 +518,7 @@
|
|
|
import { changeCount } from '@/BIZComponents/setProduct.js';
|
|
|
import { contactQueryByCategoryIdsAPI } from '@/api/saleManage/contact';
|
|
|
import timeDialogAll from '@/components/timeDialog/indexAll.vue';
|
|
|
-
|
|
|
+ import dateAll from './dateAll.vue';
|
|
|
export default {
|
|
|
mixins: [dictMixins, tabMixins],
|
|
|
props: {
|
|
|
@@ -537,7 +543,8 @@
|
|
|
headList,
|
|
|
timeDialog,
|
|
|
timeDialogAll,
|
|
|
- warehouseAll
|
|
|
+ warehouseAll,
|
|
|
+ dateAll
|
|
|
},
|
|
|
computed: {
|
|
|
columns() {
|
|
|
@@ -1109,6 +1116,12 @@
|
|
|
this.$set(this.form.datasource[key], 'warehouseId', data.id);
|
|
|
});
|
|
|
},
|
|
|
+ dateAllChange(data) {
|
|
|
+ let keyS = this.selection.map((item) => item.key - 1);
|
|
|
+ keyS.forEach((key) => {
|
|
|
+ this.$set(this.form.datasource[key], 'expectReceiveDate', data);
|
|
|
+ });
|
|
|
+ },
|
|
|
//选择产品回调
|
|
|
changeParent(obj, idx) {
|
|
|
obj.forEach((item, index) => {
|