|
|
@@ -23,6 +23,12 @@
|
|
|
<el-input v-if="data.status === '新建'" v-model="scope.column.data.remarks" :placeholder="$t(`输入订单备注`)" size="mini" @change="rowChange(scope.column.data,scope.$index)"></el-input>
|
|
|
<p v-else>{{scope.column.data.remarks}}</p>
|
|
|
</div>
|
|
|
+ <div v-else-if="scope.column.columnname === 'undeliqty'">
|
|
|
+ {{tool.qtyShow(scope.column.data[scope.column.columnname])}}
|
|
|
+ </div>
|
|
|
+ <div v-else-if="scope.column.columnname === 'logisticsqty'">
|
|
|
+ {{tool.qtyShow(scope.column.data[scope.column.columnname])}}
|
|
|
+ </div>
|
|
|
<div v-else-if="scope.column.columnname === 'nominalpressure'">
|
|
|
{{tool.nominalPressureSet(scope.column.data.nominalpressure)}}
|
|
|
</div>
|
|
|
@@ -32,110 +38,7 @@
|
|
|
<el-button type="text" size="mini" @click="deleteOrderProduct(scope.data)" :disabled="data.status !== '新建'">{{$t(`删 除`)}}</el-button>
|
|
|
</template>
|
|
|
</Table>
|
|
|
- <!-- <el-table
|
|
|
- ref="multipleTable"
|
|
|
- :data="tableData"
|
|
|
- height="500px"
|
|
|
- style="width: 100%;"
|
|
|
- size="small"
|
|
|
- stripe
|
|
|
- border>
|
|
|
- <el-table-column
|
|
|
- prop="rowno"
|
|
|
- width="100px"
|
|
|
- label="发货单行号"
|
|
|
- fixed>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="orderRowno"
|
|
|
- width="100px"
|
|
|
- label="订单行号"
|
|
|
- fixed>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="itemname"
|
|
|
- label="产品名称"
|
|
|
- fixed>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="itemno"
|
|
|
- fixed
|
|
|
- label="产品编码">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="erpitemno"
|
|
|
- label="品号"
|
|
|
- fixed>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="model"
|
|
|
- label="型号"
|
|
|
- fixed>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="spec"
|
|
|
- label="规格">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="unitname"
|
|
|
- label="单位">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="price"
|
|
|
- label="单价">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{tool.formatAmount(scope.row.price,2)}}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="qty"
|
|
|
- label="数量"
|
|
|
- width="180">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input-number :controls="true" controls-position='right' :step-strictly="true" v-if="data.STATUS === '新建'" size="mini" v-model="scope.row.qty" :min="1" :max="scope.row.undeliqty" label="输入数量" @change="rowChange(scope.row,scope.$index)"></el-input-number>
|
|
|
- <span v-else>{{scope.row.qty}}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="amount"
|
|
|
- label="发货金额">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="undeliqty"
|
|
|
- label="未发货数量"
|
|
|
- width="100px">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="备注"
|
|
|
- width="300"
|
|
|
- prop="remarks">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-if="data.STATUS === '新建'" v-model="scope.row.remarks" placeholder="输入订单备注" size="mini" @change="rowChange(scope.row,scope.$index)"></el-input>
|
|
|
- <p v-else>{{scope.row.remarks}}</p>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="suminqty"
|
|
|
- width="120px"
|
|
|
- label="erp即时库存">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column :label="$t(`操作`)" width="90" fixed="right">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" size="mini" @click="deleteOrderProduct(scope.row)">{{$t(`删 除`)}}</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table> -->
|
|
|
<div style="margin-top:16px;text-align:right">
|
|
|
-<!-- <el-pagination
|
|
|
- background
|
|
|
- small
|
|
|
- @size-change="handleSizeChange"
|
|
|
- @current-change="handleCurrentChange"
|
|
|
- :current-page="param.content.pageNumber"
|
|
|
- :page-size="param.content.pageSize"
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
- :total="total">
|
|
|
- </el-pagination>-->
|
|
|
<el-pagination
|
|
|
background
|
|
|
@size-change="handleSizeChange"
|