|
@@ -91,25 +91,60 @@
|
|
|
<template slot-scope="scope" slot="station">
|
|
|
<port-info
|
|
|
v-model="goodsForm.station"
|
|
|
- :disabled="goodsForm.status === 2"
|
|
|
+ :disabled="goodsForm.status >= 1"
|
|
|
/>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="agentId">
|
|
|
<crop-select
|
|
|
- :disabled="goodsForm.status === 2"
|
|
|
+ :disabled="goodsForm.status >= 1"
|
|
|
v-model="goodsForm.agentId"
|
|
|
></crop-select>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="polId">
|
|
|
<port-info
|
|
|
v-model="goodsForm.polId"
|
|
|
- :disabled="goodsForm.status === 2"
|
|
|
+ :disabled="goodsForm.status >= 1"
|
|
|
/>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="podId">
|
|
|
<port-info
|
|
|
+ v-model="goodsForm.podId"
|
|
|
+ :disabled="goodsForm.status >= 1"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </avue-form>
|
|
|
+ </basic-container>
|
|
|
+ <containerTitle title="其他信息"></containerTitle>
|
|
|
+ <basic-container :showBtn="true" ref="other">
|
|
|
+ <avue-form :option="goodsOptionFormTwo" v-model="goodsForm">
|
|
|
+ <template slot-scope="scope" slot="corpId">
|
|
|
+ <crop-select
|
|
|
+ v-model="goodsForm.corpId"
|
|
|
+ disabled
|
|
|
+ ></crop-select>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="scope" slot="station">
|
|
|
+ <port-info
|
|
|
+ v-model="goodsForm.station"
|
|
|
+ :disabled="goodsForm.status >= 1"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ <template slot-scope="scope" slot="agentId">
|
|
|
+ <crop-select
|
|
|
+ :disabled="goodsForm.status >= 1"
|
|
|
+ v-model="goodsForm.agentId"
|
|
|
+ ></crop-select>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="scope" slot="polId">
|
|
|
+ <port-info
|
|
|
v-model="goodsForm.polId"
|
|
|
- :disabled="goodsForm.status === 2"
|
|
|
+ :disabled="goodsForm.status >= 1"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ <template slot-scope="scope" slot="podId">
|
|
|
+ <port-info
|
|
|
+ v-model="goodsForm.podId"
|
|
|
+ :disabled="goodsForm.status >= 1"
|
|
|
/>
|
|
|
</template>
|
|
|
</avue-form>
|
|
@@ -600,7 +635,6 @@ export default {
|
|
|
}, {
|
|
|
label: '件数',
|
|
|
width: 100,
|
|
|
- search: true,
|
|
|
overHidden: true,
|
|
|
controls: false,
|
|
|
cell: true,
|
|
@@ -610,7 +644,6 @@ export default {
|
|
|
}, {
|
|
|
label: '包装',
|
|
|
width: 100,
|
|
|
- search: true,
|
|
|
overHidden: true,
|
|
|
cell: true,
|
|
|
prop: 'packing',
|
|
@@ -623,7 +656,6 @@ export default {
|
|
|
}, {
|
|
|
label: '尺码',
|
|
|
width: 100,
|
|
|
- search: true,
|
|
|
overHidden: true,
|
|
|
cell: true,
|
|
|
prop: 'size',
|
|
@@ -762,11 +794,26 @@ export default {
|
|
|
formslot: true,
|
|
|
prop: 'corpId'
|
|
|
}, {
|
|
|
+ label: '提单号',
|
|
|
+ prop: 'billNo'
|
|
|
+ }, {
|
|
|
+ label: '到厂时间',
|
|
|
+ type: "datetime",
|
|
|
+ format: 'yyyy-MM-dd HH:mm:ss',
|
|
|
+ valueFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
|
+ prop: 'arrivalTime'
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ goodsOptionFormTwo: {
|
|
|
+ menuBtn: false,
|
|
|
+ disabled: true,
|
|
|
+ span: 8,
|
|
|
+ column: [{
|
|
|
label: '所属公司',
|
|
|
formslot: true,
|
|
|
prop: 'belongCompany',
|
|
|
rules: [{
|
|
|
- required: true,
|
|
|
+ required: false,
|
|
|
message: " ",
|
|
|
trigger: "blur"
|
|
|
}],
|
|
@@ -775,18 +822,9 @@ export default {
|
|
|
prop: 'orderNo',
|
|
|
disabled: true
|
|
|
}, {
|
|
|
- label: '提单号',
|
|
|
- prop: 'billNo'
|
|
|
- }, {
|
|
|
label: '场站',
|
|
|
prop: 'station'
|
|
|
}, {
|
|
|
- label: '到厂时间',
|
|
|
- type: "datetime",
|
|
|
- format: 'yyyy-MM-dd HH:mm:ss',
|
|
|
- valueFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
|
- prop: 'arrivalTime'
|
|
|
- }, {
|
|
|
label: '船名航次',
|
|
|
prop: 'factory'
|
|
|
}, {
|
|
@@ -1073,6 +1111,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
+ this.$refs.other.show = false
|
|
|
},
|
|
|
methods: {
|
|
|
//自定义列保存
|