| ... | ... | @@ -224,10 +224,9 @@ | 
|  |  | </el-col> | 
|  |  | <el-col :span="8"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="transtype"> | 
|  |  | <!--                                    <el-input v-model="addForm.transtype" autocomplete="off" size="small" style="width: 300px">--> | 
|  |  | <!--                                        <template slot="prepend">交易类型</template>--> | 
|  |  | <!--                                    </el-input>--> | 
|  |  | <el-select v-model="addForm.transtype" placeholder="请选择交易类型"  autocomplete="off" size="small" style="width: 300px"> | 
|  |  | <div class="my-text-area"> | 
|  |  | <div class="el-input-group__prepend prepand">交易类型</div> | 
|  |  | <el-select v-model="addForm.transtype" placeholder="请选择交易类型"  autocomplete="off" size="small" style="width: 210px"> | 
|  |  | <el-option | 
|  |  | v-for="item in options1" | 
|  |  | :key="item.value" | 
| ... | ... | @@ -235,6 +234,7 @@ | 
|  |  | :value="item.value"> | 
|  |  | </el-option> | 
|  |  | </el-select> | 
|  |  | </div> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | </el-row> | 
| ... | ... | @@ -248,17 +248,17 @@ | 
|  |  | </el-col> | 
|  |  | <el-col :span="8"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="opttime"> | 
|  |  | <!--                                    <el-input v-model="addForm.opttime" autocomplete="off" size="small" style="width: 300px">--> | 
|  |  | <!--                                        <template slot="prepend">出入库时间</template>--> | 
|  |  | <!--                                    </el-input>--> | 
|  |  | <div class="my-text-area"> | 
|  |  | <div class="el-input-group__prepend prepand">交易类型</div> | 
|  |  | <el-date-picker | 
|  |  | v-model="addForm.opttime" | 
|  |  | type="datetime" size="mini" | 
|  |  | value-format="yyyy-MM-dd HH:mm:ss" | 
|  |  | format="yyyy-MM-dd HH:mm:ss" | 
|  |  | style="width:300px" | 
|  |  | style="width:210px" | 
|  |  | placeholder="选择出入库时间"> | 
|  |  | </el-date-picker> | 
|  |  | </div> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  |  | 
| ... | ... | @@ -272,34 +272,10 @@ | 
|  |  | </el-row> | 
|  |  | <el-row> | 
|  |  | <el-col :span="7"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="transcar"> | 
|  |  | <el-input v-model="addForm.transcar" autocomplete="off" size="small" style="width: 300px"> | 
|  |  | <template slot="prepend">运输车辆信息</template> | 
|  |  | </el-input> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | <el-col :span="8"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="opter"> | 
|  |  | <el-input v-model="addForm.opter" autocomplete="off" size="small" style="width: 300px"> | 
|  |  | <template slot="prepend">出入库经办人</template> | 
|  |  | </el-input> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | <el-col :span="8"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="customername"> | 
|  |  | <el-input v-model="addForm.customername" autocomplete="off" size="small" style="width: 300px"> | 
|  |  | <template slot="prepend">出入库客户名称</template> | 
|  |  | </el-input> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | </el-row> | 
|  |  | <el-row> | 
|  |  | <el-col :span="7"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="goodstype"> | 
|  |  | <!--                                    <el-input v-model="addForm.goodstype" autocomplete="off" size="small" style="width: 300px">--> | 
|  |  | <!--                                        <template slot="prepend">出入库货物类型</template>--> | 
|  |  | <!--                                    </el-input>--> | 
|  |  | <el-select v-model="addForm.goodstype" placeholder="请选择出入库货物类型"  autocomplete="off" size="small" style="width: 300px"> | 
|  |  | <div class="my-text-area"> | 
|  |  | <div class="el-input-group__prepend prepand">交易类型</div> | 
|  |  | <el-select v-model="addForm.goodstype" placeholder="请选择出入库货物类型"  autocomplete="off" size="small" style="width: 170px"> | 
|  |  | <el-option | 
|  |  | v-for="item in options" | 
|  |  | :key="item.value" | 
| ... | ... | @@ -307,27 +283,52 @@ | 
|  |  | :value="item.value"> | 
|  |  | </el-option> | 
|  |  | </el-select> | 
|  |  | </div> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | <el-col :span="8"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="ietype"> | 
|  |  | <el-select v-model="addForm.ietype" placeholder="出入库类型" size="mini" style="width: 300px"> | 
|  |  | <div class="my-text-area"> | 
|  |  | <div class="el-input-group__prepend prepand">出入库类型</div> | 
|  |  | <el-select v-model="addForm.ietype" placeholder="出入库类型" size="mini" style="width: 210px"> | 
|  |  | <el-option label="出入库类型-进" value="I"></el-option> | 
|  |  | <el-option label="出入库类型-出" value="E"></el-option> | 
|  |  | </el-select> | 
|  |  | </div> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | <el-col :span="8"> | 
|  |  | <!--                                <el-form-item label="" :label-width="formLabelWidth"  prop="status">--> | 
|  |  | <!--                                    <el-input v-model="addForm.status" autocomplete="off" size="small" style="width: 300px">--> | 
|  |  | <!--                                        <template slot="prepend">状  态</template>--> | 
|  |  | <!--                                    </el-input>--> | 
|  |  | <!--                                </el-form-item>--> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="status"> | 
|  |  | <el-select v-model="addForm.status" placeholder="请选择状态" size="mini" style="width: 300px"> | 
|  |  | <div class="my-text-area"> | 
|  |  | <div class="el-input-group__prepend prepand">状  态</div> | 
|  |  | <el-select v-model="addForm.status" placeholder="请选择状态" size="mini" style="width: 210px"> | 
|  |  | <el-option label="状态-失败" value="0"></el-option> | 
|  |  | <el-option label="状态-成功" value="1"></el-option> | 
|  |  | </el-select> | 
|  |  | </div> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | </el-row> | 
|  |  | <el-row> | 
|  |  | <el-col :span="7"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="transcar"> | 
|  |  | <el-input v-model="addForm.transcar" autocomplete="off" size="small" style="width: 300px"> | 
|  |  | <template slot="prepend">运输车辆信息</template> | 
|  |  | </el-input> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | <el-col :span="8"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="opter"> | 
|  |  | <el-input v-model="addForm.opter" autocomplete="off" size="small" style="width: 300px"> | 
|  |  | <template slot="prepend">出入库经办人</template> | 
|  |  | </el-input> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | <el-col :span="8"> | 
|  |  | <el-form-item label="" :label-width="formLabelWidth"  prop="customername"> | 
|  |  | <el-input v-model="addForm.customername" autocomplete="off" size="small" style="width: 300px"> | 
|  |  | <template slot="prepend">出入库客户名称</template> | 
|  |  | </el-input> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
|  |  | </el-row> | 
| ... | ... | @@ -351,6 +352,7 @@ | 
|  |  | <div slot="footer" class="dialog-footer"> | 
|  |  | <el-button @click="apply_dialog.addDialog = false" size="small">取 消</el-button> | 
|  |  | <el-button type="primary" @click="dialogApply==='create'?add():edit()" size="small">提 交</el-button> | 
|  |  | <el-button type="primary" @click="zancun()" size="small">暂存</el-button> | 
|  |  | </div> | 
|  |  | </el-dialog> | 
|  |  | </el-row> | 
| ... | ... | @@ -433,6 +435,7 @@ | 
|  |  | value: '销售入库', | 
|  |  | label: '交易类型-销售入库' | 
|  |  | }], | 
|  |  | zancundata:[], | 
|  |  | formLabelWidth: '80px', | 
|  |  | rules: { | 
|  |  | userName: [ | 
| ... | ... | @@ -456,6 +459,10 @@ | 
|  |  | } | 
|  |  | }, | 
|  |  | methods: { | 
|  |  | zancun(){ | 
|  |  | this.zancundata.push(this.addForm); | 
|  |  | console.log(this.zancundata) | 
|  |  | }, | 
|  |  | handleSizeChange(val) { | 
|  |  | this.queryInfo.pageSize = val | 
|  |  | this.getList() | 
| ... | ... | @@ -607,5 +614,20 @@ | 
|  |  | padding: 15px 0 0 20px; | 
|  |  | box-shadow: 0px 5px 5px #e5e8eb; | 
|  |  | } | 
|  |  | .my-text-area .prepand{ | 
|  |  | float: left; | 
|  |  | width:89px; | 
|  |  | height: 28px; | 
|  |  | font-size: 12px; | 
|  |  | line-height: 28px; | 
|  |  | } | 
|  |  | </style> | 
|  |  | <style> | 
|  |  | .my-text-area .el-textarea__inner{ | 
|  |  | min-height: 28px; | 
|  |  | height: 28px; | 
|  |  | border-bottom-left-radius: 0; | 
|  |  | border-top-left-radius: 0; | 
|  |  | } | 
|  |  | </style> | 
|  |  |  | 
... | ... |  |