Browse Source

修复商配搜索

dev-xx
qb 5 months ago
parent
commit
b90023ed3b
  1. 22
      src/views/distribution/turndelivery/deliveryDiscuss.vue

22
src/views/distribution/turndelivery/deliveryDiscuss.vue

@ -212,7 +212,7 @@
<el-radio label="1" size="large">商配</el-radio> <el-radio label="1" size="large">商配</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="是否整车" v-if="kind"> <el-form-item label="是否整车" v-if="kind">
<el-radio-group v-model="DataSubmit.isAll"> <el-radio-group v-model="DataSubmit.isAll">
<el-radio :value="1" size="large"> </el-radio> <el-radio :value="1" size="large"> </el-radio>
<el-radio :value="0" size="large"></el-radio> <el-radio :value="0" size="large"></el-radio>
@ -483,7 +483,7 @@
class="columnList mt10" class="columnList mt10"
style="height: 60vh" style="height: 60vh"
ref="columnListNode" ref="columnListNode"
:columnList="wrapLoading ? wrap : newMenuData" :columnList="wrapLoading ? details.wrap : details.newMenuData"
:tableData="wrapLoading ? wrapData : data" :tableData="wrapLoading ? wrapData : data"
:loading="loading" :loading="loading"
@inputTxt="inputsc" @inputTxt="inputsc"
@ -698,6 +698,11 @@ const clloading = ref(true);
/** 编辑时, 初始化车辆信息 */ /** 编辑时, 初始化车辆信息 */
const chooseCarIds = ref([]); const chooseCarIds = ref([]);
const details = reactive({
wrap: deepClone(wrap),
newMenuData: deepClone(newMenuData),
});
// //
// //
// //
@ -813,7 +818,7 @@ const DataSubmit = ref({
], ],
masterDriverName: null, // masterDriverName: null, //
masterVehicleNub: null, // masterVehicleNub: null, //
isAll:0, isAll: 0,
remarks: null, // remarks: null, //
reservation: { reservation: {
deliveryType: '1', // deliveryType: '1', //
@ -984,7 +989,7 @@ onMounted(() => {
// wrapLoading.value = true; // // wrapLoading.value = true; //
editLoading.value = true; // editLoading.value = true; //
getDeliveryList(route.query.id) getDeliveryList(route.query.id)
.then( async res => { .then(async res => {
console.log(res, '页面信息'); console.log(res, '页面信息');
// //
@ -1035,7 +1040,7 @@ onMounted(() => {
} }
}); });
} }
DataSubmit.value.isAll =res.data.data.isAll;// DataSubmit.value.isAll = res.data.data.isAll; //
} }
wrapDataInfo.value = res.data.data.stockArticleList || ''; // wrapDataInfo.value = res.data.data.stockArticleList || ''; //
@ -1057,9 +1062,10 @@ onMounted(() => {
DataSubmit.value.stockup.goodsAreaName = stockupInfo.stockupArea || ''; // DataSubmit.value.stockup.goodsAreaName = stockupInfo.stockupArea || ''; //
DataSubmit.value.stockup.outboundDate = stockupInfo.outboundDate || ''; // DataSubmit.value.stockup.outboundDate = stockupInfo.outboundDate || ''; //
DataSubmit.value.stockup.stockupDate = stockupInfo.stockupDate || ''; // DataSubmit.value.stockup.stockupDate = stockupInfo.stockupDate || ''; //
await tooSUM(); await tooSUM();
}) })
.catch((e) => {console.log(e,'error'); .catch(e => {
console.log(e, 'error');
}) })
.finally(() => { .finally(() => {
editLoading.value = false; // editLoading.value = false; //
@ -1178,7 +1184,7 @@ function dataTabInfo() {
const AddInfo = () => { const AddInfo = () => {
tcstate.value = true; // tcstate.value = true; //
currentPage.value = 1; // currentPage.value = 1; //
newMenuData.forEach(res => { details.newMenuData.forEach(res => {
res.values = ''; res.values = '';
}); });
parameter.value = {}; parameter.value = {};

Loading…
Cancel
Save