|
@@ -396,6 +396,7 @@ export default {
|
|
|
// 采购订单 表头
|
|
|
purchaseOrderColumns: [
|
|
|
{ title: '货物名称', width: 180, dataIndex: 'cinvName', className: 'replacecolor', align:'left'},
|
|
|
+ /*
|
|
|
{ title: '批号', width: 80, dataIndex: 'cbatch', className: 'replacecolor',
|
|
|
customRender:function(text,record,index){
|
|
|
if (text == null || text == undefined){
|
|
@@ -414,6 +415,25 @@ export default {
|
|
|
return text;
|
|
|
}
|
|
|
}
|
|
|
+ },*/
|
|
|
+ { title: '订单号', width: 80, dataIndex: 'cpoid', className: 'replacecolor',
|
|
|
+ customRender:function(text,record,index){
|
|
|
+ if (text == null || text == undefined){
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+ if (text.indexOf(",")>-1){
|
|
|
+ const arr = text.split(',');
|
|
|
+ return (<div>
|
|
|
+ {
|
|
|
+ arr.map(t=>{
|
|
|
+ return (<li>{t}</li>)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ </div>)
|
|
|
+ }else{
|
|
|
+ return text;
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{ title: '计划数量', dataIndex: 'iquantity', width: 80, className: 'replacecolor' },
|
|
|
{
|
|
@@ -608,8 +628,13 @@ export default {
|
|
|
{ title: '账套号', width: 120, dataIndex: 'caccount', className: 'replacecolor' },
|
|
|
{ title: '支出单号', width: 120, dataIndex: 'cspvcode', className: 'replacecolor' },
|
|
|
{ title: '费用项目', dataIndex: 'cexpName', width: 120, className: 'replacecolor' },
|
|
|
- { title: ' 支出本币金额', dataIndex: 'inatMoney', width: 120, className: 'replacecolor' },
|
|
|
- { title: '支出原币金额', dataIndex: 'imoney', width: 120, className: 'replacecolor' },
|
|
|
+ { title: '支出人民币金额', dataIndex: 'inatMoney', width: 120, className: 'replacecolor' },
|
|
|
+ { title: '支出美元金额', dataIndex: 'imoney', width: 120, className: 'replacecolor',customRender: (text, record, index) => {
|
|
|
+ if (record.imoney == record.inatMoney)
|
|
|
+ return "";
|
|
|
+ else
|
|
|
+ return record.imoney;
|
|
|
+ } },
|
|
|
{ title: '发票号', dataIndex: 'cinvoinceNo', width: 120, className: 'replacecolor' },
|
|
|
{ title: '制单人', dataIndex: 'cmaker', width: 120, className: 'replacecolor' }
|
|
|
],
|
|
@@ -680,12 +705,18 @@ export default {
|
|
|
|
|
|
if (record.cinvName == '来源余纱') {
|
|
|
this.$refs.surplusYarnModal.surplusYarnData = record.fabricPoOrderOutList;
|
|
|
+ this.$refs.surplusYarnModal.allDataList = record.fabricPoOrderOutList;
|
|
|
+ this.$refs.surplusYarnModal.queryParam = {};
|
|
|
this.$refs.surplusYarnModal.surplusYarnModVis = true
|
|
|
}else if (record.cinvName == '其他入库的纱') {
|
|
|
this.$refs.otherYarnsInModal.otherYarnsInData = record.fabricPoOrderOutList;
|
|
|
+ this.$refs.otherYarnsInModal.allDataList = record.fabricPoOrderOutList;
|
|
|
+ this.$refs.otherYarnsInModal.queryParam = {};
|
|
|
this.$refs.otherYarnsInModal.otherYarnsInModVis = true
|
|
|
} else {
|
|
|
this.$refs.purchaseAmountModal.purchaseAmountData = record.fabricPoOrderInList;
|
|
|
+ this.$refs.purchaseAmountModal.allDataList = record.fabricPoOrderInList;
|
|
|
+ this.$refs.purchaseAmountModal.queryParam = {};
|
|
|
this.$refs.purchaseAmountModal.purchaseAmountModVis = true
|
|
|
}
|
|
|
}
|
|
@@ -699,6 +730,8 @@ export default {
|
|
|
on: {
|
|
|
click: event => {
|
|
|
this.$refs.surplusYarnModal.surplusYarnData = record.fabricPoOrderOutList;
|
|
|
+ this.$refs.surplusYarnModal.allDataList = record.fabricPoOrderOutList;
|
|
|
+ this.$refs.surplusYarnModal.queryParam = {};
|
|
|
this.$refs.surplusYarnModal.surplusYarnModVis = true
|
|
|
}
|
|
|
}
|
|
@@ -711,6 +744,8 @@ export default {
|
|
|
on: {
|
|
|
click: event => {
|
|
|
this.$refs.materialsOutQuantityModal.materialsOutQuantityData = record.fabricMoOrderCKList;
|
|
|
+ this.$refs.materialsOutQuantityModal.allDataList = record.fabricMoOrderCKList;
|
|
|
+ this.$refs.materialsOutQuantityModal.queryParam = {};
|
|
|
this.$refs.materialsOutQuantityModal.materialsOutQuantityModVis = true
|
|
|
}
|
|
|
}
|
|
@@ -723,6 +758,8 @@ export default {
|
|
|
on: {
|
|
|
click: event => {
|
|
|
this.$refs.purchaseInQuantityModal.purchaseInQuantityData = record.fabricMoOrderRKList;
|
|
|
+ this.$refs.purchaseInQuantityModal.allDataList = record.fabricMoOrderRKList;
|
|
|
+ this.$refs.purchaseInQuantityModal.queryParam = {};
|
|
|
this.$refs.purchaseInQuantityModal.purchaseInQuantityModVis = true
|
|
|
}
|
|
|
}
|
|
@@ -736,6 +773,8 @@ export default {
|
|
|
on: {
|
|
|
click: event => {
|
|
|
this.$refs.invoiceNumModal.invoiceNumData = record.fabricCostClothDetailList;
|
|
|
+ this.$refs.invoiceNumModal.allDataList = record.fabricCostClothDetailList;
|
|
|
+ this.$refs.invoiceNumModal.queryParam = {};
|
|
|
this.$refs.invoiceNumModal.invoiceNumModVis = true;
|
|
|
}
|
|
|
}
|
|
@@ -790,6 +829,7 @@ export default {
|
|
|
on: {
|
|
|
click: event => {
|
|
|
this.$refs.invoiceQuantityModal.invoiceQuantityData = record.fabricCostClothesDetailList;
|
|
|
+ this.$refs.invoiceQuantityModal.allDataList = record.fabricCostClothesDetailList;
|
|
|
this.$refs.invoiceQuantityModal.invoiceQuantityModVis = true;
|
|
|
}
|
|
|
}
|
|
@@ -802,6 +842,8 @@ export default {
|
|
|
on: {
|
|
|
click: event => {
|
|
|
this.$refs.invoiceQuantityModal.invoiceQuantityData = record.fabricCostAssistDetailList;
|
|
|
+ this.$refs.invoiceQuantityModal.allDataList = record.fabricCostAssistDetailList;
|
|
|
+ this.$refs.invoiceQuantityModal.queryParam = {};
|
|
|
this.$refs.invoiceQuantityModal.invoiceQuantityModVis = true
|
|
|
}
|
|
|
}
|