|
@@ -24,7 +24,6 @@
|
|
|
:model="form"
|
|
:model="form"
|
|
|
:rules="rules"
|
|
:rules="rules"
|
|
|
class="el-form-box"
|
|
class="el-form-box"
|
|
|
- label-width="160px"
|
|
|
|
|
>
|
|
>
|
|
|
<!-- <headerTitle title="基本信息"></headerTitle> -->
|
|
<!-- <headerTitle title="基本信息"></headerTitle> -->
|
|
|
<!-- <el-row :gutter="20">
|
|
<!-- <el-row :gutter="20">
|
|
@@ -141,8 +140,7 @@
|
|
|
<el-form-item :prop="'datasource.' + scope.$index + '.batchStockId'">
|
|
<el-form-item :prop="'datasource.' + scope.$index + '.batchStockId'">
|
|
|
<!-- <el-input v-model="scope.row.batchNo" v-no-chinese></el-input> -->
|
|
<!-- <el-input v-model="scope.row.batchNo" v-no-chinese></el-input> -->
|
|
|
<el-select
|
|
<el-select
|
|
|
- v-model="scope.row.batchStockId"
|
|
|
|
|
- clearable
|
|
|
|
|
|
|
+ v-model="scope.row.batchStockId"
|
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|
|
|
@change="batchNoChange(scope.$index, scope.row)"
|
|
@change="batchNoChange(scope.$index, scope.row)"
|
|
|
>
|
|
>
|
|
@@ -863,8 +861,11 @@
|
|
|
}
|
|
}
|
|
|
suspendProductBatchNoChange({
|
|
suspendProductBatchNoChange({
|
|
|
id: row.id,
|
|
id: row.id,
|
|
|
- batchNo:row.batchNo,
|
|
|
|
|
|
|
+ batchNo: row.batchNo,
|
|
|
orderId:this.currentItem.id,
|
|
orderId:this.currentItem.id,
|
|
|
|
|
+ batchStockId: row.batchStockId,
|
|
|
|
|
+ warehouseId: row.warehouseId,
|
|
|
|
|
+ warehouseName: row.warehouseName,
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
console.log('res~~~~', res);
|
|
console.log('res~~~~', res);
|
|
|
this.$set(this.form.datasource[index], 'isSuspend', 0);
|
|
this.$set(this.form.datasource[index], 'isSuspend', 0);
|
|
@@ -1450,6 +1451,6 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
::v-deep .el-form-item__content {
|
|
::v-deep .el-form-item__content {
|
|
|
- margin-left: 0!important;
|
|
|
|
|
|
|
+ margin-left: 0;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|