cosmoim-852 fix 泰国成品出库表格增加序号列

master
guoshuang 3 years ago
parent 50821e65e8
commit aed2664a89

@ -1,8 +1,22 @@
/*
* @Author: zhou lei
* @Date: 2022-09-28 10:26:36
* @LastEditTime: 2022-11-01 20:02:04
* @LastEditors: zhou lei
* @Description:
* @FilePath: \hgwms-factory-app\src\pages\product\outbound\SpareDeliverGoods\config.ts
* :910592680@qq.com 18669792120
*/
/**
*
*/
import vm from '@/main';
export const headers = [
{
label: vm.$t(''),
key: 'index',
width: 100,
},
{
label: vm.$t('message.dn_OddNumbers'),
key: 'order1',

@ -1,3 +1,12 @@
<!--
* @Author: zhou lei
* @Date: 2022-09-28 10:26:36
* @LastEditTime: 2022-11-01 20:01:34
* @LastEditors: zhou lei
* @Description:
* @FilePath: \hgwms-factory-app\src\pages\product\outbound\SpareDeliverGoods\detail.vue
* 联系方式:910592680@qq.com 18669792120 科海达信息技术有限公司
-->
<template>
<view class="page-receipt-detail">
<view class="header">

@ -66,6 +66,9 @@ export class ReturnModule extends VuexModule {
loginName: session.loginName,
order1,
});
res.data.map((item, index) => {
item.index = index + 1;
});
const detailList = res.data;
return { detailList };
}

@ -295,6 +295,7 @@ export default class stoOutboundDom extends BasePage {
return;
}
let order3: any = '';
console.log('??????????', this.model.materielList);
this.model.materielList.forEach((item: any) => {
if (this.form.rowItem == item.materialCode) {
order3 = item.nxOutCode;
@ -358,6 +359,7 @@ export default class stoOutboundDom extends BasePage {
this.query();
} else if (res.cancel) {
this.form.barCode = '';
this.query();
}
},
});

@ -1,8 +1,22 @@
/*
* @Author: zhou lei
* @Date: 2022-09-28 10:26:36
* @LastEditTime: 2022-11-01 19:58:24
* @LastEditors: zhou lei
* @Description:
* @FilePath: \hgwms-factory-app\src\pages\product\outbound\stoOutbound\config.ts
* :910592680@qq.com 18669792120
*/
/**
*
*/
import vm from '@/main';
export const headers = [
{
label: vm.$t(''),
key: 'index',
width: 100,
},
{
label: vm.$t('message.product_barCode'),
key: 'barcode',

@ -196,6 +196,9 @@ export class ReturningModule extends VuexModule {
});
console.log('res数据', data, code);
const detailmaterielList = data;
detailmaterielList.map((item, index) => {
item.index = index + 1;
});
console.log('>>>>>>>', detailmaterielList);
return { code, detailmaterielList };
}

Loading…
Cancel
Save