|
@@ -85,22 +85,23 @@
|
|
|
<span slot="orderDateTitle" class="form-table-heard">
|
|
|
日期
|
|
|
</span>
|
|
|
- <!-- 表头--明细 -->
|
|
|
- <span slot="detailedNumTitle" class="form-table-heard">
|
|
|
- 明细
|
|
|
- </span>
|
|
|
+
|
|
|
<!-- 表头--集装箱号 -->
|
|
|
<span slot="containerNoTitle" class="form-table-heard">
|
|
|
集装箱号
|
|
|
+ </span>
|
|
|
+ <!-- 表头--单价 -->
|
|
|
+ <span slot="priceTitle" class="form-table-heard">
|
|
|
+ 单价
|
|
|
+ </span>
|
|
|
+ <!-- 表头--计划员 -->
|
|
|
+ <span slot="jhyByDataTitle" class="form-table-heard">
|
|
|
+ 计划员
|
|
|
</span>
|
|
|
<!-- 表头--总价 -->
|
|
|
<span slot="totalPriceTitle" class="form-table-heard">
|
|
|
总价
|
|
|
</span>
|
|
|
- <!-- 表头--原因 -->
|
|
|
- <span slot="reasonTitle" class="form-table-heard">
|
|
|
- 原因
|
|
|
- </span>
|
|
|
<!-- 日期 -->
|
|
|
<span slot="orderDate" slot-scope="text, record,index">
|
|
|
<a-date-picker
|
|
@@ -138,7 +139,7 @@
|
|
|
</span>
|
|
|
<!-- 总价 -->
|
|
|
<span slot="totalPrice" slot-scope="text, record, index">
|
|
|
- <a-input placeholder="请输入" v-model="record.totalPrice" />
|
|
|
+ <a-input placeholder="请输入" v-model="record.totalPrice" readonly/>
|
|
|
</span>
|
|
|
<!-- 计划员 -->
|
|
|
<span slot="jhyByData" slot-scope="text, record, index">
|
|
@@ -266,13 +267,13 @@
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- // title: '明细',
|
|
|
+ title: '明细',
|
|
|
dataIndex: 'detailedNum',
|
|
|
- width: '7%',
|
|
|
+ width: '6%',
|
|
|
ellipsis: true,
|
|
|
scopedSlots: { customRender: 'detailedNum' },
|
|
|
className: 'replacecolor',
|
|
|
- slots:{title:'detailedNumTitle'}
|
|
|
+ // slots:{title:'detailedNumTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '衣架/吨数',
|
|
@@ -285,7 +286,7 @@
|
|
|
{
|
|
|
// title: '集装箱号',
|
|
|
dataIndex: 'containerNo',
|
|
|
- width: '7%',
|
|
|
+ width: '9%',
|
|
|
ellipsis: true,
|
|
|
scopedSlots: { customRender: 'containerNo' },
|
|
|
className: 'replacecolor',
|
|
@@ -301,13 +302,13 @@
|
|
|
// slots:{title:'invoiceNoTitle'}
|
|
|
// },
|
|
|
{
|
|
|
- title: '单价',
|
|
|
+ // title: '单价',
|
|
|
dataIndex: 'price',
|
|
|
width: '6%',
|
|
|
ellipsis: true,
|
|
|
scopedSlots: { customRender: 'price' },
|
|
|
className: 'replacecolor',
|
|
|
- // slots:{title:'priceTitle'}
|
|
|
+ slots:{title:'priceTitle'}
|
|
|
},
|
|
|
{
|
|
|
// title: '总价',
|
|
@@ -319,29 +320,29 @@
|
|
|
slots:{title:'totalPriceTitle'}
|
|
|
},
|
|
|
{
|
|
|
- title: '计划员',
|
|
|
+ // title: '计划员',
|
|
|
dataIndex: 'jhyByData',
|
|
|
width: '8%',
|
|
|
ellipsis: true,
|
|
|
scopedSlots: { customRender: 'jhyByData' },
|
|
|
className: 'replacecolor',
|
|
|
- // slots:{title:'jhyByDataTitle'}
|
|
|
+ slots:{title:'jhyByDataTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '签名',
|
|
|
dataIndex: 'jhyName',
|
|
|
- width: '7%',
|
|
|
+ width: '6%',
|
|
|
ellipsis: true,
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
{
|
|
|
- // title: '原因',
|
|
|
+ title: '原因',
|
|
|
dataIndex: 'reason',
|
|
|
width: '9%',
|
|
|
ellipsis: true,
|
|
|
scopedSlots: { customRender: 'reason' },
|
|
|
className: 'replacecolor',
|
|
|
- slots:{title:'reasonTitle'}
|
|
|
+ // slots:{title:'reasonTitle'}
|
|
|
},
|
|
|
{
|
|
|
title: '备注',
|
|
@@ -560,10 +561,10 @@
|
|
|
var tableRow = data[i];
|
|
|
var required = [
|
|
|
{key:'orderDate',value:'日期'},
|
|
|
- {key:'detailedNum',value:'明细'},
|
|
|
+ {key:'price',value:'单价'},
|
|
|
{key:'containerNo',value:'集装箱号'},
|
|
|
{key:'totalPrice',value:'总价'},
|
|
|
- {key:'reason',value:'原因'},
|
|
|
+ {key:'jhyByData',value:'计划员'},
|
|
|
]
|
|
|
for(var j=0 ; j<required.length;j++){
|
|
|
if(tableRow[required[j].key] == null || tableRow[required[j].key] == "" || tableRow[required[j].key] == undefined){
|