|
|
@@ -36,6 +36,38 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
+ <el-table ref="multipleTable" :data="form.timeList" tooltip-effect="dark" style="width: 100%" stripe
|
|
|
+ :header-cell-style="{ background: '#EEEEEE', border: 'none' }">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <el-table-column align="center" label="数量" prop="purchaseQuantity">
|
|
|
+ <template slot-scope="{ row, $index }">
|
|
|
+ <el-form-item :prop="'timeList.' + $index + '.purchaseQuantity'"
|
|
|
+ >
|
|
|
+ <el-input placeholder="请输入" clearable v-model="row.purchaseQuantity"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <el-table-column align="center" label="到货时间">
|
|
|
+ <template slot-scope="{ row, $index }">
|
|
|
+ <el-form-item :prop="'timeList.' + $index + '.requireDeliveryTime'"
|
|
|
+ >
|
|
|
+ <el-date-picker clearable v-model="row.requireDeliveryTime" value-format="timestamp"
|
|
|
+ placeholder="请选择日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </template></el-table-column>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </el-table>
|
|
|
+
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
@@ -93,10 +125,11 @@ export default {
|
|
|
|
|
|
|
|
|
handleMethod() {
|
|
|
- this.$refs.timeDialogRef.open(this.rowObj)
|
|
|
+ this.$refs.timeDialogRef.open(this.rowObj, 'release', this.form.timeList )
|
|
|
},
|
|
|
|
|
|
chooseTime(timeList) {
|
|
|
+
|
|
|
if (timeList.length > 0) {
|
|
|
this.form.timeList = timeList
|
|
|
this.form.deliveryMethod = 2
|
|
|
@@ -104,6 +137,7 @@ export default {
|
|
|
this.form.timeList = []
|
|
|
this.form.deliveryMethod = 1
|
|
|
}
|
|
|
+ this.$forceUpdate()
|
|
|
|
|
|
},
|
|
|
|