|
@@ -856,7 +856,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-document-delete"
|
|
|
@click.native.prevent="changeStowageRow(scope.row)"
|
|
|
- v-if=" schedulingList[0].transProp == '1' && scope.row.billStatus >= 6 "
|
|
|
+ v-if="scope.row.billStatus >= 6 "
|
|
|
:disabled="!scope.row.mBillNo"
|
|
|
v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
>撤销配载</el-button>
|
|
@@ -1736,6 +1736,16 @@ export default {
|
|
|
if (date == undefined) return ''
|
|
|
return moment(date).format("YYYY-MM-DD HH:mm:ss")
|
|
|
},
|
|
|
+ // changeStowageRow(row) {
|
|
|
+ // revokeStowage(row).then((response) => {
|
|
|
+ // if (response.code == 200) {
|
|
|
+ // this.msgSuccess("配载撤销成功");
|
|
|
+ // response.data.map((e, index) => {
|
|
|
+ // this.$set(this.vehicleList, index, e);
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
changeStowageRow(row) {
|
|
|
revokeStowage(row).then((response) => {
|
|
|
if (response.code == 200) {
|
|
@@ -2138,8 +2148,8 @@ export default {
|
|
|
// 查询可配载数据
|
|
|
selectStowage(row) {
|
|
|
this.formList = row
|
|
|
- this.formLabelAlign.mblno = row.mblno
|
|
|
- this.formLabelAlign.sourceId = row.id
|
|
|
+ this.$set(this.formLabelAlign,'mblno',row.mblno)
|
|
|
+ this.$set(this.formLabelAlign,'sourceId',row.id)
|
|
|
selectStowage(row).then((response) => {
|
|
|
this.stowageDialog = true;
|
|
|
if (response.rows) {
|