|
|
@@ -51,7 +51,7 @@
|
|
|
<print-table-btn @click="printTable" />
|
|
|
</template>
|
|
|
|
|
|
- <template slot="zcbm" slot-scope="scope">
|
|
|
+ <template slot="assetId" slot-scope="scope">
|
|
|
<span>{{ scope.row.zcmc }}</span>
|
|
|
</template>
|
|
|
|
|
|
@@ -114,7 +114,7 @@ export default window.$crudCommon({
|
|
|
let newOption = { ...this.option };
|
|
|
// 姓名下拉框,设置监听事件
|
|
|
newOption.column.forEach(item => {
|
|
|
- if (item.prop == "zcbm") {
|
|
|
+ if (item.prop == "assetId") {
|
|
|
item.change = ({ item }) => {
|
|
|
if (!!item) {
|
|
|
this.currZcObj = item;
|
|
|
@@ -213,9 +213,9 @@ export default window.$crudCommon({
|
|
|
name: 'projectManage/zjfyycqdtfyCost',
|
|
|
res: ({ data }) => {
|
|
|
data.records = data.records.map(item => {
|
|
|
- item.zcmc = item.zcEntity.zcmc;
|
|
|
- item.zcbm = item.zcEntity.zcbm;
|
|
|
- item.yzje = (item.zcEntity.yzje || 0).toFixed(2);
|
|
|
+ // item.zcmc = item.zcmc;
|
|
|
+ // item.zcbm = item.zcbm;
|
|
|
+ item.yzje = (item.yzje || 0).toFixed(2);
|
|
|
item.cqdtfyysje = (item.cqdtfyysje || 0).toFixed(2);
|
|
|
|
|
|
let zzscD = new Decimal(item.zzsc || 0); // 工作时长
|