Browse Source

添加备货字段

fix_bug_pro20231227
caoyizhong 2 years ago
parent
commit
ae30df205f
  1. 3
      src/option/distribution/distributionStockup.js
  2. 2
      src/option/distribution/distrilbutionBillLading.js
  3. 18
      src/views/distribution/inventory/distrilbutionBillLading.vue
  4. 14
      src/views/distribution/stockup/distributionStockupDetails.vue
  5. 10
      src/views/distribution/stockup/distributionStockupDiscuss.vue
  6. 11
      src/views/distribution/stockup/distributionStockupMarket.vue

3
src/option/distribution/distributionStockup.js

@ -302,7 +302,8 @@ export default {
},
{
label: "包条码",
prop: "packetBarCode",
prop: "orderPackageCode",
search: true,
},
{
label: "一级品",

2
src/option/distribution/distrilbutionBillLading.js

@ -759,7 +759,7 @@ export default {
},
{
label: "包条码",
prop: "packetBarCode",
prop: "orderPackageCode",
},
{
label: "一级品",

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

@ -1366,12 +1366,12 @@ export default {
console.log(file);
},
textbox(e,index) {
let a = this.costListName.findIndex(i => i== index+1);
console.log("aaaa",a);
let nu = index+1 ;
let a = this.costListName[index];
// console.log("<><><><>",e,nu);
// console.log("aaaa",a);
this.costList[nu] = e;
if(!!a){
// console.log("e,index",e,index);
this.costList[index+1] = e;
//
let n = 0;
this.costList.forEach( i =>{
@ -1383,15 +1383,12 @@ export default {
},
handleCheckedCitiesChange(value) {
console.log(">>>>>>>",value );
// console.log(">>>>>>>",value );
if(value.length < 1){
this.costList = [];
this.costListName = [];
}
// console.log("",this.clientType);
// console.log("",this.costListName);
// console.log("",this.costList);
this.clientType.forEach(i =>{
if(value.includes(i.dictKey)){
console.log(i);
@ -1400,6 +1397,9 @@ export default {
}
});
// console.log("",this.clientType);
console.log("选择的",this.costListName);
console.log("价格",this.costList);
let n = 0;
value.forEach(s =>{
let a = this.costList[s];

14
src/views/distribution/stockup/distributionStockupDetails.vue

@ -419,8 +419,10 @@ export default {
getDictionaryBiz('distribution_type').then(res => { //
this.distributionType = res.data.data;
});
// console.log("123", this.deliveryWayList);
getDictionaryBiz('delivery_way').then(res => { //
this.deliveryWayList = res.data.data;
console.log("配送方式123", this.deliveryWayList);
});
getDictionaryBiz('stockup_status').then(res => { //
this.stockupStatusList = res.data.data;
@ -635,7 +637,7 @@ export default {
this.loading = true;
this.query.id = this.$route.query.id;
getDetailStockupOwn(this.$route.query.id).then(res => {
// console.log("",res.data.data);
console.log("返回的值",res.data.data);
const data = res.data.data;
this.data[0] = data;
const { serveType, deliveryWay, deliveryType } = this.data[0];
@ -678,7 +680,7 @@ export default {
//
async getStockUpParcelsList(page){
let a = await getParcelListOwn(page.currentPage,page.pageSize,{id :this.$route.query.id});
// console.log("...",a.data);
console.log("包件...",a.data);
const data = a.data.data;
this.data1 = data.records;
this.data1.forEach(i =>{
@ -726,11 +728,11 @@ export default {
//
getOwnServer(row,name,list){
// console.log(">>>>>",row,name,list);
console.log(">>>>>",row);
console.log(">>>>>",name);
console.log(">>>>>",list);
// console.log(">>>>>",row);
// console.log(">>>>>",name);
// console.log(">>>>>",list);
row.forEach( i =>{
console.log(i,"-=-=-=-");
// console.log(i,"-=-=-=-");
let a = list.find( s => s.dictKey == i);
// console.log("aaaa",a);
if(!!a){

10
src/views/distribution/stockup/distributionStockupDiscuss.vue

@ -270,6 +270,16 @@ export default {
fixed: true,
},
{
prop: 'stockupCode',
label: '备货编码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: true,
sortable: true,
head: false,
}, {
prop: 'stockupDate',
label: '备货时间',
type: 4,

11
src/views/distribution/stockup/distributionStockupMarket.vue

@ -251,6 +251,17 @@ export default {
checkarr: [],
fixed: true,
},
{
prop: 'stockupCode',
label: '备货编码',
type: 2,
values: '',
width: '150',
checkarr: [],
fixed: true,
sortable: true,
head: false,
},
{
prop: 'stockupDate',
label: '备货时间',

Loading…
Cancel
Save