qb 9 months ago
parent
commit
601c51a76f
  1. 4
      src/option/warehouse/warehouseRetentionRecord.js
  2. 8
      src/views/Pricesystem/Price/PriceDelivery.vue
  3. 11
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue
  4. 4
      src/views/financialsector/Financialse/FinancialDelivery.vue
  5. 27
      src/views/warehouse/warehouseRetentionRecord/warehouseRetentionRecord.vue

4
src/option/warehouse/warehouseRetentionRecord.js

@ -141,7 +141,7 @@ export const columnList = [
}, },
{ {
prop: 'retentionWayName', prop: 'retentionWayNameS',
label: '滞留方式', label: '滞留方式',
type: 3, type: 3,
values: '', values: '',
@ -160,7 +160,7 @@ export const columnList = [
sortable: true, sortable: true,
}, },
{ {
prop: 'scanTypeName', prop: 'scanTypeNameS',
label: '滞留操作类型', label: '滞留操作类型',
type: 3, type: 3,
values: '', values: '',

8
src/views/Pricesystem/Price/PriceDelivery.vue

@ -391,7 +391,7 @@
/> />
</el-form-item> </el-form-item>
</div> </div>
<div style="display: flex" v-if="request.dispatchIsUpwardJudgment"> <!-- <div style="display: flex" v-if="request.dispatchIsUpwardJudgment">
<div class="el_flex_h"> <div class="el_flex_h">
<div> <div>
<el-form-item label="向上判断件数"> <el-form-item label="向上判断件数">
@ -422,7 +422,7 @@
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</el-form> </el-form>
@ -1205,7 +1205,9 @@ const onLoad = async () => {
requestInfo.value.leaveBehindMinCost || 0; requestInfo.value.leaveBehindMinCost || 0;
// //
if (request.value.dispatchMinCostType == 1) { if (request.value.dispatchMinCostType !=1) {
console.log(requestInfo.value.additionalCost,'requestInfo.value.additionalCost');
// //
form.value.additionalCost = requestInfo.value.additionalCost || 0; form.value.additionalCost = requestInfo.value.additionalCost || 0;
// //

11
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -5741,9 +5741,14 @@ if($useStore.getters && $useStore.getters.permission){
this.loading = true; // this.loading = true; //
console.log(this.Routid, this.Routid, '存储的ID=====================WDWADAWD'); console.log(this.Routid, this.Routid, '存储的ID=====================WDWADAWD');
console.log('data>>>>>>>>', this.deliverydata); console.log('data>>>>>>>>', this.deliverydata);
this.deliveryId = this.deliverydata.id; //ID if(this.deliverydata.retention){
let id = this.deliverydata.id; //
const res = await getDetail(id); this.deliveryId = this.deliverydata.deliveryId; //ID
}else{
//
this.deliveryId = this.deliverydata.id; //ID
}
const res = await getDetail(this.deliveryId);
const { code, data } = res.data; const { code, data } = res.data;

4
src/views/financialsector/Financialse/FinancialDelivery.vue

@ -353,14 +353,14 @@
<!-- 是否向上判断 --> <!-- 是否向上判断 -->
<div v-if="!form.dispatchIsMinCost" class="el_flex_row"> <!-- <div v-if="!form.dispatchIsMinCost" class="el_flex_row">
<span class="el_table_span">是否向上判断</span> <span class="el_table_span">是否向上判断</span>
<el-radio-group v-model="form.dispatchIsUpwardJudgment" class="el_Cselect el_fx"> <el-radio-group v-model="form.dispatchIsUpwardJudgment" class="el_Cselect el_fx">
<el-radio v-for="item in Upwardjudgment" :key="item.label" :label="item.value">{{ <el-radio v-for="item in Upwardjudgment" :key="item.label" :label="item.value">{{
item.label item.label
}}</el-radio> }}</el-radio>
</el-radio-group> </el-radio-group>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>

27
src/views/warehouse/warehouseRetentionRecord/warehouseRetentionRecord.vue

@ -49,7 +49,7 @@
<template #default="slotProps"> <template #default="slotProps">
<template v-if="slotProps.scope.column.label === '操作'"> <template v-if="slotProps.scope.column.label === '操作'">
<div class="ElBtnClass"> <div class="ElBtnClass">
<el-button @click="view(slotProps.scope)">查看</el-button> <el-button @click="view(slotProps.scope)">查看详情</el-button>
</div> </div>
</template> </template>
</template> </template>
@ -202,7 +202,7 @@ const showdrawer = _flag => {
const inputsc = (index, row) => { const inputsc = (index, row) => {
details.query[row.prop] = index; details.query[row.prop] = index;
processRowProperty(index, row, details); processRowProperty(index, row, details);
test(details.query); onLoad();
}; };
// //
const test = val => {}; const test = val => {};
@ -225,6 +225,7 @@ const btnsc = val => {
/** 表格表头下拉框选择 */ /** 表格表头下拉框选择 */
const selectsc = (index, row) => { const selectsc = (index, row) => {
processRowProperty(index, row, details); processRowProperty(index, row, details);
onLoad();
}; };
/** 表格表头复选框选择 */ /** 表格表头复选框选择 */
const selectionChange = list => { const selectionChange = list => {
@ -238,10 +239,12 @@ const searchChange = () => {
// //
const sizeChange = val => { const sizeChange = val => {
details.page.pageSize = val; details.page.pageSize = val;
onLoad();
}; };
/** 页码改变执行的回调 */ /** 页码改变执行的回调 */
const currentChange = val => { const currentChange = val => {
details.page.currentPage = val; details.page.currentPage = val;
onLoad();
}; };
// //
const searchChangeS = () => { const searchChangeS = () => {
@ -278,16 +281,16 @@ const onLoad = () => {
details.data = res.data.data.records; details.data = res.data.data.records;
details.data.forEach(item => { details.data.forEach(item => {
if (item.retentionWay == 1) { if (item.retentionWay == 1) {
item.retentionWayName = '扫描'; item.retentionWayNameS = '扫描';
} else if (item.retentionWay == 2) { } else if (item.retentionWay == 2) {
item.retentionWayName = '文员'; item.retentionWayNameS = '文员';
} }
if (item.scanType == 1) { if (item.scanType == 1) {
item.scanType = '包件'; item.scanType = '包件';
} else if (item.scanType == 2) { } else if (item.scanTypeS == 2) {
item.scanTypeName = '订单'; item.scanTypeName = '订单';
} else if (item.scanType == 3) { } else if (item.scanType == 3) {
item.scanTypeName = '托盘'; item.scanTypeNameS = '托盘';
} }
}); });
details.page.total = res.data.data.total; details.page.total = res.data.data.total;
@ -295,7 +298,17 @@ const onLoad = () => {
}); });
}; };
onLoad(); onLoad();
const view = row => {
console.log(row, 'row');
row.row.retention = true;
$router.push({
path: '/distribution/deliverylist/distributionDeliveryListedt',
query: {
data: JSON.stringify(row.row),
name: row.row.deliveryId + '-查看配送',
},
});
};
// //
</script> </script>

Loading…
Cancel
Save