|
@@ -464,14 +464,14 @@ export default {
|
|
|
// fixed: 'left',
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
- {
|
|
|
- title: '集装箱代号',
|
|
|
- dataIndex: 'containerCode',
|
|
|
- scopedSlots: { customRender: 'containerCode' },
|
|
|
- width: 120,
|
|
|
- ellipsis: true,
|
|
|
- className: 'replacecolor'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '集装箱代号',
|
|
|
+ // dataIndex: 'containerCode',
|
|
|
+ // scopedSlots: { customRender: 'containerCode' },
|
|
|
+ // width: 120,
|
|
|
+ // ellipsis: true,
|
|
|
+ // className: 'replacecolor'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '单价',
|
|
|
dataIndex: 'price',
|
|
@@ -771,16 +771,15 @@ export default {
|
|
|
newObj.syShippingOrderItemList = this.addBookData
|
|
|
for(var i =0;i<newObj.syShippingOrderItemList.length;i++){
|
|
|
var row = newObj.syShippingOrderItemList[i]
|
|
|
- if(row.containerCode === '' || !row.containerCode){
|
|
|
- this.$message.error('第'+(i+1)+'行集装箱代号未填,无法保存!');
|
|
|
- return
|
|
|
- }
|
|
|
+ // if(row.containerCode === '' || !row.containerCode){
|
|
|
+ // this.$message.error('第'+(i+1)+'行集装箱代号未填,无法保存!');
|
|
|
+ // return
|
|
|
+ // }
|
|
|
if(row.containerNumber === '' || !row.containerNumber){
|
|
|
this.$message.error('第'+(i+1)+'行集装箱号未填,无法保存!');
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- debugger
|
|
|
if(this.defaultMethod === 'add'){
|
|
|
addPackingList(newObj).then(res => {
|
|
|
if (res.success) {
|